[webkit-dev] Marquee as overflow property's value
Chris Hutten-Czapski
chutten at rim.com
Tue Apr 10 05:59:06 PDT 2012
I think it might be because marquee is non-compliant HTML.
To my knowledge, WebKit only supports marquee in a best-effort capacity for compatibility with old pages. It is only reasonable to expect that, until (or unless, since the module's been in CR since 2008) the CSS Marquees module matures, support (especially interactions with other properties) would be spotty.
I recommend not using non-standard html elements. Step 1 of your course of action should be to remove the marquee element from the page and re-examine why you think you needed it. If you still have a use case for distracting, scrolling text, consider using javascript to gain the control you require.
Or you could switch to the blink tag. That'd be hella fly.
Style,
Chris
From: webkit-dev-bounces at lists.webkit.org [mailto:webkit-dev-bounces at lists.webkit.org] On Behalf Of Arpita Bahuguna
Sent: Tuesday, April 10, 2012 6:27 AM
To: webkit-dev at lists.webkit.org
Subject: [webkit-dev] Marquee as overflow property's value
Dear WebKit team,
Could someone please elicit as to why marquee is added as one of the overflow style property's value?
[See: RenderStyleConstants.h]
enum EOverflow {
OVISIBLE, OHIDDEN, OSCROLL, OAUTO, OOVERLAY, OMARQUEE
};
Because of this, while setting the style properties for a marquee element with overflow property specified, the value for the overflow property is overridden by that value (i.e. either hidden, scroll, visible or auto) and is thus never set as "marquee".
Thus in the current scenario, for a marquee element with overflow specified, RenderMarquee is never created.
Thanks in advance.
Regards,
Arpita
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120410/caaecd5a/attachment-0001.html>
More information about the webkit-dev
mailing list