[Webkit-unassigned] [Bug 40578] insertRule throws exception for rules starting with '@'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 14 11:32:36 PDT 2010


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





--- Comment #1 from Jos van den Oever <jos.van.den.oever at kogmbh.com>  2010-06-14 11:32:36 PST ---
The problem in the snippet below. For some reason, namespacedeclarations are not allowed.

WebCore/css/CSSParser.cpp:245
PassRefPtr<CSSRule> CSSParser::parseRule(CSSStyleSheet* sheet, const String& string)
{
    m_styleSheet = sheet;
    m_allowNamespaceDeclarations = false;
    setupParser("@-webkit-rule{", string, "} ");
    cssyyparse(this);
    return m_rule.release();
}

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