Skip to content

Commit

Permalink
Add some new tests for the hidden attribute and update metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed Apr 8, 2013
1 parent cface5f commit 0e73d86
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 15 deletions.
3 changes: 3 additions & 0 deletions html/editing/the-hidden-attribute/MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@ ref hidden-1a.html == hidden-1-ref.html
ref hidden-1b.html == hidden-1-ref.html
ref hidden-1c.html == hidden-1-ref.html
ref hidden-1d.html == hidden-1-ref.html
ref hidden-1e.html == hidden-1-ref.html
ref hidden-1f.html == hidden-1-ref.html
ref hidden-1g.html == hidden-1-ref.html
ref hidden-2.svg == hidden-2-ref.svg
3 changes: 1 addition & 2 deletions html/editing/the-hidden-attribute/hidden-1-ref.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<!doctype html>
<title>The hidden attribute</title>
<link rel=author title=Ms2ger href=ms2ger@gmail.com>
<link rel=help href=http://www.whatwg.org/html5/#the-hidden-attribute>
<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com>
<p>This line should be visible.
5 changes: 3 additions & 2 deletions html/editing/the-hidden-attribute/hidden-1a.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!doctype html>
<title>The hidden attribute</title>
<link rel=author title=Ms2ger href=ms2ger@gmail.com>
<link rel=help href=http://www.whatwg.org/html5/#the-hidden-attribute>
<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com>
<link rel=help href=http://www.whatwg.org/html/#the-hidden-attribute>
<link rel=help href=http://www.whatwg.org/html/#hidden-elements>
<p>This line should be visible.
<p hidden>This line should not be visible.
5 changes: 3 additions & 2 deletions html/editing/the-hidden-attribute/hidden-1b.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!doctype html>
<title>The hidden attribute</title>
<link rel=author title=Ms2ger href=ms2ger@gmail.com>
<link rel=help href=http://www.whatwg.org/html5/#the-hidden-attribute>
<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com>
<link rel=help href=http://www.whatwg.org/html/#the-hidden-attribute>
<link rel=help href=http://www.whatwg.org/html/#hidden-elements>
<style>
p { display: none; }
[hidden] { display: block; }
Expand Down
5 changes: 3 additions & 2 deletions html/editing/the-hidden-attribute/hidden-1c.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!doctype html>
<title>The hidden attribute</title>
<link rel=author title=Ms2ger href=ms2ger@gmail.com>
<link rel=help href=http://www.whatwg.org/html5/#the-hidden-attribute>
<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com>
<link rel=help href=http://www.whatwg.org/html/#the-hidden-attribute>
<link rel=help href=http://www.whatwg.org/html/#hidden-elements>
<p hidden>This line should be visible.
<p>This line should not be visible.
<script>
Expand Down
5 changes: 3 additions & 2 deletions html/editing/the-hidden-attribute/hidden-1d.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<!doctype html>
<title>The hidden attribute</title>
<link rel=author title=Ms2ger href=ms2ger@gmail.com>
<link rel=help href=http://www.whatwg.org/html5/#the-hidden-attribute>
<link rel=author title=Ms2ger href=mailto:Ms2ger@gmail.com>
<link rel=help href=http://www.whatwg.org/html/#the-hidden-attribute>
<link rel=help href=http://www.whatwg.org/html/#hidden-elements>
<p hidden>This line should be visible.
<p>This line should not be visible.
<script>
Expand Down
9 changes: 9 additions & 0 deletions html/editing/the-hidden-attribute/hidden-1e.html
Original file line number Diff line number Diff line change
@@ -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=http://www.whatwg.org/html/#the-hidden-attribute>
<link rel=help href=http://www.whatwg.org/html/#hidden-elements>
<style>
p { display: block; }
</style>
<p hidden>This line should be visible.
9 changes: 9 additions & 0 deletions html/editing/the-hidden-attribute/hidden-1f.html
Original file line number Diff line number Diff line change
@@ -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=http://www.whatwg.org/html/#the-hidden-attribute>
<link rel=help href=http://www.whatwg.org/html/#hidden-elements>
<style>
p { display: block !important; }
</style>
<p hidden>This line should be visible.
10 changes: 10 additions & 0 deletions html/editing/the-hidden-attribute/hidden-1g.html
Original file line number Diff line number Diff line change
@@ -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=http://www.whatwg.org/html/#the-hidden-attribute>
<link rel=help href=http://www.whatwg.org/html/#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.
4 changes: 1 addition & 3 deletions html/editing/the-hidden-attribute/hidden-2-ref.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions html/editing/the-hidden-attribute/hidden-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0e73d86

Please sign in to comment.