[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:28:19 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit ceb916f87245e23577b36672261c9425c1bfb843
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Mar 7 23:14:58 2003 +0000
Whoops. Fix regression causedb y previous checkin.
Reviewed by darin
* khtml/css/cssstyleselector.cpp:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3781 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 3641b4e..59b41d2 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,5 +1,13 @@
2003-03-07 David Hyatt <hyatt at apple.com>
+ Whoops. Fix regression causedb y previous checkin.
+
+ Reviewed by darin
+
+ * khtml/css/cssstyleselector.cpp:
+
+2003-03-07 David Hyatt <hyatt at apple.com>
+
Make the :hover:active behavior much more sophisticated
(and make it match WinIE, since that buggy browser is what
necessitates this hack).
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 3641b4e..59b41d2 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,13 @@
2003-03-07 David Hyatt <hyatt at apple.com>
+ Whoops. Fix regression causedb y previous checkin.
+
+ Reviewed by darin
+
+ * khtml/css/cssstyleselector.cpp:
+
+2003-03-07 David Hyatt <hyatt at apple.com>
+
Make the :hover:active behavior much more sophisticated
(and make it match WinIE, since that buggy browser is what
necessitates this hack).
diff --git a/WebCore/khtml/css/cssstyleselector.cpp b/WebCore/khtml/css/cssstyleselector.cpp
index 93d905c..637d964 100644
--- a/WebCore/khtml/css/cssstyleselector.cpp
+++ b/WebCore/khtml/css/cssstyleselector.cpp
@@ -636,9 +636,10 @@ void CSSStyleSelector::checkSelector(int selIndex, DOM::ElementImpl *e)
// We track whether or not the rule contains only :hover and :active in a simple selector. If
// so, we can't allow that to apply to every element on the page. We assume the author intended
// to apply the rules only to links.
- bool onlyHoverActive = (sel->match == CSSSelector::Pseudo &&
- (sel->pseudoType() == CSSSelector::PseudoHover ||
- sel->pseudoType() == CSSSelector::PseudoActive));
+ bool onlyHoverActive = (sel->tag == -1 &&
+ (sel->match == CSSSelector::Pseudo &&
+ (sel->pseudoType() == CSSSelector::PseudoHover ||
+ sel->pseudoType() == CSSSelector::PseudoActive)));
bool affectedByHover = style->affectedByHoverRules();
bool affectedByActive = style->affectedByActiveRules();
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list