aboutsummaryrefslogtreecommitdiffstats
path: root/test/layout/float-resolve-parent.html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2025-02-04 21:38:36 +0100
committerbptato <nincsnevem662@gmail.com>2025-02-04 21:38:36 +0100
commite993238fd664094b75ce848938745d85fa89c1c7 (patch)
tree6057ad8f7d155e7371d17c46a216c9fdfe623d05 /test/layout/float-resolve-parent.html
parent615989fc7273fb554bddfe7b34e95fcc9d5e9391 (diff)
downloadchawan-e993238fd664094b75ce848938745d85fa89c1c7.tar.gz
layout: merge addOuterBlock with layoutBlock, refactor
Having to initLine after every block hurts... I've added a mechanism to at least eliminate cleared floats, but I wish we just didn't init the line :/ (I tried making it lazy, but I couldn't get it to work elegantly.) I've also added some comments about flow, and moved around code so that related layouts are mostly in the same place.
Diffstat (limited to 'test/layout/float-resolve-parent.html')
-rw-r--r--test/layout/float-resolve-parent.html12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/layout/float-resolve-parent.html b/test/layout/float-resolve-parent.html
index 4ff9a931..5667a4ed 100644
--- a/test/layout/float-resolve-parent.html
+++ b/test/layout/float-resolve-parent.html
@@ -7,18 +7,6 @@
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>