[Webkit-unassigned] [Bug 48493] Rendered <noscript> tag if XHTMLMP feature is enable.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 8 17:19:32 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=48493
kyounga <kyounga.ra at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #72783|0 |1
is obsolete| |
Attachment #73314| |review?
Flag| |
--- Comment #5 from kyounga <kyounga.ra at gmail.com> 2010-11-08 17:19:31 PST ---
Created an attachment (id=73314)
--> (https://bugs.webkit.org/attachment.cgi?id=73314&action=review)
patch
If XHTMLMP is enabled, class "document" has an additional member, m_shouldProcessNoScriptElement. I use this to determine if noscript should be rendered or not.
The bit(m_shouldProcessNoScriptElement) is computed by default as following in Doucment class constructor.
#if ENABLE(XHTMLMP)
m_shouldProcessNoScriptElement = !(m_frame && m_frame->script()->canExecuteScripts(NotAboutToExecuteScript));
#endif
I mean it same as before.
and it can be set by calling setShouldProcessNoscriptElement().
It is called only in XMLDocumentParser.
--
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