Bug 1852149 Part 3 - Add margin rules to servo r=firefox-style-system-reviewers,emilio
commit8ad20b2ce65719c380347dc8e91bfd58ca74c8b9
authorEmily McDonough <emcdonough@mozilla.com>
Fri, 8 Dec 2023 20:25:55 +0000 (8 20:25 +0000)
committerEmily McDonough <emcdonough@mozilla.com>
Fri, 8 Dec 2023 20:25:55 +0000 (8 20:25 +0000)
tree3e19c7f7848392c706c22b677ab1d58f070b4bc1
parent1568c7e499e6b86c88c398faf4cf7ce97916e116
Bug 1852149 Part 3 - Add margin rules to servo r=firefox-style-system-reviewers,emilio

Parsing is disabled by the layout.css.margin-rules.enabled pref.
This isn't currently testable beyond a crashtest because the DOM interface for
margin rules isn't implemented yet.

Differential Revision: https://phabricator.services.mozilla.com/D187736
layout/inspector/ServoStyleRuleMap.cpp
layout/style/ServoCSSRuleList.cpp
layout/style/ServoStyleSet.cpp
servo/components/style/invalidation/stylesheets.rs
servo/components/style/stylesheets/margin_rule.rs [new file with mode: 0644]
servo/components/style/stylesheets/mod.rs
servo/components/style/stylesheets/rule_parser.rs
servo/components/style/stylesheets/rules_iterator.rs
servo/components/style/stylesheets/stylesheet.rs
servo/components/style/stylist.rs