mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Use IntermediateColor for text-shadow.
This commit is contained in:
parent
1e9c118f7f
commit
46e567e688
2 changed files with 3 additions and 1 deletions
|
@ -2920,3 +2920,4 @@ impl <'a> From<<&'a IntermediateColor> for CSSParserColor {
|
|||
</%def>
|
||||
|
||||
${impl_intermediate_type_for_shadow('Box')}
|
||||
${impl_intermediate_type_for_shadow('Text')}
|
||||
|
|
|
@ -711,7 +711,8 @@ ${helpers.single_keyword("text-align-last",
|
|||
% endif
|
||||
</%helpers:single_keyword_computed>
|
||||
|
||||
<%helpers:longhand name="text-shadow" animation_value_type="ComputedValue"
|
||||
<%helpers:longhand name="text-shadow"
|
||||
animation_value_type="IntermediateTextShadowList",
|
||||
spec="https://drafts.csswg.org/css-text-decor/#propdef-text-shadow">
|
||||
use cssparser;
|
||||
use std::fmt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue