gecko-dev/layout
Emilio Cobos Álvarez 3b3de3f3e7 Bug 1590280 - Allow to use the sheet cache to avoid parsing as long as CSSOM hasn't mutated the stylesheet. r=heycam
We need to ensure we have a unique inner so that ruleLists and such have the
right pointer identity (we could do better, really, but it's harder).

But as long as the CSSOM hasn't modified them there should be no reason not to
use the cache. We can do a deep clone synchronously instead of refetching /
reparsing.

This is important because, as of right now, just using the inspector makes the
stylesheets unique, which is unfortunate.

We'll still have the modified rule bit for sheets with @import, because our
notification system for @import is silly, and on parents of imported sheets.

Fixing those are future improvements, but I see no reason not to land this.

Differential Revision: https://phabricator.services.mozilla.com/D55163

--HG--
extra : moz-landing-system : lando
2019-12-03 11:04:03 +00:00
..
base Bug 1600484 : convert NS_STYLE_TEXT_SIZE_ADJUST_* to an enum class in nsStyleConsts.h r=emilio 2019-12-02 05:09:33 +00:00
build Bug 1599843 - nsJSProtocolHandler construction should be simpler. r=bzbarsky 2019-11-27 20:05:02 +00:00
doc
forms Bug 1600202 - Make test_bug717878_input_scroll.html cope with native themes that has a large padding better, and extend the test to also check non-themed controls. r=dbaron 2019-12-02 16:41:02 +00:00
generic Bug 1591799. In WheelHandlingUtils::CanScrollOn use scroll range related functions that are aware of the visual viewport of a scroll frame. r=botond 2019-12-02 22:30:24 +00:00
inspector Bug 1590280 - Allow to use the sheet cache to avoid parsing as long as CSSOM hasn't mutated the stylesheet. r=heycam 2019-12-03 11:04:03 +00:00
ipc
mathml Bug 1600362 - Cleanup IntersectionObserver. r=smaug 2019-11-29 20:39:36 +00:00
media
painting Bug 1586843. Pass SideBits for fixed position content to webrender so it can pass it back via the HitTest api. r=botond 2019-11-29 23:06:59 +00:00
printing Bug 1599161 - Rename nsLayoutStylesheetCache to GlobalStyleSheetCache. r=boris 2019-11-25 22:08:43 +00:00
reftests Backed out changeset 6c09d8b07585 (bug 1596050) for reftest failures at layout/reftests/high-contrast/selection-001.html on a CLOSED TREE 2019-12-02 21:29:26 +02:00
style Bug 1590280 - Allow to use the sheet cache to avoid parsing as long as CSSOM hasn't mutated the stylesheet. r=heycam 2019-12-03 11:04:03 +00:00
svg Bug 1599173 - Disable SVG text spacing with a pref. r=emilio 2019-11-27 23:29:41 +00:00
tables Bug 1017137 - Don't report Complete status in table-row-group fragmentation if it still has more rows to flow after filling the availble size. r=TYLin 2019-12-02 16:40:47 +00:00
tools Bug 1596786 - Arrow keys support for reftest-analyzer r=dbaron 2019-11-27 21:15:51 +00:00
xul Bug 1600362 - Cleanup IntersectionObserver. r=smaug 2019-11-29 20:39:36 +00:00
moz.build