Keep clearfix pseudos around simple float bands
This commit is contained in:
1 parent
3fe624703b
commit
8b52adf4d8
2 files changed
+2
-2
No files matched your search
@@ -892,6 +892,8 @@ fn full_width_percentage_float_uses_definite_containing_block() {
|
||||
<style>
|
||||
html, body { margin: 0; width: 100%; height: 100% }
|
||||
#host { width: 100%; height: 100% }
|
||||
#host::before, #host::after { content: " "; display: table }
|
||||
#host::after { clear: both }
|
||||
#float {
|
||||
float: left;
|
||||
display: flex;
|
||||
|
||||
Reference in new issue
Block a user