mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
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 --> |
||
---|---|---|
.. | ||
animated | ||
computed | ||
generics | ||
specified | ||
mod.rs |