mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb: Assign static position for abspos boxes nested into TFC
TFC is not aware of how to correctly calculate a static position for abspos boxes, but assigning (0, 0) is better than crashing during abspos item layout. Fixes https://github.com/LadybirdBrowser/ladybird/issues/1382
This commit is contained in:
parent
d17f94e7cc
commit
9621439db0
Notes:
github-actions[bot]
2024-09-14 13:04:58 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 9621439db0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1396
5 changed files with 70 additions and 1 deletions
|
@ -152,7 +152,6 @@ Optional<FormattingContext::Type> FormattingContext::formatting_context_type_cre
|
|||
// FIXME: We need this for <math> elements
|
||||
return Type::InternalDummy;
|
||||
}
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue