DescriptionDon't propagate bbox for empty <text> to ancestors
If we have a <text> element which is "empty" (essentially has no text
content after collapsing spaces), then its bounding box would be empty,
but would still be propagated to the bounding boxes of the ancestors -
which could span them out to be bigger than expected. Similarly they
could be subject to their userspace transform with a similar effect.
Skip propagation of empty <text> element - where "empty" is defined as
"has no line boxes".
BUG=450229
Committed: https://crrev.com/9960fef706fbd5429e65360e3ebeecce63c8c8f0
Cr-Commit-Position: refs/heads/master@{#373501}
Patch Set 1 #
Messages
Total messages: 10 (4 generated)
|