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

Unified Diff: third_party/WebKit/Source/core/dom/Node.h

Issue 2200653002: Apply styles to mathML elements having class attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated comment Created 4 years, 4 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/dom/Node.h
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
index d0d15f40de457e17cf5ec2e664d271e761c8b952..38b8a26f906bbcc918e824fcb8132c4558058b7a 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -278,15 +278,7 @@ public:
virtual bool isCharacterDataNode() const { return false; }
virtual bool isFrameOwnerElement() const { return false; }
- // StyledElements allow inline style (style="border: 1px"), presentational attributes (ex. color),
- // class names (ex. class="foo bar") and other non-basic styling features. They and also control
- // if this element can participate in style sharing.
- //
- // FIXME: The only things that ever go through StyleResolver that aren't StyledElements are
- // PseudoElements and VTTElements. It's possible we can just eliminate all the checks
- // since those elements will never have class names, inline style, or other things that
- // this apparently guards against.
- bool isStyledElement() const { return isHTMLElement() || isSVGElement(); }
+ bool isStyledElement() const;
bool isDocumentNode() const;
bool isTreeScope() const;

Powered by Google App Engine
This is Rietveld 408576698