Index: third_party/WebKit/Source/platform/text/CharacterPropertyDataGenerator.h |
diff --git a/third_party/WebKit/Source/platform/text/CharacterPropertyDataGenerator.h b/third_party/WebKit/Source/platform/text/CharacterPropertyDataGenerator.h |
index 3604bb1165a0be9ba4307cff9f8301c0910a45e5..c9ff51096b90359d2422777f5122bf5e09053a3d 100644 |
--- a/third_party/WebKit/Source/platform/text/CharacterPropertyDataGenerator.h |
+++ b/third_party/WebKit/Source/platform/text/CharacterPropertyDataGenerator.h |
@@ -229,6 +229,31 @@ static const UChar32 isUprightInMixedVerticalRanges[] = { |
0x100000, 0x10FFFD, |
}; |
+// https://html.spec.whatwg.org/multipage/scripting.html#prod-potentialcustomelementname |
+static const UChar32 isPotentialCustomElementNameCharArray[] = { |
+ '-', |
+ '.', |
+ '_', |
+ 0xB7, |
+}; |
+ |
+static const UChar32 isPotentialCustomElementNameCharRanges[] = { |
+ '0', '9', |
+ 'a', 'z', |
+ 0xC0, 0xD6, |
+ 0xD8, 0xF6, |
+ 0xF8, 0x37D, |
dominicc (has gone to gerrit)
2016/04/27 01:42:14
Today the spec says 0xF8-0x2FF, 0x300-0x37D. If th
kojii
2016/04/27 03:52:13
This is build-time data (except some embedders run
|
+ 0x37F, 0x1FFF, |
+ 0x200C, 0x200D, |
+ 0x203F, 0x2040, |
+ 0x2070, 0x218F, |
+ 0x2C00, 0x2FEF, |
+ 0x3001, 0xD7FF, |
+ 0xF900, 0xFDCF, |
+ 0xFDF0, 0xFFFD, |
+ 0x10000, 0xEFFFF, |
+}; |
+ |
} // namespace blink |
#endif |