Skip to content

Commit

Permalink
width-100 test case
Browse files Browse the repository at this point in the history
  • Loading branch information
stubbornella committed Jun 23, 2011
1 parent e7449d3 commit 014b5b8
Showing 1 changed file with 76 additions and 0 deletions.
76 changes: 76 additions & 0 deletions tests/css/width-100.html
@@ -0,0 +1,76 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Untitled Document</title>
<style type="text/css">
.parent {padding: 100px;background-color:#999999}
.child {width:100%;background-color: #CCCCCC; border-collapse:collapse;}
td{border: 15px solid red;}
</style>

</head>

<body>
<div class="parent">
<div class="child">
width 100% child in a parent with padding.
</div>
</div>

<div class="parent">
<table class="child">
<tr>
<th scope="col">filler</th>
<th scope="col">filler</th>
<th scope="col">filler</th>
<th scope="col">filler</th>
<th scope="col">filler</th>
<th scope="col">filler</th>
</tr>
<tr>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
</tr>
<tr>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
</tr>
<tr>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
</tr>
<tr>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
</tr>
<tr>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
<td>filler</td>
</tr>
</table>

</div>

</body>
</html>

0 comments on commit 014b5b8

Please sign in to comment.