aboutsummaryrefslogtreecommitdiff
path: root/test/html/render/div-100-percent-with-padding.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/html/render/div-100-percent-with-padding.html')
-rw-r--r--test/html/render/div-100-percent-with-padding.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/html/render/div-100-percent-with-padding.html b/test/html/render/div-100-percent-with-padding.html
new file mode 100644
index 00000000..ef8c90a1
--- /dev/null
+++ b/test/html/render/div-100-percent-with-padding.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Test padding in 100% width div</title>
+ <style>
+ body {margin: 0px}
+ .test {
+ width: 100%;
+ margin: 50px;
+ padding: 50px;
+ background: lightgreen;
+ border: solid 1px;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="test">
+ <p>The licenses for most software and other practical works are
+ designed to take away your freedom to share and change the works.
+ By contrast, the GNU General Public License is intended to
+ guarantee your freedom to share and change all versions of a
+ program--to make sure it remains free software for all its users.
+ We, the Free Software Foundation, use the GNU General Public
+ License for most of our software; it applies also to any other
+ work released this way by its authors. You can apply it to your
+ programs, too.</p>
+ </div>
+ </body>
+</html>