Skip to content

feat(global): remove invalid selector crashing inspector#6051

Closed
srambach wants to merge 1 commit intopatternfly:v6from
srambach:fix-inspector-crash
Closed

feat(global): remove invalid selector crashing inspector#6051
srambach wants to merge 1 commit intopatternfly:v6from
srambach:fix-inspector-crash

Conversation

@srambach
Copy link
Member

:where() with a pseudo element is not valid, and this was causing the inspector in Chrome 119 and Edge to crash. This changes the selector to remove :where. The only side effect is increasing the specificity of that particular rule.

@patternfly-build
Copy link
Collaborator

patternfly-build commented Nov 10, 2023

Copy link
Member

@evwilkin evwilkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM to fix the bug - though would still defer to @mattnolting or @mcoker on any consequences of the specificity increase you called out 👍

@mcoker
Copy link
Contributor

mcoker commented Nov 10, 2023

LGTM but this change is also in #6031. That one is ready to merge, too. Do you prefer to keep the change there or in this PR?

@srambach
Copy link
Member Author

@mcoker Either way - just wanted to get this fix into v6 so it's not slowing people down.

@mcoker
Copy link
Contributor

mcoker commented Nov 10, 2023

Addresses in #6031

@mcoker mcoker closed this Nov 10, 2023
@srambach srambach deleted the fix-inspector-crash branch April 6, 2024 01:27
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.

4 participants