[Bug 21403] HTML 5 spec should address how alt text is copied to a plain text pasteboard

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21403

--- Comment #2 from steve faulkner <faulkner.steve@gmail.com> ---
(In reply to comment #1)
> It already does. The plain-text portion of the text on the clipboard is a
> rendering. Renderers are expected to follow CSS and the rules in the
> rendering section if they want to be considered "as supporting the suggested
> default rendering".
> 
> The rendering section of the spec says: "In the absence of style-layer rules
> to the contrary (e.g. author style sheets), user agents are expected to
> render an element so that it conveys to the user the meaning that the
> element represents, as described by this specification."
> 
> The rendering section also has an explicit subsection that goes into some
> detail about this for <img> element specifically:
>    http://www.whatwg.org/specs/web-apps/current-work/#images-0
> 
> Additionally, the <img> section itself has a long part that covers what the
> element represents; search for "What an img element represents depends on
> the src attribute and the alt attribute".
> 
> The key parts for the case here are: "the element represents the text given
> by the alt attribute. User agents may provide the user with a notification
> that an image is present but has been omitted from the rendering" and "When
> an img element represents some text and the user agent does not expect this
> to change, the element is expected to be treated as a non-replaced phrasing
> element whose content is the text, optionally with an icon indicating that
> an image is missing".

thanks for the background info Ian.

here is a more user friendly link to the relevant HTML 5.1 spec section
http://www.w3.org/html/wg/drafts/html/master/rendering.html#images-0

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 28 March 2013 12:01:52 UTC