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: | CSS | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Leif Halvard Silli
With the styling I proposed in Bug 64005, the issue would not have occurred:
http://malform.no/testing/html5/wbr-table
Brent Fulgham
WebKit and Gecko agree on the behavior here, Blink differs.
Brent Fulgham
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.