diff options
author | bptato <nincsnevem662@gmail.com> | 2024-04-21 21:26:27 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-04-21 21:28:45 +0200 |
commit | e3d9ee2c6224cd30bf56e24f7988899e0e3985c1 (patch) | |
tree | 31116d7d751d058f32bf43313c12673423e8d8be /test/layout/float_resolve_parent.html | |
parent | ba88f015ea500bcc574b621392c721ef2c9dbcd0 (diff) | |
download | chawan-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.html | 36 |
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> |