diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index 7e910c638bb..b82c1d94aec 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -3303,6 +3303,17 @@ fn static_assert() { unsafe { self.gecko.mQuotes.set(&other.gecko.mQuotes); } } + pub fn clone_quotes(&self) -> longhands::quotes::computed_value::T { + unsafe { + let ref gecko_quote_values = *self.gecko.mQuotes.mRawPtr; + longhands::quotes::computed_value::T( + gecko_quote_values.mQuotePairs.iter().map(|gecko_pair| { + (gecko_pair.first.to_string(), gecko_pair.second.to_string()) + }).collect() + ) + } + } + #[allow(non_snake_case)] pub fn set__moz_image_region(&mut self, v: longhands::_moz_image_region::computed_value::T) { use values::Either; diff --git a/components/style/properties/longhand/list.mako.rs b/components/style/properties/longhand/list.mako.rs index a578b619c0f..6c7e8251df7 100644 --- a/components/style/properties/longhand/list.mako.rs +++ b/components/style/properties/longhand/list.mako.rs @@ -142,7 +142,7 @@ ${helpers.single_keyword("list-style-position", "outside inside", animation_valu } -<%helpers:longhand name="quotes" animation_value_type="none" +<%helpers:longhand name="quotes" animation_value_type="discrete" spec="https://drafts.csswg.org/css-content/#propdef-quotes"> use cssparser::serialize_string; use std::fmt;