summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/block/basic/005.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/block/basic/005.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/block/basic/005.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/block/basic/005.html b/third_party/WebKit/LayoutTests/fast/block/basic/005.html
new file mode 100644
index 0000000..4dba1d0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/block/basic/005.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<html lang="en">
+ <head>
+ <title>CSS Block Box Model: overconstrained horizontal box model and minimum widths</title>
+ <style type="text/css">
+ .container { width: 3em; }
+ .test { margin-left: 0; border-left: none; padding-left: 2em; width: auto; padding-right: 2em; border-right: none; margin-right: 0; }
+ .control { margin-left: 0; border-left: none; padding-left: 0; width: 4em; padding-right: 0; border-right: none; margin-right: 0; }
+ div { background: navy; height: 1em; }
+ </style>
+ </head>
+ <body>
+ <p>The following two DIVs should be the same width (resulting in a single 4 by 2 block).</p>
+ <div class="container">
+ <div class="test"></div>
+ </div>
+ <div class="control"></div>
+ </body>
+</html>