mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
4bc28644f9
The reason why bug 1355721 regressed this is because in non-e10s we definitely flush before parsing the standards quirks-mode. And bug 1355721 introduced an unconditional UpdateStylistIfNeeded, unless the counter style / font equivalents. That means that the stylist wouldn't remain on its initial state after the first flush, which itself means that when the compat mode changed, the UA and user rules were already on the stylist with the quirks mode keys. That makes class-names be keyed in ascii lowercase. After that no user style changed, so no rebuild happens for the cascade data in the user origin, so we keep looking at the wrong keys indefinitely. We should try to avoid the flush there and ensure that by the time we create a pres shell the quirks mode is already up-to-date... Bug: 1394233 Reviewed-by: xidorn MozReview-Commit-ID: 25dD2bca3tN Source-Repo: https://github.com/servo/servo Source-Revision: 2ec0b50ebc65f04a49420e15267f564d36d5ada1 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 763cfe74f08d44b02b166be1c2077b3f4d97e8f5 |
||
---|---|---|
.. | ||
geckolib | ||
servo |