[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

rwlbuis at webkit.org rwlbuis at webkit.org
Wed Dec 22 11:56:23 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit ca36340d68962aee9ba40bb4d34088eb7bb6575a
Author: rwlbuis at webkit.org <rwlbuis at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Aug 11 20:24:27 2010 +0000

    2010-08-11  Rob Buis  <rwlbuis at gmail.com>
    
            Reviewed by Dan Bernstein.
    
            https://bugs.webkit.org/show_bug.cgi?id=42042
            An empty value for xml:lang isn't considered
    
            Revert last line change of my patch ; it happens to
            behave correctly and same as before, but makes the
            use case of empty values unneededly slower.
    
            No new tests. (No change in behavior)
    
            * css/CSSStyleSelector.cpp:
            (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65182 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 630eeb0..c18c0f3 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,19 @@
+2010-08-11  Rob Buis  <rwlbuis at gmail.com>
+
+        Reviewed by Dan Bernstein.
+
+        https://bugs.webkit.org/show_bug.cgi?id=42042
+        An empty value for xml:lang isn't considered
+
+        Revert last line change of my patch ; it happens to
+        behave correctly and same as before, but makes the
+        use case of empty values unneededly slower.
+
+        No new tests. (No change in behavior)
+
+        * css/CSSStyleSelector.cpp:
+        (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
+
 2010-08-11  Kevin Ollivier  <kevino at theolliviers.com>
 
         [wx, WebDOM] Build fix. Fix callback params and WebCore::String -> WTF::String fixes.
diff --git a/WebCore/css/CSSStyleSelector.cpp b/WebCore/css/CSSStyleSelector.cpp
index c3f5159..2da4222 100644
--- a/WebCore/css/CSSStyleSelector.cpp
+++ b/WebCore/css/CSSStyleSelector.cpp
@@ -2617,7 +2617,7 @@ bool CSSStyleSelector::SelectorChecker::checkOneSelector(CSSSelector* sel, Eleme
                     n = n->parent();
                 }
                 const AtomicString& argument = sel->argument();
-                if (value.isNull() || !value.startsWith(argument, false))
+                if (value.isEmpty() || !value.startsWith(argument, false))
                     break;
                 if (value.length() != argument.length() && value[argument.length()] != '-')
                     break;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list