-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Add the inert attribute and tweak definition of inert subtrees #7134
Conversation
It looks like there are WPTs here? https://wpt.fyi/results/inert |
@josepharhar Updated, thanks. I'm hoping to get to updating this PR in the next couple of weeks. |
related #4288 |
@nt1m did you see #4288 (review) by @rniwa? How does this relate to @alice's work? Was/should there be some coordination? |
Yes, I described my rationale for using flat tree descendants in #7134 (comment)
This is a newer version of it, I created a new PR to not have all the old comments.
There is an email thread going around about shipping inert with @emilio, @smfr, me, @chrishtr and @mfreed7. Alice is no longer involved afaik. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This generally LGTM. It'd be good if @josepharhar also took a look, given that he's implementing it in Chromium.
@alice Thanks for all your work done on the topic! I did re-use some parts of #4288, but also re-wrote quite a bit of it too, I hope that's ok with you. Didn't mean to discredit your work, but I did hear that you moved on to different projects. Feel free to leave feedback if you have any, your expertise is welcome :) |
Starting an entirely new PR without any reference to the old one, and putting your name and not mine in the acknowledgements doesn't look like you didn't mean not to acknowledge me. I trust the reviewers to do a good job reviewing the text here - I've said my piece on the design of the feature in the past, rehashing that seems pointless at this stage. |
@alice I apologize for not asking before making a new PR, someone from Google during the CSSWG meeting said you were working on other projects, and I really wanted to get inert shipped over the finish line without having to iterate over a stale PR that I do not own. If you're referring to my name in the "acknowledgements" section, this is because it's a requirement when making a first PR: https://github.com/whatwg/html/blob/main/CONTRIBUTING.md#pull-requests
Your name was already in this section before making this PR: "Alice Boxhall": https://html.spec.whatwg.org/multipage/acknowledgements.html#acknowledgments I added credit in the description of this PR (sorry for not doing this in the first place). I'm happy to remove my name if you prefer, (and/or) iterating over the old PR. Please let me know if there's something else I can do. |
Note to maintainers: let's try to make sure the final commit contains
at the end. |
e90262b
to
9ae9c17
Compare
@annevk I've added the link to pointer-events: none; which I think should remove the need for an example :) Please let me know if there's anything else to address. |
I thought the idea was that both I still think keeping the example would be useful for readers not deeply familiar with the subject matter. It was also rather short. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall this looks good to me. I mainly have editorial nits and suggestions.
8e04c4d
to
83d37bc
Compare
daf571a
to
6a1fcbc
Compare
Is there anything else to do here? I'd want this to land in order to send an intent to ship for Blink. |
5c7bc20
to
a8ddca2
Compare
Co-authored-by: Alice Boxhall <aboxhall@chromium.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but @annevk has been the primary reviewer so he should confirm before we merge.
Based on work in #4288 by Alice Boxhall.
Added the inert attribute and tweaked inert subtrees definition.
(See WHATWG Working Mode: Changes for more details.)
/acknowledgements.html ( diff )
/index.html ( diff )
/interaction.html ( diff )
/dom.html ( diff )
/index.html ( diff )
/indices.html ( diff )
/infrastructure.html ( diff )
/interaction.html ( diff )