mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 23:07:33 +09:00
Implement DOM page onvisibilitychange.
This commit is contained in:
parent
fc9d873b31
commit
3a4e49d048
5 changed files with 15 additions and 2 deletions
|
|
@ -275,10 +275,11 @@ partial interface Document {
|
|||
object registerElement(DOMString name, optional ElementRegistrationOptions options);
|
||||
};
|
||||
|
||||
// http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#sec-document-interface
|
||||
// https://w3c.github.io/page-visibility/#extensions-to-the-document-interface
|
||||
partial interface Document {
|
||||
readonly attribute boolean hidden;
|
||||
readonly attribute VisibilityState visibilityState;
|
||||
attribute EventHandler onvisibilitychange;
|
||||
};
|
||||
|
||||
// http://dev.w3.org/csswg/cssom/#extensions-to-the-document-interface
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue