Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibWeb: Don't crash when resolving grid properties of inline elements #1454

Conversation

tcl3
Copy link
Member

@tcl3 tcl3 commented Sep 19, 2024

Follow-up to #1431

Previously, attempting to get the computed value for a grid-template-rows or grid-template-columns property would cause a crash for inline elements.

This fixes a crash in the inspector that I saw when clicking on a <span> tag.

@tcl3 tcl3 requested a review from AtkinsSJ as a code owner September 19, 2024 21:53
Previously, attempting to get the computed value for a
grid-template-rows or grid-template-columns property would cause a
crash for inline elements.
@tcl3 tcl3 force-pushed the libweb_getcomputedstyle_inline_element_crash branch from 81c3fc0 to dc4e553 Compare September 19, 2024 21:57
@awesomekling awesomekling merged commit 087fcb8 into LadybirdBrowser:master Sep 20, 2024
6 checks passed
@tcl3 tcl3 deleted the libweb_getcomputedstyle_inline_element_crash branch September 20, 2024 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants