WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
13080
Quirk: Non-breaking spaces next to an image should not provide a line-breaking opportunity within a table cell
https://bugs.webkit.org/show_bug.cgi?id=13080
Summary
Quirk: Non-breaking spaces next to an image should not provide a line-breakin...
David Kilzer (:ddkilzer)
Reported
2007-03-15 05:27:49 PDT
Summary: Non-breaking spaces ( or \uC2A0 in UTF-8) around <img> tags within <td> tags are not collapsed when rendered in Safari. Steps to reproduce: 1. Open Safari/WebKit. 2. Open one of the two test cases. Expected results: The non-breaking spaces should be collapsed so that the test cases look the same in Safari/WebKit as they do in Firefox 2.0.0.2. Actual results: The non-breaking spaces are not collapsed, causing the test cases to render incorrectly. Regression: Shipping Safari 2.0.4 (419.3) on Mac OS X 10.4.8 (8L127) renders the test cases incorrectly, so this is not a regression. Tested with a local debug build of WebKit
r20211
with the above software. Note: Non-breaking spaces in this situation are collapsed when rendered in Firefox 2.0.0.2 and Opera 9.10. MSIE 6/7 have not been tested. Mac IE 5.2.3 does not collapse the non-breaking spaces like Safari.
Attachments
Test case (using )
(3.13 KB, text/html)
2007-03-15 05:29 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
Test case (using utf-8 \uC2A0)
(3.19 KB, text/html)
2007-03-15 05:31 PDT
,
David Kilzer (:ddkilzer)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
David Kilzer (:ddkilzer)
Comment 1
2007-03-15 05:29:53 PDT
Created
attachment 13645
[details]
Test case (using )
David Kilzer (:ddkilzer)
Comment 2
2007-03-15 05:31:51 PDT
Created
attachment 13646
[details]
Test case (using utf-8 \uC2A0)
mitz
Comment 3
2007-03-15 06:40:12 PDT
In standards mode, Firefox behaves like WebKit.
mitz
Comment 4
2007-03-15 06:51:44 PDT
Actually, in Firefox's rendering, the spaces aren't collapsed, they just don't provide a line breaking opportunity. This bug means that there's still some craziness missing from the implementation in <
http://trac.webkit.org/projects/webkit/changeset/19342
> of the crazy Firefox/Opera quirk.
mitz
Comment 5
2007-03-15 06:57:34 PDT
See
attachment 12778
[details]
and
attachment 12779
[details]
for the full extent(?) of the quirk in Firefox and WinIE.
David Kilzer (:ddkilzer)
Comment 6
2007-03-15 07:50:06 PDT
Note that this was originally seen on automated search email sent by eBay. I can provide the email message (which renders incorrectly in Mail 2.1 (752/752.2) on Mac OS X 10.4.8 (8L127)) as well if that would be helpful.
Robert Hogan
Comment 7
2013-07-27 01:34:44 PDT
WebKit renders the test cases the same as FF22 and Opera presto. So this isn't a bug anymore I think.
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