[Webkit-unassigned] [Bug 38222] New: "word-wrap: break-word" should not override "white-space: pre"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 27 15:06:10 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38222

           Summary: "word-wrap: break-word" should not override
                    "white-space: pre"
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: phnixwxz at gmail.com


Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
     Chrome 5: FAIL
  Firefox 3.x: OK
         IE 8: OK

What steps will reproduce the problem?
1. Open the attached test case.

What is the expected result?
Line won't wrap.

What happens instead?
Line wraps

Please provide any additional information below. Attach a screenshot if
possible.

According to the CSS3 specification about word-wrap 
(http://www.w3.org/TR/css3-text/#word-wrap), the value of word-wrap only 
controls if the UA may break unbreakable words. It shouldn't force line-
wrapping, and shouldn't override "white-space: pre". Though the title says 
"force", the content doesn't say it.

"normal
  Lines may break only at allowed break points.
break-word
  An unbreakable "word" may be broken at an arbitrary point if there are no 
otherwise-acceptable break points in the line..."

http://crbug.com/42680

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list