[Webkit-unassigned] [Bug 14523] nowrap attribute in table cell is ignored in strict mode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 7 16:46:38 PST 2012


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


Tony Chang <tony at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tony at chromium.org




--- Comment #8 from Tony Chang <tony at chromium.org>  2012-02-07 16:46:38 PST ---
(In reply to comment #6)
> The question is whether to follow MSIE's behavior or Firefox's behavior.

In the presence of nowrap and a width, Firefox 12a in strict mode will not wrap.  Firefox in quirks mode will wrap.

IE in quirks mode and versions up to IE7 will also wrap.  IE8 and IE9 in standards mode will not wrap.

WebKit will always wrap.  It seems like to be consistent with other browsers, WebKit should not wrap in standards mode and wrap in quirks mode.

If someone wanted to fix this, the code is in CSSStyleSelector::adjustRenderStyle (the check against KHTML_NOWRAP).  That said, I'm not sure how much of an issue this is today.  It would have to be a page rendering in standards mode using the nowrap attribute on a table cell.  The workaround is to use CSS white-space: nowrap instead.

-- 
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