diff options
author | Jack Moffitt <jack@metajack.im> | 2014-08-28 09:34:23 -0600 |
---|---|---|
committer | Jack Moffitt <jack@metajack.im> | 2014-09-08 20:21:42 -0600 |
commit | c6ab60dbfc6da7b4f800c9e40893c8b58413960c (patch) | |
tree | d1d74076cf7fa20e4f77ec7cb82cae98b67362cb /tests/html/test_clear_float.html | |
parent | db2f642c32fc5bed445bb6f2e45b0f6f0b4342cf (diff) | |
download | servo-c6ab60dbfc6da7b4f800c9e40893c8b58413960c.tar.gz servo-c6ab60dbfc6da7b4f800c9e40893c8b58413960c.zip |
Cargoify servo
Diffstat (limited to 'tests/html/test_clear_float.html')
-rw-r--r-- | tests/html/test_clear_float.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/html/test_clear_float.html b/tests/html/test_clear_float.html new file mode 100644 index 00000000000..20bf1128d83 --- /dev/null +++ b/tests/html/test_clear_float.html @@ -0,0 +1,43 @@ +<html> +<head> +<style> +#container { + width: 300px; +} +#left { + float: left; + width: 100px; + height: 100px; + background: red; +} +#right { + float: right; + width: 100px; + height: 150px; + background: blue; +} +#clear1 { + float: left; + clear: left; + width: 50px; + height: 50px; + background: green; +} +#clear2 { + float: right; + clear: right; + width: 50px; + height: 50px; + background: green; +} +</style> +</head> +<body> +<div id="container"> +<div id="left"></div> +<div id="right"></div> +<div id="clear1"></div> +<div id="clear2"></div> +</div> +</body> +</html> |