mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
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:
parent
3f2d747689
commit
5c7632f4c4
4 changed files with 135 additions and 81 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue