[Webkit-unassigned] [Bug 15371] white-space:nowrap makes <td> expand to fit <marquee> content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 17 14:42:58 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=15371





------- Comment #7 from eric at webkit.org  2008-01-17 14:42 PDT -------
This was also interesting.  From Marquee::updateMarqueeStyle():

        // Hack alert: Set the white-space value to nowrap for horizontal
marquees with inline children, thus ensuring
        // all the text ends up on one line by default.  Limit this hack to the
<marquee> element to emulate
        // WinIE's behavior.  Someone using CSS3 can use white-space: nowrap on
their own to get this effect.
        // Second hack alert: Set the text-align back to auto.  WinIE
completely ignores text-align on the
        // marquee element.
        // FIXME: Bring these up with the CSS WG.
        if (isHorizontal() && m_layer->renderer()->childrenInline()) {
            s->setWhiteSpace(NOWRAP);
            s->setTextAlign(TAAUTO);
        }


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



More information about the webkit-unassigned mailing list