mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb/HTML: Use paintable box for 'associated CSS layout box' check
This is consistent with other functions such as HTMLElement::offset_width and fixes a crash for the included test. Returning an offset of zero is not correct for this case, but this is still an improvement to not crash.
This commit is contained in:
parent
372f2dd7a1
commit
44bb2b7e32
Notes:
github-actions[bot]
2025-01-02 10:29:35 +00:00
Author: https://github.com/shannonbooth
Commit: 44bb2b7e32
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3077
Reviewed-by: https://github.com/awesomekling
3 changed files with 78 additions and 2 deletions
|
@ -0,0 +1,24 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 18 tests
|
||||
|
||||
3 Pass
|
||||
15 Fail
|
||||
Fail display: block
|
||||
Pass display: run-in
|
||||
Pass display: flow
|
||||
Fail display: flow-root
|
||||
Fail display: table
|
||||
Pass display: list-item
|
||||
Fail display: table-row-group
|
||||
Fail display: table-header-group
|
||||
Fail display: table-footer-group
|
||||
Fail display: table-row
|
||||
Fail display: table-cell
|
||||
Fail display: table-column-group
|
||||
Fail display: table-column
|
||||
Fail display: table-caption
|
||||
Fail display: ruby-base
|
||||
Fail display: ruby-text
|
||||
Fail display: ruby-base-container
|
||||
Fail display: ruby-text-container
|
Loading…
Add table
Add a link
Reference in a new issue