Chromium Code Reviews
DescriptionAccount for zoom when computing SVG font size.
Previously, text that was zoomed appeared larger than geometry under
the same zoom value. This was caused by two bugs:
1) When setting the computed font size, we incorrectly referenced the
computedTextSize instead of the specified size.
2) Text with GeometricPrecision did not set a computed size but
instead relied on the text size being correct.
This change addresses both of these issues and adds a test to
prove correctness.
BUG=245996
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153683
Patch Set 1 #
Total comments: 1
Messages
Total messages: 6 (0 generated)
|
|||||||||||||||||||||||||||||||||||||