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

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

Issue 2902133002: Revert of "Implement the inert attribute" (Closed)
Patch Set: Created 3 years, 7 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 2eb5239b509dbdaf0e992c8e5f74f9e114f405f5..e532670190f77722ec7c91dde98b7b54d088977f 100644
--- a/third_party/WebKit/Source/core/html/HTMLElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLElement.cpp
@@ -463,8 +463,6 @@ void HTMLElement::ParseAttribute(const AttributeModificationParams& params) {
DirAttributeChanged(params.new_value);
} else if (params.name == langAttr) {
PseudoStateChanged(CSSSelector::kPseudoLang);
- } else if (params.name == inertAttr) {
- UseCounter::Count(GetDocument(), UseCounter::kInertAttribute);
} else {
const AtomicString& event_name = EventNameForAttributeName(params.name);
if (!event_name.IsNull()) {
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLAttributeNames.json5 ('k') | third_party/WebKit/Source/core/html/HTMLElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698