Skip to content

Commit 014b5b8

Browse files
committed
width-100 test case
1 parent e7449d3 commit 014b5b8

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

tests/css/width-100.html

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5+
<title>Untitled Document</title>
6+
<style type="text/css">
7+
.parent {padding: 100px;background-color:#999999}
8+
.child {width:100%;background-color: #CCCCCC; border-collapse:collapse;}
9+
td{border: 15px solid red;}
10+
</style>
11+
12+
</head>
13+
14+
<body>
15+
<div class="parent">
16+
<div class="child">
17+
width 100% child in a parent with padding.
18+
</div>
19+
</div>
20+
21+
<div class="parent">
22+
<table class="child">
23+
<tr>
24+
<th scope="col">filler</th>
25+
<th scope="col">filler</th>
26+
<th scope="col">filler</th>
27+
<th scope="col">filler</th>
28+
<th scope="col">filler</th>
29+
<th scope="col">filler</th>
30+
</tr>
31+
<tr>
32+
<td>filler</td>
33+
<td>filler</td>
34+
<td>filler</td>
35+
<td>filler</td>
36+
<td>filler</td>
37+
<td>filler</td>
38+
</tr>
39+
<tr>
40+
<td>filler</td>
41+
<td>filler</td>
42+
<td>filler</td>
43+
<td>filler</td>
44+
<td>filler</td>
45+
<td>filler</td>
46+
</tr>
47+
<tr>
48+
<td>filler</td>
49+
<td>filler</td>
50+
<td>filler</td>
51+
<td>filler</td>
52+
<td>filler</td>
53+
<td>filler</td>
54+
</tr>
55+
<tr>
56+
<td>filler</td>
57+
<td>filler</td>
58+
<td>filler</td>
59+
<td>filler</td>
60+
<td>filler</td>
61+
<td>filler</td>
62+
</tr>
63+
<tr>
64+
<td>filler</td>
65+
<td>filler</td>
66+
<td>filler</td>
67+
<td>filler</td>
68+
<td>filler</td>
69+
<td>filler</td>
70+
</tr>
71+
</table>
72+
73+
</div>
74+
75+
</body>
76+
</html>

0 commit comments

Comments
 (0)