[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:21:17 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 84708ad0fd8c28bc8c47cf3eef62fe8427a92276
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Jan 23 01:46:21 2003 +0000

    	Fix the CSS parser so that it disallows class names beginning
    	with a digit even in quirks mode.
    
            Reviewed by rjw
    
            * khtml/css/cssparser.cpp:
            (StyleBaseImpl::parseSelector2):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3411 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index b7dba60..6175dc3 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,13 @@
+2003-01-22  David Hyatt  <hyatt at apple.com>
+
+	Fix the CSS parser so that it disallows class names beginning
+	with a digit even in quirks mode.
+	
+        Reviewed by rjw
+
+        * khtml/css/cssparser.cpp:
+        (StyleBaseImpl::parseSelector2):
+
 2003-01-22  Richard Williamson   <rjw at apple.com>
 
         Fix 3119777 (and a host of other international bugs).  Word break
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index b7dba60..6175dc3 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,13 @@
+2003-01-22  David Hyatt  <hyatt at apple.com>
+
+	Fix the CSS parser so that it disallows class names beginning
+	with a digit even in quirks mode.
+	
+        Reviewed by rjw
+
+        * khtml/css/cssparser.cpp:
+        (StyleBaseImpl::parseSelector2):
+
 2003-01-22  Richard Williamson   <rjw at apple.com>
 
         Fix 3119777 (and a host of other international bugs).  Word break
diff --git a/WebCore/khtml/css/cssparser.cpp b/WebCore/khtml/css/cssparser.cpp
index ef860c2..9337fdc 100644
--- a/WebCore/khtml/css/cssparser.cpp
+++ b/WebCore/khtml/css/cssparser.cpp
@@ -355,7 +355,7 @@ StyleBaseImpl::parseSelector2(const QChar *curP, const QChar *endP,
         cs->match = CSSSelector::Exact;
         cs->value = getValue( curP+1, endP, endVal);
     }
-    else if (*curP == '.' && curP < endP && ( !strictParsing || !(*(curP+1)).isDigit() ) )
+    else if (*curP == '.' && curP < endP && !(*(curP+1)).isDigit())
     {
         cs->tag = -1;
         cs->attr = ATTR_CLASS;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list