diff options
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> |