DescriptionInvalidate text metrics when the <text> subtree is mutated
When the content of a text node is modified, we would only invalidate
positioning values and not text metrics. This would lead to incorrect or
inconsistent text metrics/fonts being used, which would lead to repaint
bugs and similar issues.
Make sure all mutations to the <text> subtree trigger text metrics re-
computation.
Also take this opportunity to move the definition of the
willBeDestroyed() method for slightly better grouping.
BUG=299497, 594058
Committed: https://crrev.com/f19c8c6644e933e57a20d518b6ef62e2358ac1ad
Cr-Commit-Position: refs/heads/master@{#386300}
Patch Set 1 #
Total comments: 4
Dependent Patchsets: Messages
Total messages: 13 (3 generated)
|