Implementing document.hasFocus method. #6475

This commit is contained in:
Maciej Skrzypkowski 2015-07-22 22:31:29 +02:00
parent 8edf1a5ecd
commit 07c0cd8a18
3 changed files with 22 additions and 7 deletions

View file

@ -114,7 +114,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);