aboutsummaryrefslogtreecommitdiffstats
path: root/test/render
diff options
context:
space:
mode:
authorYuri Kobets <yuri.kobets@gmail.com>2023-02-18 14:39:08 +0300
committerYuri Kobets <yuri.kobets@gmail.com>2023-02-18 14:39:08 +0300
commit6935de2836bc403ee6c083393234ce9e4a2c5dac (patch)
treed3f5600780d59eff47cfb8603ec0efaa606ae792 /test/render
parent1154e56af6266f047e3a77dfd6cd4d67ec3b3c41 (diff)
fixed: Bug in margin / padding with position: absolute #79
Diffstat (limited to 'test/render')
-rw-r--r--test/render/test15.htm19
-rw-r--r--test/render/test15.htm.pngbin0 -> 112 bytes
2 files changed, 19 insertions, 0 deletions
diff --git a/test/render/test15.htm b/test/render/test15.htm
new file mode 100644
index 00000000..a9e2dfc6
--- /dev/null
+++ b/test/render/test15.htm
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ div {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ margin-left: 100px;
+ background-color: red;
+ }
+ </style>
+</head>
+<body>
+
+<div></div>
+
+</body>
+</html> \ No newline at end of file
diff --git a/test/render/test15.htm.png b/test/render/test15.htm.png
new file mode 100644
index 00000000..0a624fbd
--- /dev/null
+++ b/test/render/test15.htm.png
Binary files differ