RESOLVED FIXED 13604
CSS Justify/Word-spacing/table bug
https://bugs.webkit.org/show_bug.cgi?id=13604
Summary CSS Justify/Word-spacing/table bug
Jeppe Utzon
Reported 2007-05-06 10:47:05 PDT
Stumbled upon a funky wierdness in WebKit. If I have some CSS that defines both "justify" and "word-spacing" and then put some text in a "td", then it behaves as expected (in the nightly) - UNLESS the words are individually wrapped in "a href" tags. If that is done, then the words jump out of the "td" - they spill out of it on the right hand side. Not sure how good an explanation this is, but I've included some example code that shoud make it obvious. In the example I have a basic page with two tables - each of which have just a single "td" inside. In the top table I have just normal text (without any links) and it behaves as expected. In the bottom table, however, I have wrapped every word in a link and this makes the content of the "td" spill out of it to the right. So basically the two tables/tds look very different from each other when they should look the same (except for the link decoration). In Firefox both tables behave as they should. HTH... :) /Jeppe Utzon
Attachments
Example code (1.02 KB, text/html)
2007-05-06 10:49 PDT, Jeppe Utzon
no flags
Jeppe Utzon
Comment 1 2007-05-06 10:49:35 PDT
Created attachment 14375 [details] Example code
mitz
Comment 2 2007-05-06 12:13:58 PDT
Good reduction!
Robert Hogan
Comment 3 2012-03-11 03:22:31 PDT
This doesn't look broken any more. Can you confirm?
Jeppe Utzon
Comment 4 2012-03-11 04:41:07 PDT
(In reply to comment #3) > This doesn't look broken any more. Can you confirm? Confirmed. Works correctly now AFAICT. Thanks.
Robert Hogan
Comment 5 2012-03-11 06:44:45 PDT
We should land the test from this bug before closing I guess.
Note You need to log in before you can comment on or make changes to this bug.