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 upFocus events #7985
Focus events #7985
Conversation
|
Review status: 0 of 5 files reviewed at latest revision, 1 unresolved discussion, some commit checks pending. components/script/dom/document.rs, line 523 [r2] (raw file): Comments from the review on Reviewable.io |
|
Review status: 0 of 5 files reviewed at latest revision, 1 unresolved discussion, some commit checks pending. components/script/dom/document.rs, line 523 [r2] (raw file): Comments from the review on Reviewable.io |
|
Reviewed 4 of 5 files at r1. components/script/dom/document.rs, line 989 [r3] (raw file): ditto to where its called components/script/dom/document.rs, line 999 [r3] (raw file): https://html.spec.whatwg.org/multipage/interaction.html#fire-a-focus-event Comments from the review on Reviewable.io |
|
Reviewed 1 of 5 files at r1, 1 of 1 files at r3. Comments from the review on Reviewable.io |
|
Looks good so far. I think web-platform-tests should already have tests for this, really. Try running |
|
Review status: 4 of 5 files reviewed at latest revision, 3 unresolved discussions, some commit checks pending. components/script/dom/document.rs, line 989 [r3] (raw file): components/script/dom/document.rs, line 999 [r3] (raw file): Comments from the review on Reviewable.io |
|
Still needs a lot of the other things from the issue being implemented. Though I am fine with landing this as-is so we can work on it incrementally. (@jdm ?) Also needs test expectation updates to land. Reviewed 1 of 1 files at r4. Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks pending. components/script/dom/document.rs, line 989 [r3] (raw file): Comments from the review on Reviewable.io |
|
There were some more changes to WPT expectations that don't seem relevant that I split over here: j3parker@061c799 I haven't had time to triage them yet - hopefully tonight after work. |
|
One of those failures is related, we should add |
|
Thanks - I'll look through the rest tonight (EST) |
|
|
|
Any updates? |
|
@j3parker have any ideas how close this is to completion? No problem if you're too busy, just let us know |
|
@j3parker are you still working on this bug? |
|
@paulrouget Seems safe to say no, given the multiple months with no reply after previous queries. |
|
@j3parker Thanks for the effort! Feel free to reopen if you want to want to work on it again and it's not already done! |
|
Oh wow I'm sorry! I set up email filtering on Github (because we've been using it at my workplace more) and long story short these didn't get to my email and I forgot otherwise. Happy to see it's been picked up though :) Cheers. |
Implement focus, blur, focusin and focusout events Based on #7985 Fixes #7981 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9529) <!-- Reviewable:end -->
Implement focus, blur, focusin and focusout events Based on #7985 Fixes #7981 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9529) <!-- Reviewable:end -->
…ts (from paulrouget:focusEvents); r=asajeffrey Based on servo/servo#7985 Fixes servo/servo#7981 Source-Repo: https://github.com/servo/servo Source-Revision: d8ffa3d0b85815a5ff62491f9f3bc7445834fc0e UltraBlame original commit: 69a79a86d8bc72b4a6862af8729811b9e9cdaa2a
…ts (from paulrouget:focusEvents); r=asajeffrey Based on servo/servo#7985 Fixes servo/servo#7981 Source-Repo: https://github.com/servo/servo Source-Revision: d8ffa3d0b85815a5ff62491f9f3bc7445834fc0e UltraBlame original commit: 69a79a86d8bc72b4a6862af8729811b9e9cdaa2a
…ts (from paulrouget:focusEvents); r=asajeffrey Based on servo/servo#7985 Fixes servo/servo#7981 Source-Repo: https://github.com/servo/servo Source-Revision: d8ffa3d0b85815a5ff62491f9f3bc7445834fc0e UltraBlame original commit: 69a79a86d8bc72b4a6862af8729811b9e9cdaa2a
j3parker commentedOct 12, 2015
This is my first pass at #7981
Looking for some early feedback. I'm not sure that what I'm doing in
commit_focus_transactionis 100% correct and I'm still trying to wrap my head around the spec (focusing/unfocusing/focus update steps.) I'm only doingfocus/focusoutat the moment while I try to understand what's going on.When I combine this with what I have in #7757 things seem to work. What would be the best way of adding tests for something like this independent of that other issue?