mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 11:37:16 +02:00
LibWeb: Prevent crash in content calculations for ListItemMarkerBox
In several content calculation methods in FormattingContext, we assumed that if create_independent_formatting_context_if_needed() fails the input Layout::Box is a BlockContainer; however, the web platform test css/css-pseudo/parsing/marker-supported-properties-in-animation.html is one scenario where the input is a Layout::ListItemMarkerBox instead and there is no FormattingContext supported for it yet.
This commit is contained in:
Notes:
github-actions[bot]
2025-10-30 18:22:52 +00:00
Author: https://github.com/ayeteadoe Commit: https://github.com/LadybirdBrowser/ladybird/commit/30729feebbf Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6641 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -0,0 +1,102 @@
|
||||
Harness status: OK
|
||||
|
||||
Found 96 tests
|
||||
|
||||
39 Pass
|
||||
57 Fail
|
||||
Pass Animation of font in ::marker
|
||||
Pass Animation of font-family in ::marker
|
||||
Fail Animation of font-feature-settings in ::marker
|
||||
Fail Animation of font-kerning in ::marker
|
||||
Pass Animation of font-size in ::marker
|
||||
Fail Animation of font-size-adjust in ::marker
|
||||
Pass Animation of font-stretch in ::marker
|
||||
Pass Animation of font-style in ::marker
|
||||
Fail Animation of font-synthesis in ::marker
|
||||
Fail Animation of font-synthesis-small-caps in ::marker
|
||||
Fail Animation of font-synthesis-style in ::marker
|
||||
Fail Animation of font-synthesis-weight in ::marker
|
||||
Pass Animation of font-variant in ::marker
|
||||
Pass Animation of font-variant-caps in ::marker
|
||||
Fail Animation of font-variant-east-asian in ::marker
|
||||
Fail Animation of font-variant-ligatures in ::marker
|
||||
Fail Animation of font-variant-numeric in ::marker
|
||||
Fail Animation of font-variant-position in ::marker
|
||||
Pass Animation of font-weight in ::marker
|
||||
Pass Animation of line-height in ::marker
|
||||
Fail Animation of white-space in ::marker
|
||||
Fail Animation of color in ::marker
|
||||
Fail Animation of text-combine-upright in ::marker
|
||||
Pass Animation of unicode-bidi in ::marker
|
||||
Pass Animation of direction in ::marker
|
||||
Fail Animation of content in ::marker
|
||||
Fail Animation of hyphens in ::marker
|
||||
Fail Animation of letter-spacing in ::marker
|
||||
Fail Animation of line-break in ::marker
|
||||
Fail Animation of overflow-wrap in ::marker
|
||||
Fail Animation of tab-size in ::marker
|
||||
Fail Animation of text-transform in ::marker
|
||||
Fail Animation of word-break in ::marker
|
||||
Fail Animation of word-spacing in ::marker
|
||||
Fail Animation of text-decoration-skip-ink in ::marker
|
||||
Fail Animation of text-emphasis in ::marker
|
||||
Fail Animation of text-emphasis-color in ::marker
|
||||
Fail Animation of text-emphasis-position in ::marker
|
||||
Fail Animation of text-emphasis-style in ::marker
|
||||
Fail Animation of text-shadow in ::marker
|
||||
Fail Animation of cursor in ::marker
|
||||
Pass Animation of display in ::marker
|
||||
Pass Animation of position in ::marker
|
||||
Pass Animation of float in ::marker
|
||||
Fail Animation of list-style in ::marker
|
||||
Pass Animation of list-style-image in ::marker
|
||||
Pass Animation of list-style-position in ::marker
|
||||
Pass Animation of list-style-type in ::marker
|
||||
Pass Transition of font in ::marker
|
||||
Pass Transition of font-family in ::marker
|
||||
Pass Transition of font-feature-settings in ::marker
|
||||
Pass Transition of font-kerning in ::marker
|
||||
Fail Transition of font-size in ::marker
|
||||
Fail Transition of font-size-adjust in ::marker
|
||||
Fail Transition of font-stretch in ::marker
|
||||
Fail Transition of font-style in ::marker
|
||||
Fail Transition of font-synthesis in ::marker
|
||||
Fail Transition of font-synthesis-small-caps in ::marker
|
||||
Fail Transition of font-synthesis-style in ::marker
|
||||
Fail Transition of font-synthesis-weight in ::marker
|
||||
Pass Transition of font-variant in ::marker
|
||||
Pass Transition of font-variant-caps in ::marker
|
||||
Pass Transition of font-variant-east-asian in ::marker
|
||||
Pass Transition of font-variant-ligatures in ::marker
|
||||
Pass Transition of font-variant-numeric in ::marker
|
||||
Pass Transition of font-variant-position in ::marker
|
||||
Fail Transition of font-weight in ::marker
|
||||
Fail Transition of line-height in ::marker
|
||||
Pass Transition of white-space in ::marker
|
||||
Pass Transition of color in ::marker
|
||||
Fail Transition of text-combine-upright in ::marker
|
||||
Pass Transition of unicode-bidi in ::marker
|
||||
Pass Transition of direction in ::marker
|
||||
Pass Transition of content in ::marker
|
||||
Fail Transition of hyphens in ::marker
|
||||
Pass Transition of letter-spacing in ::marker
|
||||
Fail Transition of line-break in ::marker
|
||||
Pass Transition of overflow-wrap in ::marker
|
||||
Pass Transition of tab-size in ::marker
|
||||
Pass Transition of text-transform in ::marker
|
||||
Pass Transition of word-break in ::marker
|
||||
Pass Transition of word-spacing in ::marker
|
||||
Fail Transition of text-decoration-skip-ink in ::marker
|
||||
Fail Transition of text-emphasis in ::marker
|
||||
Fail Transition of text-emphasis-color in ::marker
|
||||
Fail Transition of text-emphasis-position in ::marker
|
||||
Fail Transition of text-emphasis-style in ::marker
|
||||
Fail Transition of text-shadow in ::marker
|
||||
Pass Transition of cursor in ::marker
|
||||
Fail Transition of display in ::marker
|
||||
Fail Transition of position in ::marker
|
||||
Fail Transition of float in ::marker
|
||||
Fail Transition of list-style in ::marker
|
||||
Fail Transition of list-style-image in ::marker
|
||||
Fail Transition of list-style-position in ::marker
|
||||
Fail Transition of list-style-type in ::marker
|
||||
Reference in New Issue
Block a user