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

Unified Diff: third_party/WebKit/Source/platform/text/Character.cpp

Issue 1916013004: Implement PotentialCustomElementName (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor editorial changes Created 4 years, 8 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/platform/text/Character.cpp
diff --git a/third_party/WebKit/Source/platform/text/Character.cpp b/third_party/WebKit/Source/platform/text/Character.cpp
index 50932bd63d0208d04c955e09724057c7a7f4deca..d0798a93d873d012d404e816da8154a55fbb404e 100644
--- a/third_party/WebKit/Source/platform/text/Character.cpp
+++ b/third_party/WebKit/Source/platform/text/Character.cpp
@@ -243,6 +243,11 @@ bool Character::isCJKIdeographOrSymbol(UChar32 c)
RETURN_HAS_PROPERTY(c, isCJKIdeographOrSymbol)
}
+bool Character::isPotentialCustomElementNameChar(UChar32 character)
+{
+ RETURN_HAS_PROPERTY(character, isPotentialCustomElementNameChar);
+}
+
unsigned Character::expansionOpportunityCount(const LChar* characters, size_t length, TextDirection direction, bool& isAfterExpansion, const TextJustify textJustify)
{
unsigned count = 0;

Powered by Google App Engine
This is Rietveld 408576698