Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255

This commit is contained in:
James Graham 2015-03-27 09:15:38 +00:00
parent b2a5225831
commit 1a81b18b9f
12321 changed files with 544385 additions and 6 deletions

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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>

View file

@ -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>

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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

View file

@ -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