Skip to content

Commit

Permalink
Use IntermediateColor for text-shadow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroyuki Ikezoe committed Apr 24, 2017
1 parent 1e9c118 commit 46e567e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -2920,3 +2920,4 @@ impl <'a> From<<&'a IntermediateColor> for CSSParserColor {
</%def>

${impl_intermediate_type_for_shadow('Box')}
${impl_intermediate_type_for_shadow('Text')}
3 changes: 2 additions & 1 deletion components/style/properties/longhand/inherited_text.mako.rs
Expand Up @@ -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;
Expand Down

0 comments on commit 46e567e

Please sign in to comment.