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 upImplement document.hasFocus #6475
Closed
Labels
Comments
|
I can try this task. |
|
I'm trying to implement point 4. form: https://html.spec.whatwg.org/multipage/interaction.html#dom-document-hasfocus. How can I check if document has a dialog group, then how to check if document has a non-empty control group? I haven't found any method returning it, is it available in servo? |
I believe Servo does not yet support these features. You can just skip this step for now, and put a "TODO" comment in the code. |
bors-servo
pushed a commit
that referenced
this issue
Aug 3, 2015
Implementing document.hasFocus method, needs tests. #6475 I'm not sure if I have to implement some test for a new document method. As I remember there were tests for document methods, is it changed now? Where should I add tests? <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6757) <!-- Reviewable:end -->
bors-servo
pushed a commit
that referenced
this issue
Aug 11, 2015
Implementing document.hasFocus method, needs tests. #6475 I'm not sure if I have to implement some test for a new document method. As I remember there were tests for document methods, is it changed now? Where should I add tests? <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6757) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
http://www.whatwg.org/specs/web-apps/current-work/#focus-management
cc #5394