summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/LayoutTableCell.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-23 18:55:25 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-23 18:55:25 +0200
commitaeeaf33638e17d20a9ccfda033ae37648ca3f485 (patch)
tree3097764cce00c0c25804142aea367c4ea85efc82 /Libraries/LibWeb/Layout/LayoutTableCell.cpp
parent675e7c0e6f0835578f99368fff3349911b6c4c2b (diff)
downloadserenity-aeeaf33638e17d20a9ccfda033ae37648ca3f485.zip
LibWeb: Respect specified width when computing shrink-to-fit candidates
Previously we would always just use the combined content width as the shrunken width in shrink-to-fit width calculations, but if the element has a non-auto specified width, we should just let that take over. This is far from perfect and doesn't take stuff like min/max-width into account. Will need more work, this just covers the basic case.
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutTableCell.cpp')
0 files changed, 0 insertions, 0 deletions