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

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

Issue 1388903002: className should be allowed to be a whitespace-only string (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/Element.h
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
index 61a4cc34516c49638284624cbcbd5ef8473c5483..1a74a5863bafdd84045d6a7ed3e6ab4c1a0bedfc 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -85,6 +85,13 @@ enum ElementFlags {
NumberOfElementFlags = 6, // Required size of bitfield used to store the flags.
};
+
+enum ClassStringContent {
tkent 2015/10/16 05:40:32 Please use |enum class| instead of |enum|, and mov
tanay.c 2015/10/16 07:17:36 Done.
+ Empty,
+ WhiteSpaceOnly,
+ HasClasses
+};
+
enum class ShadowRootType;
typedef WillBeHeapVector<RefPtrWillBeMember<Attr>> AttrNodeList;

Powered by Google App Engine
This is Rietveld 408576698