[Bug 9637] New: autocomplete default state should use the "default" keyword

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9637

           Summary: autocomplete default state should use the "default"
                    keyword
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec proposals
        AssignedTo: dave.null@w3.org
        ReportedBy: mounir.lamouri@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org,
                    Olli.Pettay@gmail.com
        Depends on: 9636


If bug 9636 is accepted, it would be better to have the "default" keyword for
the default state. So, the autocomplete IDL attribute would be able to return
"on", "off" and "default" instead of "on", "off" and "". Concretely, it should
not change a lot of things but it would be more clear IMO to check for
foo.autocomplete == "default" instead of foo.autocomplete == "" which sounds
much more like a hack. In addition, we can't be sure if in the future another
state wouldn't be added with no keyword.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Saturday, 1 May 2010 15:31:01 UTC