servo/components/style/values
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
..
animated Use generics for the filter property 2017-06-20 13:48:53 +02:00
computed Use generics for the filter property 2017-06-20 13:48:53 +02:00
generics Simplify machinery to serialise optional parts of CSS values 2017-06-21 11:17:22 +02:00
specified Auto merge of #17447 - emilio:root-disconnected-subtree, r=heycam,Manishearth 2017-06-22 04:17:04 -07:00
mod.rs Use generics for the filter property 2017-06-20 13:48:53 +02:00