Use IntermediateColor for text-shadow.

This commit is contained in:
Hiroyuki Ikezoe 2017-04-24 15:31:54 +09:00
parent 1e9c118f7f
commit 46e567e688
2 changed files with 3 additions and 1 deletions

View file

@ -2920,3 +2920,4 @@ impl <'a> From<<&'a IntermediateColor> for CSSParserColor {
</%def>
${impl_intermediate_type_for_shadow('Box')}
${impl_intermediate_type_for_shadow('Text')}

View file

@ -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;