mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
cd4b889709
In particular, we set the pres context visible area _before_ processing restyles. This causes inconsistencies when resolving viewport units. In particular, the resulting style tree will have some units resolved in terms of the old size, and some in terms of the new size, depending on whatever is dirty, because we don't flush the pending media query changes. Also, some sizes are resolved against the unconstrained size because of the shrink-to-fit stuff. Fix this by flushing _before_ in this case, instead of after, since we're going to set the size to an actual value later when reflowing the root frame. MozReview-Commit-ID: ExI5yTJCjGp |
||
---|---|---|
.. | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
painting | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |