DescriptionMove self-collapse checking to LayoutBlockFlow and cache it completely.
Only block containers (that's LayoutBlockFlow in Blinquese) can have adjoining
top and bottom margins, since all other LayoutBlock derivates establish some
kind of formatting context (table, flexbox, etc.).
Also cache self-collapsedness completely. Previously we only used the cached
result if we had previously found that the entire subtree is self-collapsing.
The new approach eliminates the need for "mutable" too.
BUG=302024
Committed: https://crrev.com/43862543cb7622a39c6fbc7895ffe03ba5337f54
Cr-Commit-Position: refs/heads/master@{#390729}
Patch Set 1 #Patch Set 2 : The winbots had a point. How do you like this, then, winbots? bool bitfields would probably look ev… #
Messages
Total messages: 8 (3 generated)
|