diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/reference')
3 files changed, 14 insertions, 2 deletions
diff --git a/testing/web-platform/tests/css/css-contain/reference/contain-layout-baseline-005-ref.html b/testing/web-platform/tests/css/css-contain/reference/contain-layout-baseline-005-ref.html index 360652c939..83340137ac 100644 --- a/testing/web-platform/tests/css/css-contain/reference/contain-layout-baseline-005-ref.html +++ b/testing/web-platform/tests/css/css-contain/reference/contain-layout-baseline-005-ref.html @@ -39,7 +39,6 @@ fieldset, details { <div class="wrapper"> <canvas></canvas> <div class="inline-block">foo</div> - <button>foo</button> <select><option>foo</option></select> <select multiple style="height: 40px;"><option>foo</option></select> <textarea style="height: 40px;"></textarea> diff --git a/testing/web-platform/tests/css/css-contain/reference/contain-layout-button-001-ref.html b/testing/web-platform/tests/css/css-contain/reference/contain-layout-button-001-ref.html index da83204dce..c20efbbb39 100644 --- a/testing/web-platform/tests/css/css-contain/reference/contain-layout-button-001-ref.html +++ b/testing/web-platform/tests/css/css-contain/reference/contain-layout-button-001-ref.html @@ -7,7 +7,7 @@ div.fakeButton { display: inline-block; border: 5px solid green; padding: 0; - margin-bottom: 2px; + margin-bottom: -5px; color: transparent; width: 0; height: 0px; diff --git a/testing/web-platform/tests/css/css-contain/reference/contain-layout-button-002-ref.html b/testing/web-platform/tests/css/css-contain/reference/contain-layout-button-002-ref.html new file mode 100644 index 0000000000..85b98ee4a6 --- /dev/null +++ b/testing/web-platform/tests/css/css-contain/reference/contain-layout-button-002-ref.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<style> +button { + border: 5px solid green; + padding: 10px; + margin-bottom: 2px; + color: transparent; + width: 20px; + height: 20px; +} +</style> +<p>This test passes if it has the same output as the reference.</p> +<button></button> <button></button> |