[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:57 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 232cf836cb702a32b181c0a5766fee1a8a8f7c69
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Jan 26 23:53:18 2003 +0000

    	Fix :active to behave just like :hover.  It was being
    	restricted and only allowed to match <a> tags, when :active
    	should be applicable to any element (e.g., like images).
    
    	Fixes the :active feedback on numerous blog sites (e.g.,
    	the photo image buttons on joehewitt.com).
    
            Reviewed by gramps
    
            * khtml/css/cssstyleselector.cpp:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3458 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 2a80aa1..3ab683d 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,16 @@
+2003-01-26  David Hyatt  <hyatt at apple.com>
+
+	Fix :active to behave just like :hover.  It was being
+	restricted and only allowed to match <a> tags, when :active
+	should be applicable to any element (e.g., like images).
+
+	Fixes the :active feedback on numerous blog sites (e.g.,
+	the photo image buttons on joehewitt.com).
+	
+        Reviewed by gramps
+
+        * khtml/css/cssstyleselector.cpp:
+
 2003-01-25  Darin Adler  <darin at apple.com>
 
         Reviewed by Maciej.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 2a80aa1..3ab683d 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,16 @@
+2003-01-26  David Hyatt  <hyatt at apple.com>
+
+	Fix :active to behave just like :hover.  It was being
+	restricted and only allowed to match <a> tags, when :active
+	should be applicable to any element (e.g., like images).
+
+	Fixes the :active feedback on numerous blog sites (e.g.,
+	the photo image buttons on joehewitt.com).
+	
+        Reviewed by gramps
+
+        * khtml/css/cssstyleselector.cpp:
+
 2003-01-25  Darin Adler  <darin at apple.com>
 
         Reviewed by Maciej.
diff --git a/WebCore/khtml/css/cssstyleselector.cpp b/WebCore/khtml/css/cssstyleselector.cpp
index e0b5071..4f91314 100644
--- a/WebCore/khtml/css/cssstyleselector.cpp
+++ b/WebCore/khtml/css/cssstyleselector.cpp
@@ -828,9 +828,9 @@ bool CSSStyleSelector::checkOneSelector(DOM::CSSSelector *sel, DOM::ElementImpl
                 }
                 break;
             case CSSSelector::PseudoActive:
-                if ( pseudoState == PseudoUnknown )
-                    checkPseudoState( e );
-                if ( pseudoState != PseudoNone ) {
+                // If we're in quirks mode, then :active should never match anchors with no
+                // href. 
+                if (strictParsing || e->id() != ID_A || e->hasAnchor()) {
                     if (element == e)
                         style->setAffectedByActiveRules(true);
                     else if (e->renderer())

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list