diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-28 15:11:08 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-28 15:13:56 +0200 |
commit | 7fc988b9192642ffa15b845972373d02090fff82 (patch) | |
tree | 012e9d44d7db225c985e5b4629b50dde9ce996ab /Demos | |
parent | daa88448e1385372a261c2c22595647e81d32bfd (diff) | |
download | serenity-7fc988b9192642ffa15b845972373d02090fff82.zip |
LibWeb: Start working on supporting fixed table layouts
Sometimes people make tables with a specific width. In those cases,
we can't just use the auto-sizing algorithm, but instead have to
respect whatever width the content specifies.
This is a bit rickety right now, since we don't implement generation
of anonymous table boxes.
The basic mechanism here is that block layout (which table-cell uses)
now has a virtual way of asking for the width of the logical containing
block. This is necessary as table-row does not produce a block-level
element and so was previously unable to provide a containing block
width for table-cell layout.
If the table has a non-auto specified width, we now interpret that as
a request to use fixed table layout. This will evolve over time. :^)
Diffstat (limited to 'Demos')
0 files changed, 0 insertions, 0 deletions