DescriptionInvalidate all non-composited descendants on fixed-position changes
This patch updates invalidateDisplayItemClientForNonCompositingDescendants
to use LayoutObject::invalidateDisplayItemClients(...) instead of manually
calling invalidateDisplayItemClientOnBacking. These two functions are
deceptively similar but invalidateDisplayItemClients is virtual and
can perform additional invalidations in some subclasses. One example is
LayoutInline which invalidates flow-box children in addition to itself.
This fixes a regression caused by [1] where fixed-pos changes would
only invalidate LayoutObject non-composited descendants and would forget
about its inline text friends.
[1] https://chromium.googlesource.com/chromium/blink/+/0d6c3f0c797a6b26d99487b01aba465caf095a25
BUG=509179
Committed: https://crrev.com/3101131290dd69dee66c907c5ea91c3a9bbba627
git-svn-id: svn://svn.chromium.org/blink/trunk@202060 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Patch Set 1 #Patch Set 2 : De-sloppy the test #Patch Set 3 : Higher expectations #
Messages
Total messages: 15 (6 generated)
|