[Webkit-unassigned] [Bug 55619] Stylesheet rule cssText is all lowercase

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 5 03:08:38 PDT 2011


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


sarapkarthik <sarap.karthik at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mustaf.here at gmail.com,
                   |                            |sarap.karthik at gmail.com




--- Comment #3 from sarapkarthik <sarap.karthik at gmail.com>  2011-07-05 03:08:38 PST ---
This issue is because of the rule we have for class: in CSSGrammar.y in the following lines         
if (!p->m_strict)
    $2.lower();

While loading the page, the call flow is CSSStyleSheet::parseStringAtLine() => CSSParser::parseSheet()=> cssyyparse(this); And while parsing as per the above logic, we convert the class string to lower case if the parser is running in NON-strict mode

We have verified that if we add DOCTYPE on top of my html (which makes the CSSParser in strict mode), the style class info is shown maintaining proper casing given in the html page.

Therefore,
Does any one know why do we have that logic(as mentioned above) of converting string to lowercase for non-strict mode in CSSGrammar.y? Based on this, we can decide whether or not to fix the issue

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