aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ref')
-rw-r--r--tests/ref/basic.list1
-rw-r--r--tests/ref/block_formatting_context_with_margin_a.html29
-rw-r--r--tests/ref/block_formatting_context_with_margin_ref.html28
3 files changed, 58 insertions, 0 deletions
diff --git a/tests/ref/basic.list b/tests/ref/basic.list
index 60fd6bb7f45..b84de8320a1 100644
--- a/tests/ref/basic.list
+++ b/tests/ref/basic.list
@@ -43,6 +43,7 @@ flaky_cpu == append_style_a.html append_style_b.html
== block_formatting_context_float_placement_a.html block_formatting_context_float_placement_ref.html
== block_formatting_context_relative_a.html block_formatting_context_ref.html
== block_formatting_context_translation_a.html block_formatting_context_translation_ref.html
+== block_formatting_context_with_margin_a.html block_formatting_context_with_margin_ref.html
== block_image.html 500x300_green.html
!= block_image.html noteq_500x300_white.html
== block_replaced_content_a.html block_replaced_content_ref.html
diff --git a/tests/ref/block_formatting_context_with_margin_a.html b/tests/ref/block_formatting_context_with_margin_a.html
new file mode 100644
index 00000000000..0259628231e
--- /dev/null
+++ b/tests/ref/block_formatting_context_with_margin_a.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<style>
+#float {
+ float: right;
+ width: 150px;
+}
+
+section {
+ margin-right: 450px;
+ background: gold;
+}
+
+#a {
+ font-size: 48px;
+ overflow: hidden;
+}
+</style>
+</head>
+
+<body>
+<div id=float></div>
+<section>
+ <div id=a>set breakpoints from within the comfort of your editor</div>
+</section>
+</body>
+</html>
diff --git a/tests/ref/block_formatting_context_with_margin_ref.html b/tests/ref/block_formatting_context_with_margin_ref.html
new file mode 100644
index 00000000000..9ca4146bf63
--- /dev/null
+++ b/tests/ref/block_formatting_context_with_margin_ref.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+
+<html>
+<head>
+<style>
+#float {
+ float: right;
+ width: 150px;
+}
+
+section {
+ margin-right: 450px;
+ background: gold;
+}
+
+#a {
+ font-size: 48px;
+}
+</style>
+</head>
+
+<body>
+<div id=float></div>
+<section>
+ <div id=a>set breakpoints from within the comfort of your editor</div>
+</section>
+</body>
+</html>