mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #18350 - emilio:ship-system-metric-stuff, r=bholley,manishearth
stylo: Expose -moz-system-metric and -moz-empty-except-children-with-localname They don't have the flag in Gecko. Though I wonder if we could unship them from non-UA sheets. Bug: 1396048 Reviewed-by: bholley MozReview-Commit-ID: LGzGDjCZpJC <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18350) <!-- Reviewable:end -->
This commit is contained in:
commit
e0e09538fa
1 changed files with 6 additions and 2 deletions
|
@ -59,7 +59,9 @@ macro_rules! apply_non_ts_list {
|
||||||
("-moz-drag-over", MozDragOver, mozDragOver, IN_DRAGOVER_STATE, _),
|
("-moz-drag-over", MozDragOver, mozDragOver, IN_DRAGOVER_STATE, _),
|
||||||
("target", Target, target, IN_TARGET_STATE, _),
|
("target", Target, target, IN_TARGET_STATE, _),
|
||||||
("indeterminate", Indeterminate, indeterminate, IN_INDETERMINATE_STATE, _),
|
("indeterminate", Indeterminate, indeterminate, IN_INDETERMINATE_STATE, _),
|
||||||
|
// FIXME(emilio): Unship this for content docs (bug 1396073).
|
||||||
("-moz-devtools-highlighted", MozDevtoolsHighlighted, mozDevtoolsHighlighted, IN_DEVTOOLS_HIGHLIGHTED_STATE, _),
|
("-moz-devtools-highlighted", MozDevtoolsHighlighted, mozDevtoolsHighlighted, IN_DEVTOOLS_HIGHLIGHTED_STATE, _),
|
||||||
|
// FIXME(emilio): Unship this for content docs (bug 1396073).
|
||||||
("-moz-styleeditor-transitioning", MozStyleeditorTransitioning, mozStyleeditorTransitioning, IN_STYLEEDITOR_TRANSITIONING_STATE, _),
|
("-moz-styleeditor-transitioning", MozStyleeditorTransitioning, mozStyleeditorTransitioning, IN_STYLEEDITOR_TRANSITIONING_STATE, _),
|
||||||
("fullscreen", Fullscreen, fullscreen, IN_FULLSCREEN_STATE, PSEUDO_CLASS_ENABLED_IN_UA_SHEETS_AND_CHROME),
|
("fullscreen", Fullscreen, fullscreen, IN_FULLSCREEN_STATE, PSEUDO_CLASS_ENABLED_IN_UA_SHEETS_AND_CHROME),
|
||||||
("-moz-full-screen", MozFullScreen, mozFullScreen, IN_FULLSCREEN_STATE, _),
|
("-moz-full-screen", MozFullScreen, mozFullScreen, IN_FULLSCREEN_STATE, _),
|
||||||
|
@ -116,9 +118,11 @@ macro_rules! apply_non_ts_list {
|
||||||
("-moz-window-inactive", MozWindowInactive, mozWindowInactive, _, _),
|
("-moz-window-inactive", MozWindowInactive, mozWindowInactive, _, _),
|
||||||
],
|
],
|
||||||
string: [
|
string: [
|
||||||
("-moz-system-metric", MozSystemMetric, mozSystemMetric, _, PSEUDO_CLASS_ENABLED_IN_UA_SHEETS),
|
// FIXME(emilio): Unship this for content docs (bug 1396066).
|
||||||
|
("-moz-system-metric", MozSystemMetric, mozSystemMetric, _, _),
|
||||||
|
// FIXME(emilio): Unship this for content docs (bug 1396073).
|
||||||
("-moz-empty-except-children-with-localname", MozEmptyExceptChildrenWithLocalname,
|
("-moz-empty-except-children-with-localname", MozEmptyExceptChildrenWithLocalname,
|
||||||
mozEmptyExceptChildrenWithLocalname, _, PSEUDO_CLASS_ENABLED_IN_UA_SHEETS),
|
mozEmptyExceptChildrenWithLocalname, _, _),
|
||||||
("lang", Lang, lang, _, _),
|
("lang", Lang, lang, _, _),
|
||||||
],
|
],
|
||||||
keyword: [
|
keyword: [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue