Bug 116645 - Need to update Page Visibility states
Summary: Need to update Page Visibility states
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 116769
Blocks: 102340
  Show dependency treegraph
 
Reported: 2013-05-22 17:06 PDT by Simon Fraser (smfr)
Modified: 2013-05-25 15:41 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2013-05-22 17:06:27 PDT
WebKit currently has:
enum PageVisibilityState {
    PageVisibilityStateVisible,
    PageVisibilityStateHidden,
    PageVisibilityStatePrerender,
    PageVisibilityStatePreview
};

but the current spec lists:

On getting, visibilityState attribute MUST return one of the following DOMStrings or a vendor prefixed DOMString as defined in 4.5 Vendor Prefixes:

hidden,
visible,
prerender,
unloaded.
Comment 1 Simon Fraser (smfr) 2013-05-22 17:21:18 PDT
"preview" was in
http://www.w3.org/TR/2011/WD-page-visibility-20110721/
but was replaced by "unloaded"  in http://www.w3.org/TR/2012/CR-page-visibility-20120726/