aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/values/generics/counters.rs
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-06-27 21:43:56 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-06-28 16:06:07 +0200
commitd4b5fc1f653b4575202416263155ec17083828a6 (patch)
tree0a6944aafdbdcc6078eda8d3239e419ee2f619f1 /components/style/values/generics/counters.rs
parenta725380db0b9fba31993409f7d0f4b2d11ca8f7d (diff)
downloadservo-d4b5fc1f653b4575202416263155ec17083828a6.tar.gz
servo-d4b5fc1f653b4575202416263155ec17083828a6.zip
Make Layout 2013 style a superset of Layout 2020 style
This is the first step toward removing the compile-time difference in style between Layout 2020 and Layout 2013.
Diffstat (limited to 'components/style/values/generics/counters.rs')
-rw-r--r--components/style/values/generics/counters.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/style/values/generics/counters.rs b/components/style/values/generics/counters.rs
index 2d9948cef4a..8b45124fc4c 100644
--- a/components/style/values/generics/counters.rs
+++ b/components/style/values/generics/counters.rs
@@ -8,7 +8,6 @@
use crate::computed_values::list_style_type::T as ListStyleType;
#[cfg(feature = "gecko")]
use crate::values::generics::CounterStyle;
-#[cfg(any(feature = "gecko", feature = "servo-layout-2020"))]
use crate::values::specified::Attr;
use crate::values::CustomIdent;
use std::fmt::{self, Write};
@@ -272,7 +271,6 @@ pub enum GenericContentItem<I> {
#[cfg(feature = "gecko")]
MozAltContent,
/// `attr([namespace? `|`]? ident)`
- #[cfg(any(feature = "gecko", feature = "servo-layout-2020"))]
Attr(Attr),
/// image-set(url) | url(url)
Image(I),