diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-04-22 10:06:45 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-04-22 10:06:45 +0200 |
commit | 4d13f9f5d5cbca8de0c950a4d2344fc312a9c186 (patch) | |
tree | 3a464e916a278b3518c5235d5f178b27e8820222 /tests/wpt/css-tests/css-values-3_dev/html | |
parent | 0e0e902edd200359db6ae06cd149fb1b0a97fcc6 (diff) | |
download | servo-4d13f9f5d5cbca8de0c950a4d2344fc312a9c186.tar.gz servo-4d13f9f5d5cbca8de0c950a4d2344fc312a9c186.zip |
Update CSS tests to revision b9c63d615a65c4d96f26969bcd504d4e1c3cdab8
Diffstat (limited to 'tests/wpt/css-tests/css-values-3_dev/html')
7 files changed, 174 insertions, 57 deletions
diff --git a/tests/wpt/css-tests/css-values-3_dev/html/chapter-5.htm b/tests/wpt/css-tests/css-values-3_dev/html/chapter-5.htm index 95cbfdc523e..b573fe23f01 100644 --- a/tests/wpt/css-tests/css-values-3_dev/html/chapter-5.htm +++ b/tests/wpt/css-tests/css-values-3_dev/html/chapter-5.htm @@ -13,7 +13,7 @@ <body> <h1>CSS Values and Units Module Level 3 CR Test Suite</h1> - <h2>Distance Units: the <length> type (30 tests)</h2> + <h2>Distance Units: the <length> type (32 tests)</h2> <table width="100%"> <col id="test-column"> <col id="refs-column"> @@ -169,7 +169,7 @@ <tr><th colspan="4" scope="rowgroup"> <a href="#s5.1.2">+</a> <a href="https://www.w3.org/TR/css3-values/#viewport-relative-lengths">5.1.2 Viewport-percentage lengths: the vw, vh, vmin, vmax units</a></th></tr> - <!-- 21 tests --> + <!-- 23 tests --> <tr id="absolute_length_units-5.1.2" class=""> <td> <a href="absolute_length_units.htm">absolute_length_units</a></td> @@ -335,6 +335,17 @@ </ul> </td> </tr> + <tr id="vh-support-transform-origin-iframe-5.1.2" class=""> + <td> + <a href="vh-support-transform-origin-iframe.htm">vh-support-transform-origin-iframe</a></td> + <td></td> + <td></td> + <td>Viewports units are supported in transform properties (iframe) + <ul class="assert"> + <li>Viewports units are supported in transform properties (translate)</li> + </ul> + </td> + </tr> <tr id="vh-support-transform-translate-5.1.2" class=""> <td> <a href="vh-support-transform-translate.htm">vh-support-transform-translate</a></td> @@ -346,6 +357,17 @@ </ul> </td> </tr> + <tr id="vh-support-transform-translate-iframe-5.1.2" class=""> + <td> + <a href="vh-support-transform-translate-iframe.htm">vh-support-transform-translate-iframe</a></td> + <td></td> + <td></td> + <td>Viewports units are supported in transform properties (iframe) + <ul class="assert"> + <li>Viewports units are supported in transform properties (translate)</li> + </ul> + </td> + </tr> <tr id="vh-zero-support-5.1.2" class=""> <td> <a href="vh-zero-support.htm">vh-zero-support</a></td> diff --git a/tests/wpt/css-tests/css-values-3_dev/html/chapter-9.htm b/tests/wpt/css-tests/css-values-3_dev/html/chapter-9.htm index b2ea19cf5ef..bfdf5647a13 100644 --- a/tests/wpt/css-tests/css-values-3_dev/html/chapter-9.htm +++ b/tests/wpt/css-tests/css-values-3_dev/html/chapter-9.htm @@ -45,160 +45,160 @@ <tbody id="s.#acknowledgments"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-compositing-1"> + <tbody id="s.#changes"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-animations-1"> + <tbody id="s.#conformance"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-backgrounds-3"> + <tbody id="s.#contents"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-break-3"> + <tbody id="s.#index"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-cascade-4"> + <tbody id="s.#references"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-color-3"> + <tbody id="s.#status"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-color-4"> + <tbody id="s.#subtitle"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-counter-styles-3"> + <tbody id="s.#title"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-fonts-3"> + <tbody id="sconformance.#conformance-classes"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-images-3"> + <tbody id="sconformance.#conventions"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-overflow-3"> + <tbody id="sconformance.#experimental"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-syntax-3"> + <tbody id="sconformance.#partial"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-text-3"> + <tbody id="sconformance.#testing"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-text-decor-3"> + <tbody id="sconventions.#example-f839f6c8"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-transitions-1"> + <tbody id="sindex.#index-defined-elsewhere"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css-ui-3"> + <tbody id="sindex.#index-defined-here"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css21"> + <tbody id="sinformative.#biblio-mediaq"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css3-fonts"> + <tbody id="sinformative.#biblio-rfc6694"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css3-images"> + <tbody id="snormative.#biblio-compositing-1"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css3bg"> + <tbody id="snormative.#biblio-css-animations-1"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css3cascade"> + <tbody id="snormative.#biblio-css-backgrounds-3"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css3color"> + <tbody id="snormative.#biblio-css-break-3"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css3namespace"> + <tbody id="snormative.#biblio-css-cascade-4"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css3page"> + <tbody id="snormative.#biblio-css-color-3"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-css3syn"> + <tbody id="snormative.#biblio-css-color-4"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-dom-ls"> + <tbody id="snormative.#biblio-css-counter-styles-3"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-filters-1"> + <tbody id="snormative.#biblio-css-fonts-3"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-mediaq"> + <tbody id="snormative.#biblio-css-images-3"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-mediaqueries-4"> + <tbody id="snormative.#biblio-css-overflow-3"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-rfc2119"> + <tbody id="snormative.#biblio-css-syntax-3"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-rfc6694"> + <tbody id="snormative.#biblio-css-text-3"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-selectors-4"> + <tbody id="snormative.#biblio-css-text-decor-3"> <!-- 0 tests --> </tbody> - <tbody id="s.#biblio-url"> + <tbody id="snormative.#biblio-css-transitions-1"> <!-- 0 tests --> </tbody> - <tbody id="s.#changes"> + <tbody id="snormative.#biblio-css-ui-3"> <!-- 0 tests --> </tbody> - <tbody id="s.#conformance"> + <tbody id="snormative.#biblio-css21"> <!-- 0 tests --> </tbody> - <tbody id="s.#conformance-classes"> + <tbody id="snormative.#biblio-css3-fonts"> <!-- 0 tests --> </tbody> - <tbody id="s.#contents"> + <tbody id="snormative.#biblio-css3-images"> <!-- 0 tests --> </tbody> - <tbody id="s.#conventions"> + <tbody id="snormative.#biblio-css3bg"> <!-- 0 tests --> </tbody> - <tbody id="s.#example-f839f6c8"> + <tbody id="snormative.#biblio-css3cascade"> <!-- 0 tests --> </tbody> - <tbody id="s.#experimental"> + <tbody id="snormative.#biblio-css3color"> <!-- 0 tests --> </tbody> - <tbody id="s.#index"> + <tbody id="snormative.#biblio-css3namespace"> <!-- 0 tests --> </tbody> - <tbody id="s.#index-defined-elsewhere"> + <tbody id="snormative.#biblio-css3page"> <!-- 0 tests --> </tbody> - <tbody id="s.#index-defined-here"> + <tbody id="snormative.#biblio-css3syn"> <!-- 0 tests --> </tbody> - <tbody id="s.#informative"> + <tbody id="snormative.#biblio-dom-ls"> <!-- 0 tests --> </tbody> - <tbody id="s.#normative"> + <tbody id="snormative.#biblio-filters-1"> <!-- 0 tests --> </tbody> - <tbody id="s.#partial"> + <tbody id="snormative.#biblio-mediaqueries-4"> <!-- 0 tests --> </tbody> - <tbody id="s.#references"> + <tbody id="snormative.#biblio-rfc2119"> <!-- 0 tests --> </tbody> - <tbody id="s.#status"> + <tbody id="snormative.#biblio-selectors-4"> <!-- 0 tests --> </tbody> - <tbody id="s.#subtitle"> + <tbody id="snormative.#biblio-url"> <!-- 0 tests --> </tbody> - <tbody id="s.#testing"> + <tbody id="sreferences.#informative"> <!-- 0 tests --> </tbody> - <tbody id="s.#title"> + <tbody id="sreferences.#normative"> <!-- 0 tests --> </tbody> - <tbody id="s.#w3c_process_revision"> + <tbody id="sstatus.#w3c_process_revision"> <!-- 0 tests --> </tbody> </table> diff --git a/tests/wpt/css-tests/css-values-3_dev/html/toc.htm b/tests/wpt/css-tests/css-values-3_dev/html/toc.htm index 10a0ffa008d..ccc64ff69e0 100644 --- a/tests/wpt/css-tests/css-values-3_dev/html/toc.htm +++ b/tests/wpt/css-tests/css-values-3_dev/html/toc.htm @@ -42,7 +42,7 @@ <tbody id="s5"> <tr><th><a href="chapter-5.htm">Chapter 5 - Distance Units: the <length> type</a></th> - <td>(30 Tests)</td></tr> + <td>(32 Tests)</td></tr> </tbody> <tbody id="s6"> <tr><th><a href="chapter-6.htm">Chapter 6 - diff --git a/tests/wpt/css-tests/css-values-3_dev/html/vh-support-transform-origin-iframe.htm b/tests/wpt/css-tests/css-values-3_dev/html/vh-support-transform-origin-iframe.htm new file mode 100644 index 00000000000..aca5d3a0756 --- /dev/null +++ b/tests/wpt/css-tests/css-values-3_dev/html/vh-support-transform-origin-iframe.htm @@ -0,0 +1,48 @@ +<!DOCTYPE html> +<html><head> + <meta charset="utf-8"> + <title> + CSS Values and Units Test: + Viewports units are supported in transform properties (iframe) + </title> + <meta content=" + Viewports units are supported in transform properties (translate) + " name="assert"> + + <link href="mailto:fremycompany.developer@yahoo.fr" rel="author" title="François REMY"> + + <link href="http://www.w3.org/TR/css3-values/#viewport-relative-lengths" rel="help"> + <link href="http://www.w3.org/TR/css3-2d-transforms/#css-values" rel="help"> + + <style type="text/css"> + + html, body { margin: 0px; padding: 0px; overflow: hidden; } + + html { background: green; } + #target, #over-target { + position: absolute; top: 0px; left: 0px; + width: 100px; height: 100px; + transform: scale(0.5); + } + + #target { + background: red; + transform-origin: 200px 200px; + } + + #over-target { + background: green; + transform-origin: 50vw 50vh; + } + + </style> + +</head> +<body> + + <div id="target"></div> + <div id="over-target"></div> + + + +</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-values-3_dev/html/vh-support-transform-origin.htm b/tests/wpt/css-tests/css-values-3_dev/html/vh-support-transform-origin.htm index debb88c3535..108f349365d 100644 --- a/tests/wpt/css-tests/css-values-3_dev/html/vh-support-transform-origin.htm +++ b/tests/wpt/css-tests/css-values-3_dev/html/vh-support-transform-origin.htm @@ -28,7 +28,7 @@ </head> <body> - <iframe src="iframe/vh-support-transform-origin.html"></iframe> + <iframe src="iframe/vh-support-transform-origin-iframe.html"></iframe> diff --git a/tests/wpt/css-tests/css-values-3_dev/html/vh-support-transform-translate-iframe.htm b/tests/wpt/css-tests/css-values-3_dev/html/vh-support-transform-translate-iframe.htm new file mode 100644 index 00000000000..69de40e10a7 --- /dev/null +++ b/tests/wpt/css-tests/css-values-3_dev/html/vh-support-transform-translate-iframe.htm @@ -0,0 +1,47 @@ +<!DOCTYPE html> +<html><head> + <meta charset="utf-8"> + <title> + CSS Values and Units Test: + Viewports units are supported in transform properties (iframe) + </title> + <meta content=" + Viewports units are supported in transform properties (translate) + " name="assert"> + + <link href="mailto:fremycompany.developer@yahoo.fr" rel="author" title="François REMY"> + + <link href="http://www.w3.org/TR/css3-values/#viewport-relative-lengths" rel="help"> + <link href="http://www.w3.org/TR/css3-2d-transforms/#css-values" rel="help"> + + <style type="text/css"> + + html, body { margin: 0px; padding: 0px; overflow: hidden; } + + html { background: green; } + #target, #over-target { + position: absolute; top: 0px; left: 0px; + width: 100px; height: 100px; + } + + #target { + background: red; + transform: translate(200px, 200px); + } + + #over-target { + background: green; + transform: translate(50vw, 50vh); + } + + </style> + +</head> +<body> + + <div id="target"></div> + <div id="over-target"></div> + + + +</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-values-3_dev/html/vh-support-transform-translate.htm b/tests/wpt/css-tests/css-values-3_dev/html/vh-support-transform-translate.htm index d615b52451e..3ad042c33a0 100644 --- a/tests/wpt/css-tests/css-values-3_dev/html/vh-support-transform-translate.htm +++ b/tests/wpt/css-tests/css-values-3_dev/html/vh-support-transform-translate.htm @@ -28,7 +28,7 @@ </head> <body> - <iframe src="iframe/vh-support-transform-translate.html"></iframe> + <iframe src="iframe/vh-support-transform-translate-iframe.html"></iframe> |