[webkit-changes] [WebKit/WebKit] e68929: [SVG2] Stop accepting 'defer' in preserveAspectRatio
Ahmad Saleem
noreply at github.com
Thu Dec 22 11:24:09 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e68929af9f25c8dc918b90c0613befa20d4d3085
https://github.com/WebKit/WebKit/commit/e68929af9f25c8dc918b90c0613befa20d4d3085
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2022-12-22 (Thu, 22 Dec 2022)
Changed paths:
M LayoutTests/svg/dom/preserve-aspect-ratio-parser-expected.txt
M LayoutTests/svg/dom/preserve-aspect-ratio-parser.html
M Source/WebCore/svg/SVGPreserveAspectRatioValue.cpp
Log Message:
-----------
[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
More information about the webkit-changes
mailing list