mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Implement @supports selector() syntax.
This implements the selector(<complex-selector>) syntax for @supports. See https://github.com/w3c/csswg-drafts/issues/3207 for explainer and discussion. Probably would should wait for that to be sorted out to land this, or maybe we should put it behind a pref to get the code landed and change our implementation if the discussion there leads to a change. Differential Revision: https://phabricator.services.mozilla.com/D8864
This commit is contained in:
parent
4e356b4bb9
commit
edc40ce320
5 changed files with 157 additions and 65 deletions
|
@ -277,7 +277,6 @@ impl CssRule {
|
|||
|
||||
// nested rules are in the body state
|
||||
let mut rule_parser = TopLevelRuleParser {
|
||||
stylesheet_origin: parent_stylesheet_contents.origin,
|
||||
context,
|
||||
shared_lock: &shared_lock,
|
||||
loader,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue