mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255
This commit is contained in:
parent
b2a5225831
commit
1a81b18b9f
12321 changed files with 544385 additions and 6 deletions
|
@ -0,0 +1,4 @@
|
|||
<!doctype html>
|
||||
<title>The hidden attribute</title>
|
||||
<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com>
|
||||
<p>This line should be visible.
|
|
@ -0,0 +1,7 @@
|
|||
<!doctype html>
|
||||
<title>The hidden attribute</title>
|
||||
<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#the-hidden-attribute>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#hidden-elements>
|
||||
<p>This line should be visible.
|
||||
<p hidden>This line should not be visible.
|
|
@ -0,0 +1,10 @@
|
|||
<!doctype html>
|
||||
<title>The hidden attribute</title>
|
||||
<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#the-hidden-attribute>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#hidden-elements>
|
||||
<style>
|
||||
p { display: none; }
|
||||
[hidden] { display: block; }
|
||||
</style>
|
||||
<p hidden>This line should be visible.
|
|
@ -0,0 +1,11 @@
|
|||
<!doctype html>
|
||||
<title>The hidden attribute</title>
|
||||
<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#the-hidden-attribute>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#hidden-elements>
|
||||
<p hidden>This line should be visible.
|
||||
<p>This line should not be visible.
|
||||
<script>
|
||||
document.getElementsByTagName("p")[0].hidden = false;
|
||||
document.getElementsByTagName("p")[1].hidden = true;
|
||||
</script>
|
|
@ -0,0 +1,11 @@
|
|||
<!doctype html>
|
||||
<title>The hidden attribute</title>
|
||||
<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#the-hidden-attribute>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#hidden-elements>
|
||||
<p hidden>This line should be visible.
|
||||
<p>This line should not be visible.
|
||||
<script>
|
||||
document.getElementsByTagName("p")[0].removeAttribute("hidden");
|
||||
document.getElementsByTagName("p")[1].setAttribute("hidden", "");
|
||||
</script>
|
|
@ -0,0 +1,9 @@
|
|||
<!doctype html>
|
||||
<title>The hidden attribute</title>
|
||||
<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#the-hidden-attribute>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#hidden-elements>
|
||||
<style>
|
||||
p { display: block; }
|
||||
</style>
|
||||
<p hidden>This line should be visible.
|
|
@ -0,0 +1,9 @@
|
|||
<!doctype html>
|
||||
<title>The hidden attribute</title>
|
||||
<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#the-hidden-attribute>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#hidden-elements>
|
||||
<style>
|
||||
p { display: block !important; }
|
||||
</style>
|
||||
<p hidden>This line should be visible.
|
|
@ -0,0 +1,10 @@
|
|||
<!doctype html>
|
||||
<title>The hidden attribute</title>
|
||||
<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#the-hidden-attribute>
|
||||
<link rel=help href=https://html.spec.whatwg.org/multipage/#hidden-elements>
|
||||
<p>This line should be visible.
|
||||
<p hidden=hidden>This line should not be visible.
|
||||
<p hidden=blue>This line should not be visible.
|
||||
<p hidden=true>This line should not be visible.
|
||||
<p hidden=false>This line should not be visible.
|
|
@ -0,0 +1,7 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20">
|
||||
<metadata>
|
||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="author" title="Ms2ger"
|
||||
href="mailto:Ms2ger@gmail.com"/>
|
||||
</metadata>
|
||||
<rect height="20" width="20"/>
|
||||
</svg>
|
After Width: | Height: | Size: 239 B |
|
@ -0,0 +1,12 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20">
|
||||
<metadata>
|
||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="match" href="hidden-2-ref.svg" />
|
||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="author" title="Ms2ger"
|
||||
href="mailto:Ms2ger@gmail.com"/>
|
||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="help"
|
||||
href="https://html.spec.whatwg.org/multipage/#the-hidden-attribute"/>
|
||||
<link xmlns="http://www.w3.org/1999/xhtml" rel="help"
|
||||
href="https://html.spec.whatwg.org/multipage/#hidden-elements"/>
|
||||
</metadata>
|
||||
<rect hidden="" height="20" width="20"/>
|
||||
</svg>
|
After Width: | Height: | Size: 596 B |
Loading…
Add table
Add a link
Reference in a new issue