RESOLVED INVALID 13822
CSS background color not drawn for overflown text in inline blocks
https://bugs.webkit.org/show_bug.cgi?id=13822
Summary CSS background color not drawn for overflown text in inline blocks
Sridhar Gurivireddy
Reported 2007-05-22 11:46:24 PDT
In the example below, <span>Here comes an <span style="background: silver; display: inline-block; width: 100px; vertical-align: top; height: 20px;">inline block with overflow.</span></span> the text overflows to next line and the background color of "silver" applies to overflown text as well. IE: behaves correctly Firefox: Does not seem to properly impelemtn width and height for inline-blocks Webkit: width and height of inline-blocks are implemented, however background color not drawn properly. Repro: Use this URL http://just1gb.googlepages.com/inline-block-overflow.html
Attachments
mitz
Comment 1 2007-05-22 12:04:02 PDT
Background color should not apply to overflow.
Dave Hyatt
Comment 2 2007-05-22 14:21:00 PDT
IE and FFX do not support display:inline-block. Safari does. Moreover Safari's rendering is correct, since the height of the inline-block has been specified to be 20px. Background renders into the border box, not the overflow area.
Dave Hyatt
Comment 3 2007-05-22 14:21:42 PDT
Firefox 3 supports inline-block, and if you download, e.g., Gran Paradiso Alpha 4, you can see that it renders just like Safari.
Note You need to log in before you can comment on or make changes to this bug.