servo/components/style/gecko
Hiroyuki Ikezoe c63a9a37a9
style: Introduce nsCSSKeywordAndBoolTableEntry.
The values in the boolean context depend on its feature.  For examples, in the
case of prefers-reduced-motion 'no-preference' means false and 'reduced' mean
true in the boolean context, whereas in the case of prefers-contrast
'no-preference' means false and other two values, 'high' and 'low' means true
in the boolean context.  To support it we introduce a child struct of
nsCSSKTableEntry that has an additional field representing the value in the
boolean context and use it when we have no specified value in the media feature
(i.e. in the boolean context).

Bug: 1365045
Reviewed-by: heycam
MozReview-Commit-ID: 79HiW8l5ous
2018-08-08 01:34:35 +02:00
..
arc_types.rs style: Merge ServoDocumentRule and CSSMozDocumentRule. 2018-06-18 19:15:08 +02:00
conversions.rs style: Change nscolor to StyleComplexColor in nsStyleGradientStop. 2018-06-18 19:15:28 +02:00
data.rs style: Fix tidy. 2018-06-23 20:34:10 +02:00
global_style_data.rs style: Cap the number of style threads at six. 2018-07-09 03:04:01 +02:00
media_queries.rs style: Introduce nsCSSKeywordAndBoolTableEntry. 2018-08-08 01:34:35 +02:00
mod.rs Backed out changeset fec394734f83 (bug 17624) for build bustage a=backout CLOSED TREE 2017-07-06 21:58:15 +00:00
non_ts_pseudo_class_list.rs style: Unconditionally enable :defined in chrome. 2018-07-01 00:08:48 +02:00
pseudo_element.rs style: Push visited style computation a bit further down. 2018-07-24 03:28:50 +02:00
pseudo_element_definition.mako.rs style: Measure heap allocations hanging off selector components. 2018-07-16 19:43:15 +02:00
regen_atoms.py style: autopep8 2018-07-24 03:26:12 +02:00
restyle_damage.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
rules.rs style: Make tidy happy. 2018-04-28 10:26:08 +02:00
selector_parser.rs style: Measure heap allocations hanging off selector components. 2018-07-16 19:43:15 +02:00
snapshot.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
snapshot_helpers.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
traversal.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
url.rs style: Fix tidy. 2018-06-23 20:34:10 +02:00
values.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
wrapper.rs style: Make svg:use use an actual shadow tree. 2018-07-24 03:30:12 +02:00