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 15510 - avoid minimized attributes
Summary: avoid minimized attributes
Status: CLOSED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML/XHTML Compatibility Authoring Guide (ed: Eliot Graff) (show other bugs)
Version: unspecified
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---
Assignee: Eliot Graff
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-10 21:15 UTC by Jeff Jackson
Modified: 2013-04-09 14:36 UTC (History)
6 users (show)

See Also:


Attachments
HTML5 document demonstrating validation problem for HTML-style boolean attribute specification. (544 bytes, text/html)
2012-01-10 21:15 UTC, Jeff Jackson
Details

Description Jeff Jackson 2012-01-10 21:15:05 UTC
Created attachment 1064 [details]
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.
Comment 1 David Carlisle 2012-01-11 09:34:39 UTC
[non editor comment]
The polyglot spec details the extra constraints that a document that is well formed xml and valid html needs to satisfy in order that an xml and html parser produce equivalent parse trees.  A document with minimised attributes is not well formed XML (ie, is not XML at all) and wouldn't produce any output from an XML parser, thus doesn't meet the preconditions for the conditions described in the polyglot spec.
Comment 2 Eliot Graff 2013-04-08 04:29:05 UTC
    EDITOR'S RESPONSE: This is an Editor's Response to your comment. If
    you are satisfied with this response, please change the state of
    this bug to CLOSED. If you have additional information and would
    like the Editor to reconsider, please reopen this bug. If you would
    like to escalate the issue to the full HTML Working Group, please
    add the TrackerRequest keyword to this bug, and suggest title and
    text for the Tracker Issue; or you may create a Tracker Issue
    yourself, if you are able to do so. For more details, see this
    document:

       http://dev.w3.org/html5/decision-policy/decision-policy.html

    Status: Rejected
    Rationale: As explained in comment 1, because minimized attributes are not valid XML, they do not play into the polyglot guidelines.

Thanks so much for the feedback.