[Webkit-unassigned] [Bug 5566] ALT attribute value not displayed when image is missing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 6 11:28:58 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=5566





--- Comment #47 from Joe Wild <joseph.wild at nokia.com>  2011-06-06 11:28:57 PST ---
Created an attachment (id=96099)
 --> (https://bugs.webkit.org/attachment.cgi?id=96099&action=review)
Example patch of corrected alt text sizing

The question is where to go from here.  As a first cut I would suggest
changing code to show the border box, icon followed by alt text if
available.  Note this will be different from the current code which
displays the icon in the middle of the area and alt text in the upper
left corner of the area (when there is enough room). This would
require changing the sizing code.  Attached is a patch that shows a
1st cut at that.  It is just for example and I will be running it through
the layout tests.

Tricky parts for a more complete solution will be doing the correct
thing when width/height dimensions are specified, and deciding what to
do visually.  Should we be using the title attribute as an alternative
to no alt attribute specified?  When should we display border box, and icon
along with alt text?

P.S.  As far as I can tell, the Omnigroup solution looks like they just show
show a broken image instead of all the border, icon, alt text
rendering code in RenderImage::paintReplaced.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list