diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-04-29 00:58:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-29 00:58:07 -0400 |
commit | d58ea974baff1b51a43d2e2bf4b287ff11991a8d (patch) | |
tree | 77da4be3491080af45d794f28e94f818a6efaeca /tests/wpt/web-platform-tests/css/css-multicol | |
parent | c58f91ec1fd51ab7caff7d2e1453a15db6d8eb45 (diff) | |
parent | c084436da7868db4ec43e8228f254abde16c5818 (diff) | |
download | servo-d58ea974baff1b51a43d2e2bf4b287ff11991a8d.tar.gz servo-d58ea974baff1b51a43d2e2bf4b287ff11991a8d.zip |
Auto merge of #23285 - servo-wpt-sync:wpt_update_29-04-2019, r=servo-wpt-sync
Sync WPT with upstream (29-04-2019)
Automated downstream sync of changes from upstream as of 29-04-2019.
[no-wpt-sync]
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-multicol')
6 files changed, 207 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-001-ref.html b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-001-ref.html new file mode 100644 index 00000000000..d25ecd08c85 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-001-ref.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html> + <meta charset="utf-8"> + <title>CSS Multi-column Layout Test: Test a multi-column container on button works with a column-span:all child</title> + <link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + + <style> + button { + width: 400px; + } + .inner { + column-count: 3; + column-rule: 6px solid; + } + h3 { + column-span: all; + outline: 1px solid blue; + } + </style> + + <button> + <div class="inner"> + <div>block1</div><div>block2</div> + <h3>spanner</h3> + <div>block3</div><div>block4</div> + </div> + </button> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-001.html b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-001.html new file mode 100644 index 00000000000..14833091c8f --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-001.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<html> + <meta charset="utf-8"> + <title>CSS Multi-column Layout Test: Test a multi-column container on button works with a column-span:all child</title> + <link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span"> + <link rel="match" href="multicol-span-all-button-001-ref.html"> + <meta name="assert" content="This test checks the page is rendered correctly for a multi-column container on button with a column-span:all child."> + + <style> + button { + column-count: 3; + column-rule: 6px solid; + width: 400px; + } + h3 { + column-span: all; + outline: 1px solid blue; + } + </style> + + <button> + <div>block1</div><div>block2</div> + <h3>spanner</h3> + <div>block3</div><div>block4</div> + </button> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-002-ref.html b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-002-ref.html new file mode 100644 index 00000000000..c9ec677335e --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-002-ref.html @@ -0,0 +1,38 @@ +<!DOCTYPE html> +<html> + <meta charset="utf-8"> + <title>CSS Multi-column Layout Test: Test a overflow:hidden and position:absolute multi-column container on button works with a column-span:all child and position:absolute boxes</title> + <link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + + <style> + button { + width: 400px; + padding: 1em; + overflow: hidden; + position: absolute; + } + .inner { + column-count: 3; + column-rule: 6px solid; + } + h3 { + column-span: all; + outline: 1px solid blue; + } + a { + position: absolute; + width: 1em; + height: 1em; + background-color: blue; + } + </style> + + <button> + <div class="inner"> + <div>block1</div><div>block2</div><a></a> + <h3>spanner<a></a></h3> + <div>block3</div><div>block4</div><a></a> + </div> + </button> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-002.html b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-002.html new file mode 100644 index 00000000000..874cb130dee --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-002.html @@ -0,0 +1,37 @@ +<!DOCTYPE html> +<html> + <meta charset="utf-8"> + <title>CSS Multi-column Layout Test: Test a overflow:hidden and position:absolute multi-column container on button works with a column-span:all child and position:absolute boxes</title> + <link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span"> + <link rel="match" href="multicol-span-all-button-002-ref.html"> + <meta name="assert" content="This test checks the page is rendered correctly for a overflow:hidden and position:absolute button multi-column container with a column-span:all child and position:absolute boxes."> + + <style> + button { + column-count: 3; + column-rule: 6px solid; + width: 400px; + padding: 1em; + overflow: hidden; + position: absolute; + } + h3 { + column-span: all; + outline: 1px solid blue; + } + a { + position: absolute; + width: 1em; + height: 1em; + background-color: blue; + } + </style> + + <button> + <div>block1</div><div>block2</div><a></a> + <h3>spanner<a></a></h3> + <div>block3</div><div>block4</div><a></a> + </button> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-003-ref.html b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-003-ref.html new file mode 100644 index 00000000000..337f9c763aa --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-003-ref.html @@ -0,0 +1,38 @@ +<!DOCTYPE html> +<html> + <meta charset="utf-8"> + <title>CSS Multi-column Layout Test: Test a overflow:hidden and position:absolute multi-column container on button works with a column-span:all child and position:fixed boxes</title> + <link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + + <style> + button { + width: 400px; + padding: 1em; + overflow: hidden; + position: absolute; + } + .inner { + column-count: 3; + column-rule: 6px solid; + } + h3 { + column-span: all; + outline: 1px solid blue; + } + a { + position: fixed; + width: 1em; + height: 1em; + background-color: blue; + } + </style> + + <button> + <div class="inner"> + <div>block1</div><div>block2</div><a></a> + <h3>spanner<a></a></h3> + <div>block3</div><div>block4</div><a></a> + </div> + </button> +</html> diff --git a/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-003.html b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-003.html new file mode 100644 index 00000000000..fc15c94a306 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-multicol/multicol-span-all-button-003.html @@ -0,0 +1,37 @@ +<!DOCTYPE html> +<html> + <meta charset="utf-8"> + <title>CSS Multi-column Layout Test: Test a overflow:hidden and position:absolute multi-column container on button works with a column-span:all child and position:fixed boxes</title> + <link rel="author" title="Ting-Yu Lin" href="tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> + <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span"> + <link rel="match" href="multicol-span-all-button-003-ref.html"> + <meta name="assert" content="This test checks the page is rendered correctly for a overflow:hidden and position:absolute button multi-column container with a column-span:all child and position:absolute boxes."> + + <style> + button { + column-count: 3; + column-rule: 6px solid; + width: 400px; + padding: 1em; + overflow: hidden; + position: absolute; + } + h3 { + column-span: all; + outline: 1px solid blue; + } + a { + position: fixed; + width: 1em; + height: 1em; + background-color: blue; + } + </style> + + <button> + <div>block1</div><div>block2</div><a></a> + <h3>spanner<a></a></h3> + <div>block3</div><div>block4</div><a></a> + </button> +</html> |