aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-values-3_dev/xhtml1/attr-px-invalid-fallback.xht
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/css-tests/css-values-3_dev/xhtml1/attr-px-invalid-fallback.xht')
-rw-r--r--tests/wpt/css-tests/css-values-3_dev/xhtml1/attr-px-invalid-fallback.xht36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-values-3_dev/xhtml1/attr-px-invalid-fallback.xht b/tests/wpt/css-tests/css-values-3_dev/xhtml1/attr-px-invalid-fallback.xht
new file mode 100644
index 00000000000..fcb3ddec647
--- /dev/null
+++ b/tests/wpt/css-tests/css-values-3_dev/xhtml1/attr-px-invalid-fallback.xht
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+
+ <title>
+ CSS Values and Units Test:
+ Attribute references (pixels)
+ </title>
+ <meta content="
+ When the fallback of a pixel attribute reference is invalid, the declaration is ignored.
+ " name="assert" />
+
+ <link href="mailto:fremycompany.developer@yahoo.fr" rel="author" title="François REMY" />
+
+ <link href="http://www.w3.org/TR/css3-values/#attr-notation" rel="help" />
+
+ <link href="reference/200-200-green.xht" rel="match" />
+
+ <style type="text/css">
+
+ html, body { margin: 0px; padding: 0px; }
+
+ html { background: white; overflow: hidden; }
+ #outer { position: relative; background: green; }
+
+ #outer { width: 200px; width: attr(data-test px, 300px); height: 200px; }
+
+ </style>
+
+</head>
+<body>
+
+ <div data-test="300" id="outer"></div>
+
+
+
+</body></html> \ No newline at end of file