Bug 441703 - "direction attribute of marquee should be case-insensitive (for selector matching)" [r+sr=dbaron]
authorMartijn Wargers [mw22] <martijn.martijn@gmail.com>
Sat, 12 Jul 2008 05:30:39 -0500
changeset 15873 b9344d23a2fc181ce5eff0108c114bafbca97a5f
parent 15872 5d2efb3a1e771967fa310e3ff34a2ea0599486d3
child 15874 2ac26a81778237cd1ce0ea4630b139692c5880b4
push id564
push userreed@reedloden.com
push dateSat, 12 Jul 2008 10:33:13 +0000
treeherderautoland@2ac26a817782 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs441703
milestone1.9.1a1pre
Bug 441703 - "direction attribute of marquee should be case-insensitive (for selector matching)" [r+sr=dbaron]
layout/style/nsCSSParser.cpp
--- a/layout/style/nsCSSParser.cpp
+++ b/layout/style/nsCSSParser.cpp
@@ -2453,16 +2453,18 @@ CSSParserImpl::ParseAttributeSelector(PR
               "checked",
               "multiple", 
               "selected", 
               "disabled", 
               "readonly", 
               "language", 
               "defer", 
               "type",
+              // additional attributes not in HTML4
+              "direction", // marquee
               nsnull
             };
             short i = 0;
             const char* htmlAttr;
             while ((htmlAttr = caseInsensitiveHTMLAttribute[i++])) {
               if (attr.EqualsIgnoreCase(htmlAttr)) {
                 isCaseSensitive = PR_FALSE;
                 break;