summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/subpixel-table-cell-width-001-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-tables/subpixel-table-cell-width-001-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-tables/subpixel-table-cell-width-001-ref.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-tables/subpixel-table-cell-width-001-ref.html b/testing/web-platform/tests/css/css-tables/subpixel-table-cell-width-001-ref.html
new file mode 100644
index 0000000000..ea2f38b6bb
--- /dev/null
+++ b/testing/web-platform/tests/css/css-tables/subpixel-table-cell-width-001-ref.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<style>
+ div {
+ font-size: 0; /* so I can leave spaces between the child divs */
+ height: 20px;
+ }
+ div > div {
+ display: inline-block;
+ }
+ div > div:first-child {
+ background: blue;
+ }
+ div > div:nth-child(2) {
+ background: lime;
+ }
+</style>
+
+<div>
+ <div style="width:3.6px;"></div>
+ <div style="width:3.6px;"></div>
+</div>
+
+<br><br>
+
+<div>
+ <div style="width:3.3px;"></div>
+ <div style="width:3.3px;"></div>
+</div>