servo/components/style/gecko
bors-servo 7d785e75cd Auto merge of #17447 - emilio:root-disconnected-subtree, r=heycam,Manishearth
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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17447)
<!-- Reviewable:end -->
2017-06-22 04:17:04 -07:00
..
generated Auto merge of #17436 - bradwerth:updateStylesheet, r=xidorn,emilio 2017-06-21 04:36:52 -07:00
arc_types.rs style: Split stylesheets.rs 2017-06-04 21:50:09 +02:00
conversions.rs Make computed types hold Percentage instead of bare CSSFloat 2017-06-15 16:59:03 +02:00
data.rs style: Assert we never style a root element from another document. 2017-06-21 19:55:02 +02:00
global_style_data.rs Enable breadth-first traversal. 2017-06-14 22:50:27 -07:00
media_queries.rs style: Assert we never style a root element from another document. 2017-06-21 19:55:02 +02:00
mod.rs Bug 1364412: Convert pseudo-elements to an enum. r=hiro,xidorn 2017-05-16 02:53:41 +02:00
non_ts_pseudo_class_list.rs Stylo: Correct style match for element instances under a use-element tree. 2017-06-20 18:07:36 +08:00
pseudo_element.rs Rollup merge of #17010 - CJKu:bug-1348490, r=emilio 2017-05-24 11:59:25 -07:00
pseudo_element_definition.mako.rs Bug 1369187: style: Add first-line and first-letter to the set of eager pseudo styles. r=bholley 2017-06-01 21:09:34 +02:00
regen_atoms.py Bug 1364412: Convert pseudo-elements to an enum. r=hiro,xidorn 2017-05-16 02:53:41 +02:00
restyle_damage.rs style: Use RestyleDamage to determine whether we must continue cascading style changes to children. 2017-05-20 16:25:39 +02:00
rules.rs stylo: make font-weight descriptor in @font-face preserve keyword values 2017-06-20 15:28:39 +02:00
selector_parser.rs Store selectors in matching order, rather than parse order. 2017-06-20 11:59:10 -07:00
snapshot.rs style: Implement a more fine-grained invalidation method. 2017-06-13 13:26:41 +02:00
snapshot_helpers.rs ID and class selectors are ASCII case-insensitive in quirks mode. 2017-06-12 23:33:53 +02:00
traversal.rs Do the sequential traversal breadth-first. 2017-04-09 14:52:49 +08:00
url.rs Add function which convert from URLValueData to SpecifiedUrl. 2017-06-19 09:47:26 +09:00
values.rs style: Assert we never style a root element from another document. 2017-06-21 19:55:02 +02:00
wrapper.rs Auto merge of #17447 - emilio:root-disconnected-subtree, r=heycam,Manishearth 2017-06-22 04:17:04 -07:00