summaryrefslogtreecommitdiffstats
path: root/layout/reftests/backgrounds/background-size-body-percent-percent-overflow.html
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/backgrounds/background-size-body-percent-percent-overflow.html
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/backgrounds/background-size-body-percent-percent-overflow.html')
-rw-r--r--layout/reftests/backgrounds/background-size-body-percent-percent-overflow.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/reftests/backgrounds/background-size-body-percent-percent-overflow.html b/layout/reftests/backgrounds/background-size-body-percent-percent-overflow.html
new file mode 100644
index 000000000..f38f92643
--- /dev/null
+++ b/layout/reftests/backgrounds/background-size-body-percent-percent-overflow.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>background-size: 100% 100%; on body</title>
+ <style type="text/css">
+body
+{
+ background-image: url(green-8x20-blue-8x20-vertical.png);
+ background-repeat: no-repeat;
+ background-attachment: fixed;
+ overflow: hidden;
+
+ /*
+ * This should not affect how the background paints, that is, how the
+ * background image is sized:
+ *
+ * If the ‘background-attachment’ value for this image is ‘fixed’ [...] the
+ * background positioning area is the initial containing block [CSS21].
+ *
+ * Thus '100% 100%' below is relative to the viewport size, so we expect to
+ * see a background which, modulo aliasing, is half green and half blue.
+ */
+ height: 10000px;
+
+ background-size: 100% 100%;
+}
+ </style>
+</head>
+<body>
+</body>
+</html>