servo/components/style
Emilio Cobos Álvarez 1b2fd3fe85
style: Be more strict when setting the root font size.
Before this commit, we assumed that if the element had no parent element, it was
the root of the document, which is plain false, since we can arrive there from,
let's say, getComputedStyle on a detached node.

Bug: 1374062
Reviewed-By: heycam
MozReview-Commit-ID: 65DxdzXgd0J
2017-06-21 13:28:57 +02:00
..
counter_style style: Have OneOrMoreSeparated replace OneOrMoreCommaSeparated. 2017-06-19 16:09:37 -07:00
gecko style: Update bindings. 2017-06-21 01:27:16 +02:00
gecko_bindings Use generics for the filter property 2017-06-20 13:48:53 +02:00
gecko_string_cache style: Clean up after #17427. 2017-06-20 15:42:23 +02:00
invalidation style: Remove extra-optimistic optimization. 2017-06-20 15:36:16 +02:00
properties style: Be more strict when setting the root font size. 2017-06-21 13:28:57 +02:00
rule_tree stylo: Fix has_author_specified_rules() for rules in XBL stylesheets (bug 1372062) 2017-06-20 15:58:00 +08:00
servo Untry style 2017-06-18 13:18:13 +02:00
sharing style: Inline RestyleData. 2017-06-16 03:36:18 +02:00
stylesheets Untry style 2017-06-18 13:18:13 +02:00
values Auto merge of #17402 - servo:derive-all-the-things, r=emilio 2017-06-20 06:23:17 -07:00
animation.rs style: Be more strict when setting the root font size. 2017-06-21 13:28:57 +02:00
applicable_declarations.rs Hoist ApplicableDeclaration{Block,List} into a separate file. 2017-06-12 12:13:21 -07:00
attr.rs Untry style 2017-06-18 13:18:13 +02:00
bezier.rs Bump euclid to 0.14. 2017-06-14 16:00:59 +02:00
bloom.rs style: Distinguish between the tree structures used for traversal and selector matching. 2017-06-09 18:37:35 +08:00
build.rs Auto merge of #16935 - servo:out-of-crate-bindings-tests, r=emilio 2017-05-19 03:48:14 -05:00
build_gecko.rs style: Update bindgen. 2017-06-21 01:27:14 +02:00
cache.rs Adapt LRUCache to use ArrayDeque crate instead of VecDeque 2017-06-03 20:59:01 +02:00
Cargo.toml style: Update bindgen. 2017-06-21 01:27:14 +02:00
cascade_info.rs Remove style::values::HasViewportPercentage reexport 2017-05-20 22:00:05 +02:00
context.rs Untry style 2017-06-18 13:18:13 +02:00
custom_properties.rs Untry style 2017-06-18 13:18:13 +02:00
data.rs style: Inline RestyleData. 2017-06-16 03:36:18 +02:00
dom.rs style: Get restyle hints right in presence of XBL. 2017-06-20 13:09:36 +02:00
element_state.rs Add pseudo-classes to match on the state of the "dir" attribute. 2017-06-19 22:09:03 -04:00
encoding_support.rs Bug 1331291 part 1 - Set stylesheet url_data correctly for import rule. 2017-06-13 10:07:06 +10:00
error_reporting.rs Upgrade cssparser to 0.15 2017-06-16 15:05:46 +02:00
font_face.rs style: Have OneOrMoreSeparated replace OneOrMoreCommaSeparated. 2017-06-19 16:09:37 -07:00
font_metrics.rs stylo: Use gecko's font metrics 2017-04-10 14:29:51 +08:00
lib.rs Untry style 2017-06-18 13:18:13 +02:00
logical_geometry.rs Untry style 2017-06-18 13:18:13 +02:00
macros.rs Derive ToCss for keyword structs 2017-06-17 13:46:33 +02:00
matching.rs style: Be more strict when setting the root font size. 2017-06-21 13:28:57 +02:00
media_queries.rs Untry style 2017-06-18 13:18:13 +02:00
parallel.rs Use ArrayVec and tweak the SmallVec sizes. 2017-06-14 22:50:44 -07:00
parser.rs style: Have OneOrMoreSeparated replace OneOrMoreCommaSeparated. 2017-06-19 16:09:37 -07:00
README.md docs: Add style overview. 2016-05-04 00:34:03 +02:00
scoped_tls.rs Reduce the size of top_down_dom stackframes. 2017-06-08 13:02:36 -04:00
selector_map.rs style: Implement a more fine-grained invalidation method. 2017-06-13 13:26:41 +02:00
selector_parser.rs Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
sequential.rs style: Distinguish between the tree structures used for traversal and selector matching. 2017-06-09 18:37:35 +08:00
shared_lock.rs style: Split stylesheets.rs 2017-06-04 21:50:09 +02:00
sink.rs style: document the sink module. 2017-01-02 12:57:49 +01:00
str.rs Support vendor prefix keyframes rule. 2017-04-21 12:18:12 +09:00
style_adjuster.rs style: Be more strict when setting the root font size. 2017-06-21 13:28:57 +02:00
stylesheet_set.rs Cache effective media query results. 2017-06-03 14:43:44 +02:00
stylist.rs style: Make checks for attribute/state dependencies take stylist dirty state into account. 2017-06-19 09:33:02 +08:00
thread_state.rs Tidy up rust code with regard to new rule (no = in beginning of line) 2017-01-06 20:57:16 +01:00
timer.rs style: Document the timer module. 2016-12-31 12:17:04 +01:00
traversal.rs Don't traverse any elements that needed only for animation-only restyles in normal traversal. 2017-06-19 15:01:17 +09:00

servo-style

Style system for Servo, using rust-cssparser for parsing.