aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorManish Goregaokar <manishearth@gmail.com>2017-06-03 21:33:03 -0700
committerManish Goregaokar <manishsmail@gmail.com>2017-06-04 08:54:48 -0700
commitcdc230e4d3cdfee79fa401e26f30041f54816b9a (patch)
tree2acd802633d6df303380afb4c4eaf7d5650edd81 /components
parent6d6f03974dda8b3cccdbb692488bc2f708008cf2 (diff)
downloadservo-cdc230e4d3cdfee79fa401e26f30041f54816b9a.tar.gz
servo-cdc230e4d3cdfee79fa401e26f30041f54816b9a.zip
stylo: disable @viewport
Firefox doesn't support @viewport, we shouldn't either.
Diffstat (limited to 'components')
-rw-r--r--components/style/stylesheets.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/stylesheets.rs b/components/style/stylesheets.rs
index 23dad0d1c55..7196bd35034 100644
--- a/components/style/stylesheets.rs
+++ b/components/style/stylesheets.rs
@@ -1759,7 +1759,7 @@ fn is_viewport_enabled() -> bool {
#[cfg(not(feature = "servo"))]
fn is_viewport_enabled() -> bool {
- true
+ false // Gecko doesn't support @viewport
}
impl<'a, 'b> AtRuleParser for NestedRuleParser<'a, 'b> {