mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 18:50:08 +00:00
![dbaron%dbaron.org](/assets/img/avatar_default.png)
Use the property list in the tables for nsRuleNode::CheckSpecifiedProperties. To reduce heap usage, redesign the storage of properties and values in nsCSSDeclaration to allocate all property-value pairs in a declaration block in a single allocation, and use temporary structures (like the old permanent structures) during parsing and modification. Replace per-property switch statements in nsCSSDeclaration with table-based code to reduce code size. b=125246 r+sr=bzbarsky