diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-06-22 04:17:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-22 04:17:04 -0700 |
commit | 7d785e75cd9c1b3b74d708bcc9d6ff10a40ae2f6 (patch) | |
tree | 67b884bddb6925a110a72e47b0b1fdf1b0158c65 /components/script/dom/create.rs | |
parent | 3e686b7d1e0ebe565765c73a4456ffe0176bdd37 (diff) | |
parent | 6fefe522a393d579805426a7fe71bcf3da87f071 (diff) | |
download | servo-7d785e75cd9c1b3b74d708bcc9d6ff10a40ae2f6.tar.gz servo-7d785e75cd9c1b3b74d708bcc9d6ff10a40ae2f6.zip |
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 -->
Diffstat (limited to 'components/script/dom/create.rs')
0 files changed, 0 insertions, 0 deletions