aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/servo/selector_parser.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-03-27 12:39:42 -0400
committerGitHub <noreply@github.com>2019-03-27 12:39:42 -0400
commit864f855850093f9d69f76376a79180a22ee4ad11 (patch)
treee67d55a74725e8e7174c27b737f6c9d41e81bfa1 /components/style/servo/selector_parser.rs
parent3e81a5afe938570ee4a0321e2c0269ed582e3adf (diff)
parent1f28a486e3c713e61f69d204a74efe3465c7a1e0 (diff)
downloadservo-864f855850093f9d69f76376a79180a22ee4ad11.tar.gz
servo-864f855850093f9d69f76376a79180a22ee4ad11.zip
Auto merge of #23108 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central. See each individual commit for details. <!-- 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/23108) <!-- Reviewable:end -->
Diffstat (limited to 'components/style/servo/selector_parser.rs')
-rw-r--r--components/style/servo/selector_parser.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/style/servo/selector_parser.rs b/components/style/servo/selector_parser.rs
index 9abfe976919..229f7dccdd2 100644
--- a/components/style/servo/selector_parser.rs
+++ b/components/style/servo/selector_parser.rs
@@ -142,6 +142,12 @@ impl PseudoElement {
false
}
+ /// Whether this pseudo-element is the ::marker pseudo.
+ #[inline]
+ pub fn is_marker(&self) -> bool {
+ false
+ }
+
/// Whether this pseudo-element is the ::before pseudo.
#[inline]
pub fn is_before(&self) -> bool {