summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/HTML/HTMLFieldSetElement.idl
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-12-05 20:10:39 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-05 22:51:03 +0100
commit615a4d4f71db0750313ae8ac1494e65f67f25b31 (patch)
tree56547106c593617d5d517402056655643b3326f2 /Libraries/LibWeb/HTML/HTMLFieldSetElement.idl
parent11256de366eb7d882e91ac46bcc535511d54fdde (diff)
downloadserenity-615a4d4f71db0750313ae8ac1494e65f67f25b31.zip
LibWeb: First slightly naive implementation of CSS floats :^)
Boxes can now be floated left or right, which makes text within the same block formatting context flow around them. We were creating way too many block formatting contexts. As it turns out, we don't need one for every new block, but rather there's a set of rules that determines whether a given block creates a new block formatting context. Each BFC keeps track of the floating boxes within it, and IFC's can then query it to find the available space for line boxes. There's a huge hack in here where we assume all lines are the exact line-height. Making this work with vertically non-uniform lines will require some architectural changes.
Diffstat (limited to 'Libraries/LibWeb/HTML/HTMLFieldSetElement.idl')
0 files changed, 0 insertions, 0 deletions