diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/basic.list | 1 | ||||
-rw-r--r-- | tests/ref/input_button_margins_a.html | 2 | ||||
-rw-r--r-- | tests/ref/input_button_margins_ref.html | 1 | ||||
-rw-r--r-- | tests/ref/margin_padding_inline_block_a.html | 10 | ||||
-rw-r--r-- | tests/ref/margin_padding_inline_block_ref.html | 17 |
5 files changed, 31 insertions, 0 deletions
diff --git a/tests/ref/basic.list b/tests/ref/basic.list index c7aeb3a1de8..e68864215a6 100644 --- a/tests/ref/basic.list +++ b/tests/ref/basic.list @@ -224,6 +224,7 @@ flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html != list_style_type_a.html list_style_type_ref.html == many_brs_a.html many_brs_ref.html == margin_a.html margin_b.html +== margin_padding_inline_block_a.html margin_padding_inline_block_ref.html == margins_inside_floats_a.html margins_inside_floats_ref.html == marker_block_direction_placement_a.html marker_block_direction_placement_ref.html == max_width_float_simple_a.html max_width_float_simple_b.html diff --git a/tests/ref/input_button_margins_a.html b/tests/ref/input_button_margins_a.html index b35a3b5ccb6..a207daac455 100644 --- a/tests/ref/input_button_margins_a.html +++ b/tests/ref/input_button_margins_a.html @@ -5,6 +5,8 @@ body, html { } input { margin-left: 64px; + border: none; + vertical-align: top; } </style> <input type=button value=Hello> diff --git a/tests/ref/input_button_margins_ref.html b/tests/ref/input_button_margins_ref.html index 07ecda7c227..63b80497bf4 100644 --- a/tests/ref/input_button_margins_ref.html +++ b/tests/ref/input_button_margins_ref.html @@ -6,6 +6,7 @@ body, html { input { position: absolute; left: 64px; + border: none; } </style> <input type=button value=Hello> diff --git a/tests/ref/margin_padding_inline_block_a.html b/tests/ref/margin_padding_inline_block_a.html new file mode 100644 index 00000000000..d2a8f5d4b82 --- /dev/null +++ b/tests/ref/margin_padding_inline_block_a.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<style> +html, body { + margin: 0; +} +</style> +<div><span style="padding-left: 100px; display: inline-block">Boo</span></div> +<div><span style="padding-left: 100px">Foo</span></div> +<div><span style="margin-left: 100px">Foo</span></div> + diff --git a/tests/ref/margin_padding_inline_block_ref.html b/tests/ref/margin_padding_inline_block_ref.html new file mode 100644 index 00000000000..58f5ba65980 --- /dev/null +++ b/tests/ref/margin_padding_inline_block_ref.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<style> +html, body { + margin: 0; +} +div { + position: relative; +} +span { + position: relative; + left: 100px; +} +</style> +<div><span>Boo</span></div> +<div><span>Foo</span></div> +<div><span>Foo</span></div> + |