Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: third_party/WebKit/Source/core/html/HTMLElement.cpp

Issue 1614343002: Implement CSS4 pseudo-class :dir() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated layout tests Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLElement.cpp b/third_party/WebKit/Source/core/html/HTMLElement.cpp
index c93cc612f0a7be0ea2266140931737977f133adc..829767bf4164ccd4c2d4276d63ae3759571302e5 100644
--- a/third_party/WebKit/Source/core/html/HTMLElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp
@@ -363,6 +363,7 @@ void HTMLElement::parseAttribute(const QualifiedName& name, const AtomicString&
if (name == dirAttr) {
dirAttributeChanged(value);
+ pseudoStateChanged(CSSSelector::PseudoDir);
} else if (name == langAttr) {
pseudoStateChanged(CSSSelector::PseudoLang);
} else {

Powered by Google App Engine
This is Rietveld 408576698