Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SVG2] Stop accepting 'defer' in preserveAspectRatio
[SVG2] Stop accepting 'defer' in preserveAspectRatio https://bugs.webkit.org/show_bug.cgi?id=249112 Reviewed by Simon Fraser. This patch is to align with SVG2 Web-Specification[1] and remove "defer" support in "preserveAspectRatio". [1] https://www.w3.org/2015/06/12-svg-minutes.html#item11 Merge - https://src.chromium.org/viewvc/blink?view=revision&revision=198601 This patch will allow Webkit to match with other browsers as well and will throw parse error when encountering 'defer' keyword. * Source/WebCore/svg/SVGPreserveAspectRatioValue.cpp: (SVGPreserveAspectRatioValue::parseInternal): Remove 'defer' parse support * LayoutTests/svg/dom/preserve-aspect-ratio-parser.html: Rebaselined * LayoutTests/svg/dom/preserve-aspect-ratio-parser-expected.txt: Ditto Canonical link: https://commits.webkit.org/258253@main
- Loading branch information
1 parent
8b06b89
commit e68929a
Showing
3 changed files
with
63 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
e68929a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The specs link is https://svgwg.org/svg2-draft/coords.html#PreserveAspectRatioAttribute.
Removing the 'defer' keyword from preserveAspectRatio is mentioned here https://www.w3.org/TR/SVG/changes.html#coords.