aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-values-3_dev/xhtml1/reference/support/min-width-tables-001-iframe.html
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-10-31 14:35:08 +0100
committerMs2ger <Ms2ger@gmail.com>2015-10-31 16:21:47 +0100
commit5450053b026bb842a00824ab0be1211ba0288540 (patch)
treeb5647bf0632bf902289f56125be5656981742e44 /tests/wpt/css-tests/css-values-3_dev/xhtml1/reference/support/min-width-tables-001-iframe.html
parentb492a3e8b1762491f84ab134d9d2904fce69b1ea (diff)
downloadservo-5450053b026bb842a00824ab0be1211ba0288540.tar.gz
servo-5450053b026bb842a00824ab0be1211ba0288540.zip
Update CSS tests to revision d13905941293af83ea8c3c1750dba652e0423fb0
Diffstat (limited to 'tests/wpt/css-tests/css-values-3_dev/xhtml1/reference/support/min-width-tables-001-iframe.html')
-rw-r--r--tests/wpt/css-tests/css-values-3_dev/xhtml1/reference/support/min-width-tables-001-iframe.html59
1 files changed, 59 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-values-3_dev/xhtml1/reference/support/min-width-tables-001-iframe.html b/tests/wpt/css-tests/css-values-3_dev/xhtml1/reference/support/min-width-tables-001-iframe.html
new file mode 100644
index 00000000000..edc548a6aab
--- /dev/null
+++ b/tests/wpt/css-tests/css-values-3_dev/xhtml1/reference/support/min-width-tables-001-iframe.html
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+<html><head>
+ <meta charset="utf-8">
+ <title>iframe containing the meat of the test</title>
+ <style>
+body {
+ margin: 0;
+ overflow: hidden;
+}
+/* green div that should cover the red divs */
+#green {
+ position: absolute;
+ left: 0;
+ top: 0;
+ background-color: green;
+ width: 100%;
+ height: 600px;
+}
+.spacer {
+ height: 98px;
+ width: 20px;
+}
+.item {
+ background-color: red;
+ display: block;/* property under test */
+ /* border to aid understanding of boundaries between items */
+ border-style: solid;
+ border-width: 1px;
+ border-color: red;/* Note: if you're trying to debug this, use a different color here */
+}
+/* 100px = 10*(1 + 8 + 1) */
+@media (min-width: 100px) {
+ #green {
+ width: 100px;
+ height: 100px;/* = 1 + 98 + 1 */
+ }
+ .item {
+ display: table-cell;/* property and value under test */
+ }
+}
+ </style>
+</head>
+<body>
+ <div>
+ <div class="item"><div class="spacer"></div></div>
+ <div class="item"><div class="spacer"></div></div>
+ <div class="item"><div class="spacer"></div></div>
+ <div class="item"><div class="spacer"></div></div>
+ <div class="item"><div class="spacer"></div></div>
+ <div class="item"><div class="spacer"></div></div>
+ <div class="item"><div class="spacer"></div></div>
+ <div class="item"><div class="spacer"></div></div>
+ <div class="item"><div class="spacer"></div></div>
+ <div class="item"><div class="spacer"></div></div>
+ </div>
+ <div id="green"></div>
+
+
+</body></html> \ No newline at end of file