diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-07-26 02:15:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-26 02:15:30 -0700 |
commit | f61528d2977b11673af30e075b4556a2a30f5aaf (patch) | |
tree | b5e3572ea8655c6461b3eef1a8e6cfafa807d8b4 /components/script/dom/htmlsourceelement.rs | |
parent | 3d5eb727f68590d451abe1b466959527254c3eb2 (diff) | |
parent | 43278ed349158ac2ef76bda36509c6bb80713911 (diff) | |
download | servo-f61528d2977b11673af30e075b4556a2a30f5aaf.tar.gz servo-f61528d2977b11673af30e075b4556a2a30f5aaf.zip |
Auto merge of #17867 - emilio:pseudo-display-none, r=heycam
style: Don't skip computation of pseudo-elements of display: none elements
We have optimizations to avoid doing selector-matching when the style attribute
changes, so, given you can toggle the display property and the pseudo-elements
will suddenly become effective, we can't really skip them.
Furthermore, we assume that if an element has an ElementStyles, they're
up-to-date and we can use them for getComputedStyle, so it's pretty easy to
prove that we do the wrong thing when calling getComputedStyle with a
pseudo-element on a display: none root.
Bug: 1384065
Reviewed-by: heycam
MozReview-Commit-ID: BIOqevGZyrm
Diffstat (limited to 'components/script/dom/htmlsourceelement.rs')
0 files changed, 0 insertions, 0 deletions