Remove css-transforms tests of units in svg transform attributes #28356
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch removes WPT tests that were covering units, following the css
transform syntax, in the svg transform attribute. These tests were
correct when added but this is is not supported in any engine and
w3c/csswg-drafts#2623 resolved to not use
CSS parsing rules for the SVG transform attribute. The spec for this is:
https://www.w3.org/TR/css-transforms-1/#svg-syntax
In addition to removing tests, the following tests have been modified to
not rely on this behavior:
translate/svg-translate-049.html
translate/svg-translate-050.html
translate/svg-translate-051.html
translate/svg-translate-052.html
translate/svg-translate-053.html
translate/svg-translate-054.html
translate/svg-translate-055.html
translate/svg-translate-multiple-001.html
translate-and-transform-attribute-in-svg.html
The following tests have been added to ensure units do not apply:
skewX/svg-skewx-with-units.html
skewY/svg-skewy-with-units.html
translate/svg-translate-with-units.html
Bug: 1194735
Change-Id: I157b51826fdd8ba82bc550089876ad08d73cf970
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2801330
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#869584}