mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
LibWeb: Print FIXME if vertical-align value is not supported in TFC
Producing incorrect layout for table cells is better than crashing :)
This commit is contained in:
parent
331a19efe8
commit
8d05ff1fe7
Notes:
sideshowbarker
2024-07-17 05:00:08 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 8d05ff1fe7
Pull-request: https://github.com/SerenityOS/serenity/pull/20960
1 changed files with 16 additions and 0 deletions
|
@ -1102,6 +1102,22 @@ void TableFormattingContext::position_cell_boxes()
|
|||
cell_state.padding_bottom += height_diff;
|
||||
break;
|
||||
}
|
||||
case CSS::VerticalAlign::Sub: {
|
||||
dbgln("FIXME: Implement \"vertical-align: sub\" support for table cells");
|
||||
break;
|
||||
}
|
||||
case CSS::VerticalAlign::Super: {
|
||||
dbgln("FIXME: Implement \"vertical-align: super\" support for table cells");
|
||||
break;
|
||||
}
|
||||
case CSS::VerticalAlign::TextBottom: {
|
||||
dbgln("FIXME: Implement \"vertical-align: text-bottom\" support for table cells");
|
||||
break;
|
||||
}
|
||||
case CSS::VerticalAlign::TextTop: {
|
||||
dbgln("FIXME: Implement \"vertical-align: text-top\" support for table cells");
|
||||
break;
|
||||
}
|
||||
default:
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue