Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
servo: Merge #17569 - Support :-moz-full-screen pseudo-class (from up…
Browse files Browse the repository at this point in the history
…super:fullscreen); r=emilio

This fixes [bug 1374901](https://bugzilla.mozilla.org/show_bug.cgi?id=1374901).

Source-Repo: https://github.com/servo/servo
Source-Revision: a04725fa1c744236968df038be7e6093889f6cf7
  • Loading branch information
upsuper committed Jun 30, 2017
1 parent c85bbad commit 3eb31b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions servo/components/style/gecko/non_ts_pseudo_class_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ macro_rules! apply_non_ts_list {
// TODO(emilio): Needs pref check for
// full-screen-api.unprefix.enabled!
("fullscreen", Fullscreen, fullscreen, IN_FULLSCREEN_STATE, _),
("-moz-full-screen", MozFullScreen, mozFullScreen, IN_FULLSCREEN_STATE, _),
// TODO(emilio): This is inconsistently named (the capital R).
("-moz-focusring", MozFocusRing, mozFocusRing, IN_FOCUSRING_STATE, _),
("-moz-broken", MozBroken, mozBroken, IN_BROKEN_STATE, _),
Expand Down
1 change: 1 addition & 0 deletions servo/components/style/gecko/wrapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1657,6 +1657,7 @@ impl<'le> ::selectors::Element for GeckoElement<'le> {
NonTSPseudoClass::Disabled |
NonTSPseudoClass::Checked |
NonTSPseudoClass::Fullscreen |
NonTSPseudoClass::MozFullScreen |
NonTSPseudoClass::Indeterminate |
NonTSPseudoClass::PlaceholderShown |
NonTSPseudoClass::Target |
Expand Down

0 comments on commit 3eb31b6

Please sign in to comment.