Bug 26414

Summary: Text overflows from a table when <WBR> occurs in an element with "white-space:pre"
Product: WebKit Reporter: Niranjan Tulpule <niranjan.tulpule>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, xn--mlform-iua
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 64005    
Bug Blocks:    

Niranjan Tulpule
Reported 2009-06-15 14:31:10 PDT
Webkit seems to be confused when <WBR> occurs in an element with "white-space:pre" inside a table. Reduced test case: <HTML> <BODY> <TABLE width="100%" border="1" bordercolor="black"> <TBODY> <TR> <TD> <SPAN style="white-space:pre">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<WBR>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</SPAN> </TD> </TR> </TBODY> </TABLE> </BODY> </HTML>
Attachments
Leif Halvard Silli
Comment 1 2011-07-08 00:08:24 PDT
With the styling I proposed in Bug 64005, the issue would not have occurred: http://malform.no/testing/html5/wbr-table
Brent Fulgham
Comment 2 2022-07-12 12:37:19 PDT
WebKit and Gecko agree on the behavior here, Blink differs.
Brent Fulgham
Comment 3 2022-07-12 12:38:02 PDT
We do not overflow the table, but we do not break the line (like Blink does). I don't believe there is an active issue here.
Note You need to log in before you can comment on or make changes to this bug.