DescriptionAvoid layout when list color changes
Previously when the style of list item changes, we reset style of
the list marker, causing unnecessary change of margins (which are reset
to initial value) and unnecessary layout.
Let the new style use the original margins to avoid the unnecessary
change.
BUG=397956
TEST=fast/lists/list-color-change-no-layout.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183763
Patch Set 1 #
Total comments: 12
Patch Set 2 : Address mstensho's comments #
Total comments: 4
Patch Set 3 : #
Messages
Total messages: 14 (3 generated)
|