DescriptionTighten error checking from SVGLength parsing
When test-parsing width, height before mapping them to style for
SVGSVGElement and SVGForeignObjectElement, testing for unknown length
types is not enough, we must check the exceptionState for errors. This
fixes a case where we apply 'inherit' even though we shouldn't,
according to spec.
Also align SVGForeignObjectElement and SVGSVGElement by always passing
along the original string, not the serialized value. As long as only
valid lengths are passed along, this shouldn't change behavior but
re-generating the string back is unnecessary work.
BUG=370017, 308992
R=pdr
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173371
Patch Set 1 #
Total comments: 4
Patch Set 2 : Better consistency in how foreignObject is camelCased #Patch Set 3 : Update expected file #
Messages
Total messages: 10 (0 generated)
|