Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reftests for table[border] #22

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions html/rendering/non-replaced-elements/tables/MANIFEST
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>Table borders</title>
<style>
table {
border-width: 1px;
border-style: outset;
}
td {
border-width: 1px;
border-style: inset;
}
</style>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
36 changes: 36 additions & 0 deletions html/rendering/non-replaced-elements/tables/table-border-1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>Table borders</title>
<table border>
<tr><td>Test
</table>
<table border="">
<tr><td>Test
</table>
<table border=null>
<tr><td>Test
</table>
<table border=undefined>
<tr><td>Test
</table>
<table border=foo>
<tr><td>Test
</table>
<table border=1>
<tr><td>Test
</table>
<table border=1foo>
<tr><td>Test
</table>
<table border=1%>
<tr><td>Test
</table>
<table border=-1>
<tr><td>Test
</table>
<table border=-1foo>
<tr><td>Test
</table>
<table border=-1%>
<tr><td>Test
</table>
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>Table borders</title>
<style>
table {
border-width: 1px;
border-style: outset;
}
td {
border-width: 1px;
border-style: inset;
}
</style>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>Table borders</title>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
<table>
<tr><td>Test
</table>
30 changes: 30 additions & 0 deletions html/rendering/non-replaced-elements/tables/table-border-2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>Table borders</title>
<table border=0>
<tr><td>Test
</table>
<table border=0foo>
<tr><td>Test
</table>
<table border=0%>
<tr><td>Test
</table>
<table border=+0>
<tr><td>Test
</table>
<table border=+0foo>
<tr><td>Test
</table>
<table border=+0%>
<tr><td>Test
</table>
<table border=-0>
<tr><td>Test
</table>
<table border=-0foo>
<tr><td>Test
</table>
<table border=-0%>
<tr><td>Test
</table>
1 change: 0 additions & 1 deletion resources
Submodule resources deleted from 9dd2b7