[Bug 12737] Please clarify the validity of "any" in the sizes attribute

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

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ian@hixie.ch
         Resolution|                            |FIXED

--- Comment #2 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-08-12 22:18:33 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: Accepted
Change Description: see diff given below
Rationale:

I've tried to tweak the text to be clearer.

sizes=" any " is value because it's a valid "unordered set of unique
space-separated tokens" and each token is valid per the paragraph quoted above.

sizes="any any" and sizes="any ANY" are invalid because the tokens aren't all
unique, so it's invalid per the  "unordered set of unique space-separated
tokens" definition.

sizes="32x32 any" is valid because the values are unique and each value is
valid per the paragraph above. It means that the icon file contains a 32x32
bitmap and a scalable vector image. (I guess that could be possible if the icon
format is, e.g., a format that consists of a zipfile with SVG and PNG images in
it. Such a format isn't supported by anyone currently so a validator may wish
to warn about this combination being a likely error at this time.)

Please don't hesitate to reopen if this is still not clear in the spec. I can
add more examples or something.

-- 
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 Friday, 12 August 2011 22:18:39 UTC