DescriptionOnly swap positions if both characters actually are absolute positioned
When re-ordering inline boxes within a "line", character-based absolute
positioning attributes are re-ordered to match. However, when attempting
to re-order/swap a inline box that does have a absolute positioning
attribute (and is of length 1) with one that doesn't, the positioning
attribute is copied rather than swapped - leading to additional chunks
being created and consequently additional adjustments being performed.
However, swapping is not needed/required in this case, since the attribute
is already in the correct (logical) position.
To mitigate this, only perform the attribute swap if both characters
(and consequently inline boxes) have attributes in the first place.
BUG=343486
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167777
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|