Description[SVG] Fix root element length values handling.
SVGLengthContext::determineViewport() currently asserts that we're not
resolving lengths for the topmost element, but there's nothing to
prevent such calls.
The CL updates determineViewport() to handle root elements geracefully
(using their current viewport). It also changes the signature slightly
to operate directly on a FloatSize, reducing some of the boiler-plate
client code.
BUG=317484
R=pdr@chromium.org,schenney@chromium.org
Patch Set 1 #
Total comments: 6
Messages
Total messages: 10 (0 generated)
|