mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #6757 - mskrzypkows:document_hasFocus, r=jdm
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 -->
This commit is contained in:
commit
0c5158587d
3 changed files with 22 additions and 7 deletions
|
@ -116,7 +116,7 @@ partial /*sealed*/ interface Document {
|
|||
// user interaction
|
||||
readonly attribute Window/*Proxy?*/ defaultView;
|
||||
// readonly attribute Element? activeElement;
|
||||
// boolean hasFocus();
|
||||
boolean hasFocus();
|
||||
// attribute DOMString designMode;
|
||||
// boolean execCommand(DOMString commandId, optional boolean showUI = false, optional DOMString value = "");
|
||||
// boolean queryCommandEnabled(DOMString commandId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue