WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
28857
no-link-wrap
Text inside <a> links not wrapping in divs
https://bugs.webkit.org/show_bug.cgi?id=28857
Summary
Text inside <a> links not wrapping in divs
Jose Blas
Reported
2009-08-31 14:40:34 PDT
I have noticed that webkit fails to wrap the text inside <a> links in divs. I have a div of 200px and a link and a paragraph inside, the paragraph text will wrap inside the div (i have setup a border) but the link text goes out of the div borders. See the url for an example. The example works fine in other browsers.
Attachments
snapshot
(38.83 KB, image/jpeg)
2009-08-31 15:37 PDT
,
Jose Blas
no flags
Details
snapshot of firefox behaviour
(28.21 KB, image/jpeg)
2009-08-31 15:39 PDT
,
Jose Blas
no flags
Details
Test to see if line is broken at non-space (slash in this case)
(170 bytes, text/html)
2010-02-11 19:13 PST
,
Yuzo Fujishima
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Jose Blas
Comment 1
2009-08-31 15:37:32 PDT
Created
attachment 38839
[details]
snapshot Here is a snap shot of the bug in action in Safari 4.
Jose Blas
Comment 2
2009-08-31 15:39:12 PDT
Created
attachment 38840
[details]
snapshot of firefox behaviour here is a snapshot of firefox behaving correctly the same example.
Jose Blas
Comment 3
2009-08-31 15:40:21 PDT
I have added snapshots as attachments. Thanks
Yuzo Fujishima
Comment 4
2010-02-11 19:13:17 PST
Created
attachment 48609
[details]
Test to see if line is broken at non-space (slash in this case)
Yuzo Fujishima
Comment 5
2010-02-11 19:27:47 PST
Hmm, I don't see any reasons to change the current behavior. As far as I searched, the HTML 4 spec doesn't say that a line can be broken at non-space characters such as '/', except for soft hyphens.
http://www.w3.org/TR/html401/struct/text.html#h-9.3.2
I don't see any reasons from the compatibility point of view either. Please see the attached "Test to see if line is broken at non-space". IE 8.0: no line breaks (same as WebKit-based browsers) FF 3.6: line breaks before '/' Opera 10.10: line breaks after '/'. Yuzo
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