[Bug 12365] Add @fullsize to <img>

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

--- Comment #4 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-03-22 22:26:34 UTC ---
(In reply to comment #3)
> What's expected UA behavior for this?  If UAs aren't supposed to do anything
> with this, then @data-fullsize is the right solution.

I don't know if you count it as 'do anything', but I'd say that @fullsize
should have a DOMString attribute fullsize; 

> For linking thumbnail to full-size image, IMHO a much better (and hopefully
> much more popular) design pattern is to use <a href=fullsize><img
> src=thumbnail></a>. It has much better backwards compatibility and is still
> easily usable by scripts. 
> 
> If explicit association of thumbnail and large image is needed, then perhaps <a
> rel=fullsize> would be better?

The idea of rel=fullsize sounds interesting to. The important issue, then, is
to check whether such a thing is what authors ask for. It looks to me as if it
isn't enough, given the common misuse of @longdesc for this purpose. (But the
use of @longdesc might also be triggered by a desire to be 'valid' - HTML4 did
not have a data-* attribute.)

-- 
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 Tuesday, 22 March 2011 22:26:36 UTC