Revision 179497 of Mozilla Style System

  • Revision slug: Mozilla_Style_System
  • Revision title: Mozilla Style System
  • Revision id: 179497
  • Created:
  • Creator: DBaron
  • Is current revision? No
  • Comment structure for documentation of style system

Revision Content

The Style System is the module of Mozilla's code responsible for the loading and parsing of CSS style sheets, and the computation of computed values for all CSS properties. The handling of those computed values is the responsibility of other parts of the code.


Architecture

Computed style (front end)

Style structs

Rule tree

Style data computation

CSS style sheet backend

Loading

Parsing

Data structures

Cascading

HTML Mapped Attribute backend

CSS style attribute backend

Handling of dynamic changes

Revision Source

<p>The Style System is the module of Mozilla's code responsible for the loading and parsing of <a href="en/CSS">CSS</a> style sheets, and the computation of <a href="en/CSS/computed_value">computed values</a> for all CSS properties.  The handling of those computed values is the responsibility of other parts of the code.
</p><p><br>
</p>
<h3 name="Architecture"> Architecture </h3>
<h3 name="Computed_style_.28front_end.29"> Computed style (front end) </h3>
<h4 name="Style_structs"> Style structs </h4>
<h4 name="Rule_tree"> Rule tree </h4>
<h4 name="Style_data_computation"> Style data computation </h4>
<h3 name="CSS_style_sheet_backend"> CSS style sheet backend </h3>
<h4 name="Loading"> Loading </h4>
<h4 name="Parsing"> Parsing </h4>
<h4 name="Data_structures"> Data structures </h4>
<h4 name="Cascading"> Cascading </h4>
<h3 name="HTML_Mapped_Attribute_backend"> HTML Mapped Attribute backend </h3>
<h3 name="CSS_style_attribute_backend"> CSS style attribute backend </h3>
<h3 name="Handling_of_dynamic_changes"> Handling of dynamic changes </h3>
Revert to this revision