Skip to content

Commit

Permalink
Merge pull request #99 from Ms2ger/table-layout-attr
Browse files Browse the repository at this point in the history
Add a test for non-support of the layout attribute on tables.
  • Loading branch information
jgraham committed Jul 17, 2013
2 parents fe77ee1 + 1c87c33 commit 9bdd7ad
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions html/rendering/non-replaced-elements/tables/MANIFEST
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ref table-width-150percent.html == table-width-150percent-ref.html
ref table-border-1.html == table-border-1-ref.html
ref table-border-2.html != table-border-2-notref.html == table-border-2-ref.html
ref table-layout.html != table-layout-notref.html == table-layout-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>Table layout attribute</title>
<table border width=100% style=table-layout:fixed>
<tr><td>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<td>aaa
</table>
<table border width=100% style=table-layout:fixed>
<tr><td>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<td>aaa
</table>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>Table layout attribute</title>
<table border width=100%>
<tr><td>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<td>aaa
</table>
<table border width=100%>
<tr><td>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<td>aaa
</table>
11 changes: 11 additions & 0 deletions html/rendering/non-replaced-elements/tables/table-layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>Table layout attribute</title>
<meta name="assert"
content="The layout attribute on table elements should have no effect.">
<table border width=100% layout=fixed>
<tr><td>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<td>aaa
</table>
<table border width=100% layout=auto>
<tr><td>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<td>aaa
</table>

0 comments on commit 9bdd7ad

Please sign in to comment.