WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
63058
text overflow ellipsis and whitespace no wrap can produce background colour artifact
https://bugs.webkit.org/show_bug.cgi?id=63058
Summary
text overflow ellipsis and whitespace no wrap can produce background colour a...
Luke
Reported
2011-06-21 01:56:59 PDT
Created
attachment 97950
[details]
reproduces problem See test case. If I have span New Zealand and I am cutting off from w onwards and inserting an ellipsis, I would not expect background colours from the cut off text to be applied to the parent span. It appears broken in IE and Chrome and I will be raising a question on the mozilla text overflow bug.
Attachments
reproduces problem
(796 bytes, text/html)
2011-06-21 01:56 PDT
,
Luke
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Helder Magalhães
Comment 1
2011-06-21 10:58:51 PDT
(In reply to
comment #0
)
> I will be raising a question on the mozilla text overflow bug.
That would be
https://bugzilla.mozilla.org/show_bug.cgi?id=312156#c305
;-)
Luke
Comment 2
2011-06-22 00:44:43 PDT
As pointed out on the mozilla bug, it seems this is what is specified to happen "(In reply to
comment #305
) "Hide characters and atomic inline-level elements at the end edge of the line as necessary to fit the ellipsis."
http://dev.w3.org/csswg/css3-ui/#text-overflow
In your example, the red background belongs to a non-atomic inline, which is still displayed even though its text is removed. I don't see any error in IE9 or Chrome13 for your testcase, this is how Firefox will render it as well."
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug