gecko-dev/layout
Jeremy Chen 1e25caab99 Bug 1418433 - increment RestyleGeneration for undisplayed elements when invalidating servo stylist. r=heycam
In the current implementation, we call SetStylistStyleSheetsDirty() every time
a style sheet is changed. However, the dirty bit setting may or may not always
update the style data. For example, the style data for undisplayed elements are
deliberately not updated in Stylo. However, the getComputedStyle API is supposed
to provide a way to get the up-to-date computed style data, even for undisplayed
elements.

In this patch, we increment RestyleGeneration for undisplayed elements when we
call SetStylistStyleSheetsDirty(). This could flush the cached data that
getComputedStyle API holds, and ensures the getComputedStyle API computes a new
one.

MozReview-Commit-ID: JDDhACOG3z4

--HG--
extra : rebase_source : 39f56227201d435ad416fe21f4b0e0cad7d2d16c
2017-11-26 15:24:12 +00:00
..
base Merge inbound to mozilla-central r=merge a=merge 2017-11-29 12:26:15 +02:00
build Bug 1420419 - Postpone the removing of BlobURL for 5 seconds in order to allow the loading of them in a remote process, r=smaug 2017-11-29 09:40:16 +01:00
doc
forms Bug 1418477 - Part 2. Add crash test. r=jfkthame 2017-11-22 10:56:41 +09:00
generic Bug 1300864 - Disable paint skipping for scroll frames that contain out-of-flow content inside a CSS filter. r=mstange 2017-11-27 16:45:29 -05:00
inspector Backed out 4 changesets (bug 1418224) for build bustages r=backout on a CLOSED TREE 2017-11-27 07:42:50 +02:00
ipc Bug 1415225 - Move the EventRegionsOverride field to be on RefLayers only. r=botond 2017-11-09 09:03:52 -05:00
mathml Bug 1417010 - Invalidate MathML display items whenever we invalidate the referenced nsMathMLChar. r=miko 2017-11-18 11:06:49 +13:00
media
painting Bug 1300864 - Disable paint skipping for scroll frames that contain out-of-flow content inside a CSS filter. r=mstange 2017-11-27 16:45:29 -05:00
printing Bug 1419739 Part 2: Clean up resulting (and some existing) unused printing code. r=jwatt 2017-11-29 07:58:49 +00:00
reftests Bug 1417711 - [css-grid] An abs.pos. grid container child that only covers removed 'auto-fit' tracks should not span to the end padding edge. r=dholbert 2017-11-29 06:51:41 +01:00
style Bug 1418433 - increment RestyleGeneration for undisplayed elements when invalidating servo stylist. r=heycam 2017-11-26 15:24:12 +00:00
svg Bug 1417376 Part 3 - Pass nsPoint parameters by const references instead of values. r=mats 2017-11-15 17:55:36 +08:00
tables Bug 1418905 - Move nsRuleNode::ComputeCoordPercentCalc() into nsStyleCoord. r=heycam 2017-11-20 14:05:19 +08:00
tools Backed out 4 changesets (bug 1417251) for reftest failures, e.g. in box-decoration-break-with-outset-box-shadow-1.html. r=backout on a CLOSED TREE 2017-11-22 18:34:58 +02:00
xul Bug 1417824 part 2 - Add reftest for this bug. r=heycam 2017-11-24 19:30:19 -06:00
moz.build