Chromium Code Reviews
DescriptionSVGTransformList.consolidate() should return null on an empty list
SVGTransformList.consolidate() returns an SVGTransform with type
"unknown", which is an invalid object that other parts of the code
couldn't cope with. The specification:
https://svgwg.org/svg2-draft/coords.html#__svg__SVGTransformList__consolidate
say that 'null' should be returned in this case though, so do that
instead.
Rewrite svg/dom/SVGTransformList-empty-list-consolidation.html to use
actually assert this part of the contract, and also convert it use
testharness.js while at it.
BUG=688306, 688303
Review-Url: https://codereview.chromium.org/2681803004
Cr-Commit-Position: refs/heads/master@{#448994}
Committed: https://chromium.googlesource.com/chromium/src/+/d3173fb3e213e658abf34667f130b55b6baac395
Patch Set 1 #
Messages
Total messages: 13 (9 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||