mirror of
https://github.com/servo/servo.git
synced 2025-08-26 07:38:21 +01:00
Update web-platform-tests to revision 9ca57e052ba1b19fa3dd46c6aa656e8d529469a8
This commit is contained in:
parent
68cb8f3d59
commit
75d6484415
1377 changed files with 31062 additions and 16983 deletions
|
@ -1,22 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Reference: appearance: button</title>
|
||||
<style>
|
||||
#container { width: 500px; }
|
||||
#container > :not(a) { appearance: auto; }
|
||||
</style>
|
||||
<div id="container">
|
||||
<input type="text" value="input-text">
|
||||
<input type="search" value="input-search">
|
||||
<textarea>textarea</textarea>
|
||||
<input type="button" value="input-button">
|
||||
<input type="submit" value="input-submit">
|
||||
<input type="reset" value="input-reset">
|
||||
<input type="range">
|
||||
<input type="checkbox">
|
||||
<input type="radio">
|
||||
<input type="color">
|
||||
<select multiple><option>select-multiple</option></select>
|
||||
<meter value=0.5></meter>
|
||||
<progress value=0.5></progress>
|
||||
</div>
|
|
@ -2,13 +2,15 @@
|
|||
<meta charset="utf-8">
|
||||
<title>CSS Basic User Interface Test: appearance: button</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-switching">
|
||||
<meta name="assert" content="button is treated as auto on input, textarea, list box select, meter, and progress elements.">
|
||||
<link rel="match" href="appearance-button-001-ref.html">
|
||||
<meta name="assert" content="button is an alias to auto.">
|
||||
<link rel="match" href="appearance-auto-ref.html">
|
||||
<style>
|
||||
#container { width: 500px; }
|
||||
#container > * { appearance: none; appearance: button; }
|
||||
</style>
|
||||
<div id="container">
|
||||
<a>a</a>
|
||||
<button>button</button>
|
||||
<input type="text" value="input-text">
|
||||
<input type="search" value="input-search">
|
||||
<textarea>textarea</textarea>
|
||||
|
@ -19,6 +21,7 @@
|
|||
<input type="checkbox">
|
||||
<input type="radio">
|
||||
<input type="color">
|
||||
<select><option>select</option></select>
|
||||
<select multiple><option>select-multiple</option></select>
|
||||
<meter value=0.5></meter>
|
||||
<progress value=0.5></progress>
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Reference: appearance: button</title>
|
||||
<select><option>select</option></select>
|
|
@ -1,16 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Basic User Interface Test: appearance: button</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-switching">
|
||||
<meta name="assert" content="Drop-down select elements with appearance: button are rendered differently from appearance: auto.">
|
||||
<link rel="mismatch" href="appearance-button-002.tentative-ref.html">
|
||||
<style>
|
||||
select { appearance: none; appearance: button; }
|
||||
</style>
|
||||
<!--
|
||||
Test marked as tentative since although css-ui says "The element is rendered
|
||||
with the look and feel of a push button, similar to the appearance: auto
|
||||
rendering of the [HTML] button element.", there is no requirement that the
|
||||
look and feel of a push button is different from that of a drop-down select.
|
||||
-->
|
||||
<select><option>select</option></select>
|
|
@ -0,0 +1,16 @@
|
|||
<!-- DO NOT EDIT THIS FILE.
|
||||
Edit the appearance-* file instead and then run:
|
||||
./tools/appearance-build-webkit-reftests.py
|
||||
-->
|
||||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Basic User Interface Test: -webkit-appearance: auto on non-widget input elements</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-switching">
|
||||
<meta name="assert" content="The default widget type for these elements is none.">
|
||||
<link rel="match" href="appearance-auto-input-non-widget-001-ref.html">
|
||||
<style>
|
||||
input { -webkit-appearance: auto; }
|
||||
</style>
|
||||
<input type="hidden" value="abc">
|
||||
<input type="image" value="def">
|
||||
<input type="file">
|
|
@ -6,13 +6,15 @@ Edit the appearance-* file instead and then run:
|
|||
<meta charset="utf-8">
|
||||
<title>CSS Basic User Interface Test: -webkit-appearance: button</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-switching">
|
||||
<meta name="assert" content="button is treated as auto on input, textarea, list box select, meter, and progress elements.">
|
||||
<link rel="match" href="appearance-button-001-ref.html">
|
||||
<meta name="assert" content="button is an alias to auto.">
|
||||
<link rel="match" href="appearance-auto-ref.html">
|
||||
<style>
|
||||
#container { width: 500px; }
|
||||
#container > * { -webkit-appearance: none; -webkit-appearance: button; }
|
||||
</style>
|
||||
<div id="container">
|
||||
<a>a</a>
|
||||
<button>button</button>
|
||||
<input type="text" value="input-text">
|
||||
<input type="search" value="input-search">
|
||||
<textarea>textarea</textarea>
|
||||
|
@ -23,6 +25,7 @@ Edit the appearance-* file instead and then run:
|
|||
<input type="checkbox">
|
||||
<input type="radio">
|
||||
<input type="color">
|
||||
<select><option>select</option></select>
|
||||
<select multiple><option>select-multiple</option></select>
|
||||
<meter value=0.5></meter>
|
||||
<progress value=0.5></progress>
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Basic User Interface Test: -webkit-appearance: button</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-switching">
|
||||
<meta name="assert" content="Drop-down select elements with appearance: button are rendered differently from appearance: auto.">
|
||||
<link rel="mismatch" href="appearance-button-002.tentative-ref.html">
|
||||
<style>
|
||||
select { -webkit-appearance: none; -webkit-appearance: button; }
|
||||
</style>
|
||||
<!--
|
||||
Test marked as tentative since although css-ui says "The element is rendered
|
||||
with the look and feel of a push button, similar to the appearance: auto
|
||||
rendering of the [HTML] button element.", there is no requirement that the
|
||||
look and feel of a push button is different from that of a drop-down select.
|
||||
-->
|
||||
<select><option>select</option></select>
|
|
@ -0,0 +1,20 @@
|
|||
<!-- DO NOT EDIT THIS FILE.
|
||||
Edit the appearance-* file instead and then run:
|
||||
./tools/appearance-build-webkit-reftests.py
|
||||
-->
|
||||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Basic User Interface Test: progress dynamic appearance</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-switching">
|
||||
<link rel="match" href="appearance-progress-bar-002-ref.html">
|
||||
<style>
|
||||
#progress1 { -webkit-appearance: none }
|
||||
#progress2 { -webkit-appearance: auto }
|
||||
</style>
|
||||
<progress id="progress1" value="0.5">
|
||||
<progress id="progress2" value="0.5">
|
||||
<script>
|
||||
document.body.offsetTop;
|
||||
progress1.style.appearance = "auto";
|
||||
progress2.style.appearance = "none";
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue