style: Add support for disabled document colors.

This commit is contained in:
Cameron McCormack 2017-05-30 14:33:33 +08:00
parent 9e89b0a229
commit c768169149
15 changed files with 103 additions and 13 deletions

View file

@ -17,6 +17,7 @@ ${helpers.predefined_type("opacity",
<%helpers:vector_longhand name="box-shadow" allow_empty="True"
animation_value_type="IntermediateBoxShadowList"
extra_prefixes="webkit"
ignored_when_colors_disabled="True"
spec="https://drafts.csswg.org/css-backgrounds/#box-shadow">
use std::fmt;
use style_traits::ToCss;