Fix resolution of 'auto' in SVGLengthContext::ResolveLengthPair
If one of the Lengths was 'auto' while the other was a percentage or calc(...), the 'auto' Length would resolve to the corresponding viewport dimension (i.e like if it was 100%) rather than 0. Fixed: 1131324 Change-Id: Iec4e406d74b29551f417ab32caf3ef6cc627909b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2426483Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#809844}
Showing
Please register or sign in to comment