about summary refs log tree commit diff stats
path: root/test/layout/case4.html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-04-21 21:26:27 +0200
committerbptato <nincsnevem662@gmail.com>2024-04-21 21:28:45 +0200
commite3d9ee2c6224cd30bf56e24f7988899e0e3985c1 (patch)
tree31116d7d751d058f32bf43313c12673423e8d8be /test/layout/case4.html
parentba88f015ea500bcc574b621392c721ef2c9dbcd0 (diff)
downloadchawan-e3d9ee2c6224cd30bf56e24f7988899e0e3985c1.tar.gz
test: add js & layout tests
(Sadly some layout tests still fail.)
Diffstat (limited to 'test/layout/case4.html')
-rw-r--r--test/layout/case4.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/layout/case4.html b/test/layout/case4.html
new file mode 100644
index 00000000..36d3e9ce
--- /dev/null
+++ b/test/layout/case4.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<body>
+<div style="margin-top: 1em">
+<div style="float: right; background-color: blue">float right</div>
+<div style="float: left; clear: right; background-color: red">float left</div>
+<div style="float: right; background-color: yellow">float right</div>
+</div>
+<div style="margin-top: 2em">
+test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test
+</div>
+</body>
+</html>