Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDocument how to implement "reflect a content attribute" #10352
Comments
|
Something like this perhaps (it's just a rough start):
I think it would perhaps be best to keep the documentation for these in the file itself, since there otherwise always a huge risk that we fail in keeping the documentation in sync with the actual implementation. |
|
While I see your point, I'm inclined to have text like that present in dom/bindings/mod.rs, which is where related concepts are documented and therefore easier to find and point people at. |
Fair enough, I don't know the code well enough yet to have strong opinions about it. |
|
This can probably be salvaged in an |
The macros exist that do this, but there's no clear association between them and the specification text. We should improve our documentation here, and/or rename the macros to make it clearer.