about summary refs log tree commit diff stats
path: root/test/layout/float_resolve_parent.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/float_resolve_parent.html
parentba88f015ea500bcc574b621392c721ef2c9dbcd0 (diff)
downloadchawan-e3d9ee2c6224cd30bf56e24f7988899e0e3985c1.tar.gz
test: add js & layout tests
(Sadly some layout tests still fail.)
Diffstat (limited to 'test/layout/float_resolve_parent.html')
-rw-r--r--test/layout/float_resolve_parent.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/test/layout/float_resolve_parent.html b/test/layout/float_resolve_parent.html
new file mode 100644
index 00000000..4ff9a931
--- /dev/null
+++ b/test/layout/float_resolve_parent.html
@@ -0,0 +1,36 @@
+<!DOCTYPE HTML>
+<style>
+
+* {
+  font-family: monospace,monospace;
+  line-height: 1em;
+  font-size: 15px
+}
+</style>
+<script>
+window.onload = function() {
+document.getElementById("test").innerHTML = "test"
+console.log(document.querySelector("html").outerHTML);
+}
+/*
+(function(view) {
+	"use strict";
+	view.Intl = view.webkitURL || view.Intl;
+}(window))
+*/
+</script>
+<div style="display: flow-root">
+<div>
+<div style="float: left; width: 100%; height: 10em; background-color: red"></div>
+<div style="margin-top: 1em">
+this is line 1.
+this is line 2.
+this is line 3.
+this is line 4.
+this is line 5.
+this is line 6.
+this is line 7.
+this is line 8.
+this is line 9.
+this is line 10.
+</pre>