Bug 1319892 - Turn the reftest for
bug 735857 into a web platform reftest. r=mstange
MozReview-Commit-ID: FTnk8t72Wb9
deleted file mode 100644
--- a/layout/reftests/backgrounds/fixed-bg-inside-transform-ref.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<html>
-<head>
-<style>
- body {
- height: 4000px;
- margin: 0;
- }
-
- #outer {
- margin: 200px;
- height: 700px;
- width: 300px;
- transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- overflow: hidden;
- }
-
- #inner {
- height: 700px;
- background-image: radial-gradient(farthest-corner at center, blue, black);
- background-size: 300px 300px;
- background-position: 200px 200px;
- background-color: lime;
- background-repeat: no-repeat;
- background-attachment: scroll;
- }
-</style>
-</head>
-<body>
-<div id="outer">
- <div id="inner">
- </div>
-</div>
-</body>
-</html>
deleted file mode 100644
--- a/layout/reftests/backgrounds/fixed-bg-inside-transform.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<html>
-<head>
-<style>
- body {
- height: 4000px;
- margin: 0;
- }
-
- #outer {
- margin: 200px;
- height: 700px;
- width: 300px;
- transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- overflow: hidden;
- }
-
- #inner {
- height: 700px;
- background-image: radial-gradient(farthest-corner at center, blue, black);
- background-size: 300px 300px;
- background-position: 200px 200px;
- background-color: lime;
- background-repeat: no-repeat;
- background-attachment: fixed;
- }
-</style>
-</head>
-<body>
-<div id="outer">
- <div id="inner">
- </div>
-</div>
-</body>
-</html>
--- a/layout/reftests/backgrounds/reftest.list
+++ b/layout/reftests/backgrounds/reftest.list
@@ -128,17 +128,16 @@ random-if(OSX==1010) == background-size-
# doesn't sample too far astray from the boundaries).
fails == background-size-zoom-repeat.html background-size-zoom-repeat-ref.html
# -moz-default-background-color and -moz-default-color (bug 591341)
== background-moz-default-background-color.html background-moz-default-background-color-ref.html
== fixed-bg-with-transform-outside-viewport-1.html fixed-bg-with-transform-outside-viewport-ref.html
fuzzy(2,83) == fixed-bg-border-radius.html fixed-bg-border-radius-ref.html
-== fixed-bg-inside-transform.html fixed-bg-inside-transform-ref.html
HTTP == root-background-1.html root-background-ref.html
HTTP != root-background-1.html about:blank
== really-big-background.html really-big-background-ref.html
== body-background.html body-background-ref.html
== table-background.html table-background-ref.html
== table-background-print.html table-background-print-ref.html
new file mode 100644
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/background/background-attachment-fixed-inside-transform-1-ref.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>CSS Background: background-attachment: background-attachment:fixed inside a transform</title>
+ <link rel="author" title="Botond Ballo" href="mailto:botond@mozilla.com">
+ <link rel="author" title="Mozilla" href="https://www.mozilla.org">
+ <style type="text/css">
+ body {
+ height: 4000px;
+ margin: 0;
+ }
+
+ #outer {
+ margin: 200px;
+ height: 700px;
+ width: 300px;
+ transform: rotate(45deg);
+ overflow: hidden;
+ }
+
+ #inner {
+ height: 700px;
+ background-image: radial-gradient(farthest-corner at center, blue, black);
+ background-size: 300px 300px;
+ background-position: 200px 200px;
+ background-color: lime;
+ background-repeat: no-repeat;
+ background-attachment: scroll;
+ }
+ </style>
+ </head>
+ <body>
+ <div id="outer">
+ <div id="inner">
+ </div>
+ </div>
+ </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/background/background-attachment-fixed-inside-transform-1.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>CSS Background: background-attachment: background-attachment:fixed inside a transform</title>
+ <link rel="author" title="Botond Ballo" href="mailto:botond@mozilla.com">
+ <link rel="author" title="Mozilla" href="https://www.mozilla.org">
+ <link rel="help" href="https://www.w3.org/TR/css-transforms-1/#transform-rendering">
+ <link rel="match" href="background-attachment-fixed-inside-transform-1-ref.html">
+ <meta name="assert" content="Test checks whether background-attachment: 'fixed' inside a transform behaves like background-attachment: 'scroll'.">
+ <style>
+ body {
+ height: 4000px;
+ margin: 0;
+ }
+
+ #outer {
+ margin: 200px;
+ height: 700px;
+ width: 300px;
+ transform: rotate(45deg);
+ overflow: hidden;
+ }
+
+ #inner {
+ height: 700px;
+ background-image: radial-gradient(farthest-corner at center, blue, black);
+ background-size: 300px 300px;
+ background-position: 200px 200px;
+ background-color: lime;
+ background-repeat: no-repeat;
+ background-attachment: fixed;
+ }
+ </style>
+ </head>
+ <body>
+ <div id="outer">
+ <div id="inner">
+ </div>
+ </div>
+ </body>
+</html>
--- a/layout/reftests/w3c-css/submitted/background/reftest.list
+++ b/layout/reftests/w3c-css/submitted/background/reftest.list
@@ -28,8 +28,11 @@
== border-image-repeat-space-3.html border-image-repeat-space-3-ref.html
== border-image-repeat-space-4.html border-image-repeat-space-4-ref-1.html
== border-image-repeat-space-4-ref-1.html border-image-repeat-space-4-ref-2.html
== border-image-repeat-space-5.html border-image-repeat-space-5-ref-1.html
== border-image-repeat-space-5-ref-1.html border-image-repeat-space-5-ref-2.html
== border-image-repeat-space-6.html border-image-repeat-space-6-ref.html
== border-image-repeat-space-7.html border-image-repeat-space-7-ref.html
== border-image-repeat-1.html border-image-repeat-1-ref.html
+
+# background-attachment test cases
+== background-attachment-fixed-inside-transform-1.html background-attachment-fixed-inside-transform-1-ref.html