[webkit-reviews] review requested: [Bug 5566] ALT attribute value sometimes not displayed when image is missing : [Attachment 196058] Basically, we can display the alt text value if there is the efficient space.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 1 19:34:38 PDT 2013


kyounga <kyounga.ra at gmail.com> has asked  for review:
Bug 5566: ALT attribute value sometimes not displayed when image is missing
https://bugs.webkit.org/show_bug.cgi?id=5566

Attachment 196058: Basically, we can display the alt text value if there is the
efficient space.
https://bugs.webkit.org/attachment.cgi?id=196058&action=review

------- Additional Comments from kyounga <kyounga.ra at gmail.com>
Webkit already has the efficient space to draw the alt text value.
Before painting the text, it subtracts 2px from the clientWidth" (the comment
says)
But "clientWidth" doesn't include the margin, border, padding and outlines. 
Using this simple patch, (just removing the subtraction) we can see the alt
text in many cases.
First of  all, how about this?


More information about the webkit-reviews mailing list