aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Bell <bryan.w.bell@gmail.com>2015-03-02 21:04:42 -0800
committerBryan Bell <bryan.w.bell@gmail.com>2015-03-03 20:44:49 -0800
commit3b321789620aa7ae96ddfd8165a38a3d5db5ea0f (patch)
tree084b54030b41193e77a0cb1fb709f830c0b6cf65
parent2f3697f5f346cac7578883f452735d50b832c986 (diff)
downloadservo-3b321789620aa7ae96ddfd8165a38a3d5db5ea0f.tar.gz
servo-3b321789620aa7ae96ddfd8165a38a3d5db5ea0f.zip
Add inline-block overflow ref test
For https://github.com/servo/servo/issues/3725
-rw-r--r--tests/ref/basic.list1
-rw-r--r--tests/ref/inline_block_overflow.html6
-rw-r--r--tests/ref/inline_block_overflow_ref.html6
3 files changed, 13 insertions, 0 deletions
diff --git a/tests/ref/basic.list b/tests/ref/basic.list
index 9f25fa7af1d..87385a52989 100644
--- a/tests/ref/basic.list
+++ b/tests/ref/basic.list
@@ -145,6 +145,7 @@ fragment=top != ../html/acid2.html acid2_ref.html
== inline_block_baseline_a.html inline_block_baseline_ref.html
== inline_block_parent_width.html inline_block_parent_width_ref.html
== inline_block_parent_width_percentage.html inline_block_parent_width_ref.html
+== inline_block_overflow.html inline_block_overflow_ref.html
== float_table_a.html float_table_ref.html
== table_containing_block_a.html table_containing_block_ref.html
== link_style_order.html link_style_order_ref.html
diff --git a/tests/ref/inline_block_overflow.html b/tests/ref/inline_block_overflow.html
new file mode 100644
index 00000000000..5b5aa9d0130
--- /dev/null
+++ b/tests/ref/inline_block_overflow.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html>
+<body>
+ a<span style="display: inline-block; overflow: hidden">b</span>
+</body>
+</html>
diff --git a/tests/ref/inline_block_overflow_ref.html b/tests/ref/inline_block_overflow_ref.html
new file mode 100644
index 00000000000..63d14407d59
--- /dev/null
+++ b/tests/ref/inline_block_overflow_ref.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html>
+<body>
+ ab
+</body>
+</html>