Class StyleTracker


  • public class StyleTracker
    extends java.lang.Object
    A managed list of CalculatedStyle objects. It is used when keeping track of the styles which apply to a :first-line or :first-letter pseudo element.

    IMPORTANT: Immutable after constructor.
    • Field Detail

      • EMPTY_INSTANCE

        private static final StyleTracker EMPTY_INSTANCE
    • Constructor Detail

      • StyleTracker

        public StyleTracker​(int size)