W3C home > Mailing lists > Public > public-html@w3.org > January 2012

[Bug 15510] New: avoid minimized attributes

From: <bugzilla@jessica.w3.org>
Date: Tue, 10 Jan 2012 21:15:08 +0000
To: public-html@w3.org
Message-ID: <bug-15510-2495@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=15510

           Summary: avoid minimized attributes
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML/XHTML Compatibility Authoring Guide (ed: Eliot
                    Graff)
        AssignedTo: eliotgra@microsoft.com
        ReportedBy: jacksonj@duq.edu
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, eliotgra@microsoft.com


Created attachment 1064
  --> https://www.w3.org/Bugs/Public/attachment.cgi?id=1064
HTML5 document demonstrating validation problem for HTML-style boolean
attribute specification.

"XML does not support attribute minimization"
(http://www.w3.org/TR/xhtml1/diffs.html#h-4.5).  So it would seem that in
polyglot HTML, the attribute specification for a boolean attribute such as
autofocus cannot consist of the attribute name alone, even though that would be
legal in HTML.  The W3C HTML5 validator seems to agree with this assessment
(see attachment).  But as far as I can tell, the HTML/XHTML Compatibility
Authoring Guide does not mention this issue, nor has this been posted as a bug
to the guide.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 11 January 2012 03:04:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:29 UTC