This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20301 - Document.designMode should be a WebIDL enum
Summary: Document.designMode should be a WebIDL enum
Status: RESOLVED INVALID
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-08 06:28 UTC by contributor
Modified: 2013-01-02 17:11 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2012-12-08 06:28:10 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#the-document-object
Complete: http://www.whatwg.org/c#the-document-object

Comment:
Document.designMode should be a WebIDL enum

Posted from: 173.48.81.109
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20121203 Firefox/20.0
Comment 1 Boris Zbarsky 2012-12-08 06:28:28 UTC
Then you get the "other values are ignored" behavior for free.
Comment 2 Anne 2013-01-02 17:11:03 UTC
This is not possible unless we Web IDL gains ASCII case-insensitive enums.
Comment 3 Boris Zbarsky 2013-01-02 17:11:44 UTC
Yeah, I hadn't realized this value was case-insensitive when I filed the bug.