[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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ian@hixie.ch

--- Comment #1 from Ian 'Hixie' Hickson <ian@hixie.ch> ---
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".

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

Received on Thursday, 28 March 2013 06:13:13 UTC