RESOLVED FIXED312378
Web Inspector: Assertion Failed: not reached"rendered" in WI.DOMTreeElement.badgeTypeForLayoutFlag()
https://bugs.webkit.org/show_bug.cgi?id=312378
Summary Web Inspector: Assertion Failed: not reached"rendered" in WI.DOMTreeElement.b...
Razvan Caliman
Reported 2026-04-15 07:42:01 PDT
https://commits.webkit.org/310936@main refactored `WI.DOMTreeElement` to consolidate creation of badges per layout flag and added an assertion for an unknown badge type. There is a layout flag, `WI.DOMNode.LayoutFlag.Rendered`, for which there is no badge (this is used to dim not rendered DOM nodes in the DOM tree, for example `display: none` nodes). The assertion is unintentionally tripped.
Attachments
Screenshot of Console in Inspector^2 with assertions for "rendered" layout flag (1.20 MB, image/png)
2026-04-15 07:44 PDT, Razvan Caliman
no flags
Razvan Caliman
Comment 1 2026-04-15 07:44:29 PDT
Created attachment 479091 [details] Screenshot of Console in Inspector^2 with assertions for "rendered" layout flag
Radar WebKit Bug Importer
Comment 2 2026-04-15 07:45:01 PDT
Razvan Caliman
Comment 3 2026-04-15 07:50:24 PDT
EWS
Comment 4 2026-04-16 04:18:44 PDT
Committed 311359@main (5fd1ffa68fce): <https://commits.webkit.org/311359@main> Reviewed commits have been landed. Closing PR #62822 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.