mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Allow text to be in background shorthand
This commit is contained in:
parent
9e7f02ba77
commit
3e51595f8e
1 changed files with 0 additions and 7 deletions
|
@ -72,13 +72,6 @@
|
|||
if ${name}.is_none() {
|
||||
if let Ok(value) = input.try(|input| background_${name}::single_value
|
||||
::parse(context, input)) {
|
||||
% if name == "clip" and product == "gecko":
|
||||
// "text" value of background-clip should not be part of background
|
||||
// shorthand per current spec and impls.
|
||||
if value == background_clip::single_value::SpecifiedValue::text {
|
||||
return Err(());
|
||||
}
|
||||
% endif
|
||||
${name} = Some(value);
|
||||
continue
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue