OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CharacterPropertyDataGenerator_h | 5 #ifndef CharacterPropertyDataGenerator_h |
6 #define CharacterPropertyDataGenerator_h | 6 #define CharacterPropertyDataGenerator_h |
7 | 7 |
8 #include <unicode/uobject.h> | 8 #include <unicode/uobject.h> |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
222 // CJK Unified Ideographs Extension B/C/D | 222 // CJK Unified Ideographs Extension B/C/D |
223 // CJK Compatibility Ideographs Supplement | 223 // CJK Compatibility Ideographs Supplement |
224 0x20000, 0x2FFFD, | 224 0x20000, 0x2FFFD, |
225 0x30000, 0x3FFFD, | 225 0x30000, 0x3FFFD, |
226 // Supplementary Private Use Area-A | 226 // Supplementary Private Use Area-A |
227 0xF0000, 0xFFFFD, | 227 0xF0000, 0xFFFFD, |
228 // Supplementary Private Use Area-B | 228 // Supplementary Private Use Area-B |
229 0x100000, 0x10FFFD, | 229 0x100000, 0x10FFFD, |
230 }; | 230 }; |
231 | 231 |
232 // https://html.spec.whatwg.org/multipage/scripting.html#prod-potentialcustomele mentname | |
233 static const UChar32 isPotentialCustomElementNameCharArray[] = { | |
234 '-', | |
235 '.', | |
236 '_', | |
237 0xB7, | |
238 }; | |
239 | |
240 static const UChar32 isPotentialCustomElementNameCharRanges[] = { | |
241 '0', '9', | |
242 'a', 'z', | |
243 0xC0, 0xD6, | |
244 0xD8, 0xF6, | |
245 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
| |
246 0x37F, 0x1FFF, | |
247 0x200C, 0x200D, | |
248 0x203F, 0x2040, | |
249 0x2070, 0x218F, | |
250 0x2C00, 0x2FEF, | |
251 0x3001, 0xD7FF, | |
252 0xF900, 0xFDCF, | |
253 0xFDF0, 0xFFFD, | |
254 0x10000, 0xEFFFF, | |
255 }; | |
256 | |
232 } // namespace blink | 257 } // namespace blink |
233 | 258 |
234 #endif | 259 #endif |
OLD | NEW |