Skip to content

Commit

Permalink
Update backgrounds on transformed root element tests
Browse files Browse the repository at this point in the history
It was decided that transforms on the root element and on the canvas should not apply to the background-image.
See: w3c/csswg-drafts#6683 (comment)
  • Loading branch information
nt1m committed Oct 6, 2022
1 parent c7c8933 commit aaf110d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 22 deletions.
3 changes: 1 addition & 2 deletions css/css-transforms/transform-background-007.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
filled with triangles that were originally above the top of the viewport;
the original top row of triangles will now be on the left.'>
<meta name="flags" content="svg">
<link rel="match" href="transform-background-ref-2.html">
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-4800">
<link rel="match" href="transform-root-bg-001-ref.html">
<style>
html {
overflow: hidden;
Expand Down
3 changes: 1 addition & 2 deletions css/css-transforms/transform-background-008.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
root element instead of being specified on the body and propagating to the
root.'>
<meta name="flags" content="svg">
<link rel="match" href="transform-background-ref-2.html">
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-4800">
<link rel="match" href="transform-root-bg-001-ref.html">
<style>
html {
background: url(support/transform-triangle-left.svg);
Expand Down
2 changes: 1 addition & 1 deletion css/css-transforms/transform-root-bg-001-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
<style>
html {
background: url(support/transform-triangle-right.svg) top right;
background: url(support/transform-triangle-left.svg) top left;
}
body {
/* The default 8px margin makes the background not line up exactly */
Expand Down
16 changes: 0 additions & 16 deletions css/css-transforms/transform-root-bg-003-ref.html

This file was deleted.

2 changes: 1 addition & 1 deletion css/css-transforms/transform-root-bg-003.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
transform-root-bg-001.html, except that it uses scale(0.5) instead of
scale(-1). It also specifies a transform-origin, because the default of
50% 50% wouldn't work well with the way the reference image is constructed.">
<link rel="match" href="transform-root-bg-003-ref.html">
<link rel="match" href="transform-root-bg-001-ref.html">
<style>
html {
background: url(support/transform-triangle-left.svg);
Expand Down

0 comments on commit aaf110d

Please sign in to comment.