Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

width-100 test case

  • Loading branch information...
commit 014b5b873661e300df936f9fced73348abe83a52 1 parent e7449d3
@stubbornella stubbornella authored
Showing with 76 additions and 0 deletions.
  1. +76 −0 tests/css/width-100.html
View
76 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>
Please sign in to comment.
Something went wrong with that request. Please try again.