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: Change dump_selector function in dump.cpp #4012

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Asaadziad
Copy link

in order to resolve the FIXME

Add an enum NameType to the SimpleSelector struct in order to be able to tell which selector has a name or qualified name or none. Change the type dump to a switch case, and add 2 functions to handle PseudoClass and Attribute because they were too long

@Asaadziad Asaadziad requested a review from AtkinsSJ as a code owner March 20, 2025 02:15
@ladybird-bot
Copy link
Collaborator

Hello!

One or more of the commit messages in this PR do not match the Ladybird code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.

@Asaadziad Asaadziad force-pushed the libweb-dump-fix-me branch 3 times, most recently from 08420b3 to c760a0f Compare March 20, 2025 13:34
@Asaadziad Asaadziad changed the title LibWeb: Change dump_selector and SimpleSelector struct LibWeb: Change dump_selector function in dump.cpp Mar 20, 2025
This change updates the dump_selector function
 in order to resolve the FIXME.
@Asaadziad Asaadziad force-pushed the libweb-dump-fix-me branch from c760a0f to 1603d59 Compare March 20, 2025 21:13
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