Warn when parsing void or self-closing custom elements
Categories
(Core :: DOM: HTML Parser, enhancement, P3)
Tracking
()
People
(Reporter: vporof, Unassigned)
References
(Blocks 2 open bugs)
Details
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Reporter | ||
Comment 4•6 years ago
|
||
Reporter | ||
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Hello Victor,
I would be happy to work on this issue. Would request you to give me a gist of the conversation and maybe suggest steps to solve this issue. Am a new contributor. Helps to be clear that I understand everything and can then approach it effectively.
Comment 11•6 years ago
|
||
(In reply to Karan Sapolia from comment #10)
Would request you to give me a gist of the conversation and maybe suggest steps to solve this issue.
Comment 3 describes the parser-side change needed.
See
https://searchfox.org/mozilla-central/source/parser/html/nsHtml5TreeBuilderCppSupplement.h#1193
https://searchfox.org/mozilla-central/source/parser/html/nsHtml5TreeOperation.cpp#966
https://searchfox.org/mozilla-central/source/parser/html/nsHtml5TreeOpExecutor.cpp#809
for an example of an existing code path for getting an error report from the parser to the console.
Reporter | ||
Comment 12•6 years ago
|
||
(In reply to Karan Sapolia from comment #10)
Hello Victor,
I would be happy to work on this issue. Would request you to give me a gist of the conversation and maybe suggest steps to solve this issue. Am a new contributor. Helps to be clear that I understand everything and can then approach it effectively.
Awesome stuff, thanks for the interest Karan!
This bug has all the context, especially in comment 0 and 3. Once this is fixed, we can better show these warnings in the front-end, with some appropriate UI (bug 1493964).
Let me know if you need any help setting up your development environment.
Comment 13•6 years ago
|
||
Thank you Henri and Victor. I have the dev environment setup. Let me go through the comments and links and reach out to you with questions and patch drafts. Are you both available on IRC too?
Reporter | ||
Comment 14•6 years ago
|
||
(In reply to Karan Sapolia from comment #13)
Thank you Henri and Victor. I have the dev environment setup. Let me go through the comments and links and reach out to you with questions and patch drafts. Are you both available on IRC too?
I'm usually on both slack and IRC. Feel free to ping in this bug as well.
Reporter | ||
Updated•6 years ago
|
Comment 15•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Updated•2 years ago
|
Description
•