style: Add some flags to the computed values.

This will allow us to fix propagation of text-decoration, and also to implement
inlinization of ruby kids.

Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
This commit is contained in:
Emilio Cobos Álvarez 2017-06-26 22:50:43 +02:00
parent 3f2d747689
commit 5c7632f4c4
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 135 additions and 81 deletions

View file

@ -150,6 +150,7 @@ ${helpers.single_keyword("unicode-bidi",
<%helpers:longhand name="text-decoration-line"
custom_cascade="${product == 'servo'}"
need_clone=True
animation_value_type="discrete"
spec="https://drafts.csswg.org/css-text-decor/#propdef-text-decoration-line">
use std::fmt;
@ -262,7 +263,7 @@ ${helpers.single_keyword("unicode-bidi",
context: &mut computed::Context,
_cacheable: &mut bool,
_error_reporter: &ParseErrorReporter) {
longhands::_servo_text_decorations_in_effect::derive_from_text_decoration(context);
longhands::_servo_text_decorations_in_effect::derive_from_text_decoration(context);
}
% endif