Module layout_2013::generated_content
source ยท Expand description
The generated content assignment phase.
This phase handles CSS counters, quotes, and ordered lists per CSS ยง 12.3-12.5. It cannot be done in parallel and is therefore a sequential pass that runs on as little of the flow tree as possible.
Structsยง
- Counter ๐A counter per CSS 2.1 ยง 12.4.
- CounterValue ๐The value of a counter at a given level.
- The generated content resolution traversal.
- The object that mutates the generated content fragments.
Enumsยง
- RenderingMode ๐How a counter value is to be rendered.
Staticsยง
- ARABIC_INDIC ๐
- BENGALI ๐
- CAMBODIAN ๐
- CJK_DECIMAL ๐
- CJK_EARTHLY_BRANCH ๐
- CJK_HEAVENLY_STEM ๐
- DECIMAL ๐
- DEVANAGARI ๐
- GUJARATI ๐
- GURMUKHI ๐
- HIRAGANA ๐
- HIRAGANA_IROHA ๐
- INITIAL_QUOTES ๐
- KANNADA ๐
- KATAKANA ๐
- KATAKANA_IROHA ๐
- LAO ๐
- LOWER_ALPHA ๐
- LOWER_GREEK ๐
- MALAYALAM ๐
- MONGOLIAN ๐
- MYANMAR ๐
- ORIYA ๐
- PERSIAN ๐
- TELUGU ๐
- THAI ๐
- TIBETAN ๐
- UPPER_ALPHA ๐
Functionsยง
- If the system uses a negative sign, handle negative values per CSS-COUNTER-STYLES ยง 2.
- Pushes the string that represents the value rendered using the given alphabetic system onto the accumulator per CSS-COUNTER-STYLES ยง 3.1.4.
- Pushes the string that represents the value rendered using the given numeric system onto the accumulator per CSS-COUNTER-STYLES ยง 3.1.5.
- push_representation ๐Appends string that represents the value rendered using the system appropriate for the given
list-style-type
onto the given string. - render_text ๐Creates fragment info for a literal string.
- Returns the static character that represents the value rendered using the given list-style, if possible.