diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-06-06 10:11:00 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-06-06 15:47:08 +0200 |
commit | 12fa92b4d6371e3fd96a4223142992e02a1d1dbe (patch) | |
tree | 900d578975aeb7869a1e1f670d8b4f0693e7c680 /tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference | |
parent | 1bc94c132e6820293c2178bf95991518b1e8a677 (diff) | |
download | servo-12fa92b4d6371e3fd96a4223142992e02a1d1dbe.tar.gz servo-12fa92b4d6371e3fd96a4223142992e02a1d1dbe.zip |
Update CSS tests to revision 611d962e1b6ae62ec89ab994c9f787e84ce11b15
Diffstat (limited to 'tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference')
5 files changed, 609 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-001-ref.xht b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-001-ref.xht new file mode 100644 index 00000000000..0e26061412a --- /dev/null +++ b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-001-ref.xht @@ -0,0 +1,121 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ +--><html xmlns="http://www.w3.org/1999/xhtml"><head> + <meta charset="utf-8" /> + <title>CSS Reftest Reference</title> + <link href="mailto:dholbert@mozilla.com" rel="author" title="Daniel Holbert" /> + <style> + .flexbox { + border: 1px solid black; + margin: 0 2px 2px 0; /* (Just for spacing things out, visually) */ + width: 40px; + height: 40px; + + float: left; /* For testing in "rows" */ + } + br { clear: both; } + + .flexbox > * { + /* Disable "min-width:auto"/"min-height:auto" to focus purely on + later channels of influence. */ + min-width: 0; + min-height: 0; + vertical-align: top; + } + </style> + </head> + <body> + <!-- NOTE: solidblue.png has an intrinsic size of 16px by 16px. --> + + <!-- Row 1: no special sizing: --> + <div class="flexbox"> + <img src="support/solidblue.png" /> + </div> + <br /> + + <!-- Row 2: Specified main-size, cross-size, or flex-basis: --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 30px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 30px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 30px" /> + </div> + <br /> + + <!-- Row 3: min main-size OR min cross-size, or both --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 34px; + height: 34px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 34px; + height: 34px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 34px; + height: 34px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 34px; + height: 34px" /> + </div> + <br /> + + <!-- Row 4: max main-size OR max cross-size, or both --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 6px; + height: 6px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 6px; + height: 6px" /> + </div> + <br /> + + <!-- Row 5: min main-size vs. max cross-size, & vice versa --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 30px" /> + </div> + <br /> + + <!-- Row 6: min|max main-size vs. explicit cross-size, & vice versa --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 30px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 30px" /> + </div> + + +</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-003-ref.xht b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-003-ref.xht new file mode 100644 index 00000000000..2b575ceb334 --- /dev/null +++ b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-003-ref.xht @@ -0,0 +1,122 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ +--><html xmlns="http://www.w3.org/1999/xhtml"><head> + <meta charset="utf-8" /> + <title>CSS Reftest Reference</title> + <link href="mailto:dholbert@mozilla.com" rel="author" title="Daniel Holbert" /> + <style> + .flexbox { + border: 1px solid black; + margin: 0 2px 2px 0; /* (Just for spacing things out, visually) */ + width: 40px; + height: 40px; + + float: left; /* For testing in "rows" */ + } + br { clear: both; } + + .flexbox > * { + /* Disable "min-width:auto"/"min-height:auto" to focus purely on + later channels of influence. */ + min-width: 0; + min-height: 0; + vertical-align: top; + } + </style> + </head> + <body> + <!-- NOTE: solidblue.png has an intrinsic size of 16px by 16px. --> + + <!-- Row 1: no special sizing: --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 16px; + height: 40px" /> + </div> + <br /> + + <!-- Row 2: Specified main-size, cross-size, or flex-basis: --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 30px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 40px" /> + </div> + <br /> + + <!-- Row 3: min main-size OR min cross-size, or both --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 34px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 34px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 34px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 34px; + height: 40px" /> + </div> + <br /> + + <!-- Row 4: max main-size OR max cross-size, or both --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 6px; + height: 6px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 6px; + height: 10px" /> + </div> + <br /> + + <!-- Row 5: min main-size vs. max cross-size, & vice versa --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 40px" /> + </div> + <br /> + + <!-- Row 6: min|max main-size vs. explicit cross-size, & vice versa --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 30px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 40px" /> + </div> + + +</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-004-ref.xht b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-004-ref.xht new file mode 100644 index 00000000000..5f975f642e3 --- /dev/null +++ b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-004-ref.xht @@ -0,0 +1,122 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ +--><html xmlns="http://www.w3.org/1999/xhtml"><head> + <meta charset="utf-8" /> + <title>CSS Reftest Reference</title> + <link href="mailto:dholbert@mozilla.com" rel="author" title="Daniel Holbert" /> + <style> + .flexbox { + border: 1px solid black; + margin: 0 2px 2px 0; /* (Just for spacing things out, visually) */ + width: 40px; + height: 40px; + + float: left; /* For testing in "rows" */ + } + br { clear: both; } + + .flexbox > * { + /* Disable "min-width:auto"/"min-height:auto" to focus purely on + later channels of influence. */ + min-width: 0; + min-height: 0; + vertical-align: top; + } + </style> + </head> + <body> + <!-- NOTE: solidblue.png has an intrinsic size of 16px by 16px. --> + + <!-- Row 1: no special sizing: --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 16px" /> + </div> + <br /> + + <!-- Row 2: Specified main-size, cross-size, or flex-basis: --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 30px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 30px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 30px" /> + </div> + <br /> + + <!-- Row 3: min main-size OR min cross-size, or both --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 34px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 34px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 34px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 34px" /> + </div> + <br /> + + <!-- Row 4: max main-size OR max cross-size, or both --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 6px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 6px; + height: 6px" /> + </div> + <br /> + + <!-- Row 5: min main-size vs. max cross-size, & vice versa --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 30px" /> + </div> + <br /> + + <!-- Row 6: min|max main-size vs. explicit cross-size, & vice versa --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 30px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 30px" /> + </div> + + +</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-005-ref.xht b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-005-ref.xht new file mode 100644 index 00000000000..7674aac0d34 --- /dev/null +++ b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-005-ref.xht @@ -0,0 +1,122 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ +--><html xmlns="http://www.w3.org/1999/xhtml"><head> + <meta charset="utf-8" /> + <title>CSS Reftest Reference</title> + <link href="mailto:dholbert@mozilla.com" rel="author" title="Daniel Holbert" /> + <style> + .flexbox { + border: 1px solid black; + margin: 0 2px 2px 0; /* (Just for spacing things out, visually) */ + width: 40px; + height: 40px; + + float: left; /* For testing in "rows" */ + } + br { clear: both; } + + .flexbox > * { + /* Disable "min-width:auto"/"min-height:auto" to focus purely on + later channels of influence. */ + min-width: 0; + min-height: 0; + vertical-align: top; + } + </style> + </head> + <body> + <!-- NOTE: solidblue.png has an intrinsic size of 16px by 16px. --> + + <!-- Row 1: no special sizing: --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <br /> + + <!-- Row 2: Specified main-size, cross-size, or flex-basis: --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 30px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <br /> + + <!-- Row 3: min main-size OR min cross-size, or both --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <br /> + + <!-- Row 4: max main-size OR max cross-size, or both --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 6px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 6px; + height: 6px" /> + </div> + <br /> + + <!-- Row 5: min main-size vs. max cross-size, & vice versa --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 30px" /> + </div> + <br /> + + <!-- Row 6: min|max main-size vs. explicit cross-size, & vice versa --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 30px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + + +</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-006-ref.xht b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-006-ref.xht new file mode 100644 index 00000000000..1f7a24a1173 --- /dev/null +++ b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/reference/flexbox-intrinsic-ratio-006-ref.xht @@ -0,0 +1,122 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ +--><html xmlns="http://www.w3.org/1999/xhtml"><head> + <meta charset="utf-8" /> + <title>CSS Reftest Reference</title> + <link href="mailto:dholbert@mozilla.com" rel="author" title="Daniel Holbert" /> + <style> + .flexbox { + border: 1px solid black; + margin: 0 2px 2px 0; /* (Just for spacing things out, visually) */ + width: 40px; + height: 40px; + + float: left; /* For testing in "rows" */ + } + br { clear: both; } + + .flexbox > * { + /* Disable "min-width:auto"/"min-height:auto" to focus purely on + later channels of influence. */ + min-width: 0; + min-height: 0; + vertical-align: top; + } + </style> + </head> + <body> + <!-- NOTE: solidblue.png has an intrinsic size of 16px by 16px. --> + + <!-- Row 1: no special sizing: --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <br /> + + <!-- Row 2: Specified main-size, cross-size, or flex-basis: --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <br /> + + <!-- Row 3: min main-size OR min cross-size, or both --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <br /> + + <!-- Row 4: max main-size OR max cross-size, or both --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 6px; + height: 6px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 6px; + height: 10px" /> + </div> + <br /> + + <!-- Row 5: min main-size vs. max cross-size, & vice versa --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 40px" /> + </div> + <br /> + + <!-- Row 6: min|max main-size vs. explicit cross-size, & vice versa --> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 40px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 30px; + height: 10px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 40px" /> + </div> + <div class="flexbox"> + <img src="support/solidblue.png" style="width: 10px; + height: 40px" /> + </div> + + +</body></html>
\ No newline at end of file |