DescriptionTweak asserts for dominant-baseline in SVGTextLayoutEngineBaseline
The 'no-change' and 'reset-size' dominant-baseline value will consult
their parent to try and resolve a suitable value. If the parent has one
of these values, the process will continue up the ancestor chain.
When reaching the LayoutView however, we should encounter the initial
value ('auto') and the search will end.
Move the assertion for an existing parent down into the branches that
handle the values 'no-change' and 'reset-size'.
Also rewrap a comment and replace a FIXME with TODO.
BUG=534796
Committed: https://crrev.com/f733f40a85ce65d38260d88f12f20752bba70bb8
Cr-Commit-Position: refs/heads/master@{#350612}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|