mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Servo parsing / serialization for @page
Adds basic parsing and serialization for @page rules in Servo. It is handled in the same manner as a regular style rule. MozReview-Commit-ID: JRr3DDGcUIl
This commit is contained in:
parent
6020c2feeb
commit
f0e849cbd8
2 changed files with 44 additions and 1 deletions
|
@ -83,6 +83,7 @@ impl CSSRule {
|
|||
StyleCssRule::Namespace(s) => Root::upcast(CSSNamespaceRule::new(window, parent_stylesheet, s)),
|
||||
StyleCssRule::Viewport(s) => Root::upcast(CSSViewportRule::new(window, parent_stylesheet, s)),
|
||||
StyleCssRule::Supports(s) => Root::upcast(CSSSupportsRule::new(window, parent_stylesheet, s)),
|
||||
StyleCssRule::Page(_) => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue