OLD | NEW |
1 { | 1 { |
2 // The mode argument is used to limit the keyword to be used only for certain | 2 // The mode argument is used to limit the keyword to be used only for certain |
3 // CSSParserModes. Values that have the prefix -internal- are only allowed by | 3 // CSSParserModes. Values that have the prefix -internal- are only allowed by |
4 // CSSParserModes listed in allowInternalPropertyAndValue() | 4 // CSSParserModes listed in allowInternalPropertyAndValue() |
5 | 5 |
6 parameters: { | 6 parameters: { |
7 mode: {}, | 7 mode: {}, |
8 }, | 8 }, |
9 | 9 |
10 // | 10 // |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 "sub", | 249 "sub", |
250 "super", | 250 "super", |
251 "text-top", | 251 "text-top", |
252 "text-bottom", | 252 "text-bottom", |
253 "top", | 253 "top", |
254 "bottom", | 254 "bottom", |
255 // HTML alignment MIDDLE has no corresponding CSS alignment | 255 // HTML alignment MIDDLE has no corresponding CSS alignment |
256 "-webkit-baseline-middle", | 256 "-webkit-baseline-middle", |
257 // | 257 // |
258 // text-align | 258 // text-align |
259 // The order of this enum must match the order found in CSSParserFastPaths::
isValidKeywordPropertyAndValue(). | 259 // The order of this enum must match the order found in CSSParserFastPaths::
IsValidKeywordPropertyAndValue(). |
260 // | 260 // |
261 "-webkit-auto", | 261 "-webkit-auto", |
262 "left", | 262 "left", |
263 "right", | 263 "right", |
264 "center", | 264 "center", |
265 "justify", | 265 "justify", |
266 "-webkit-left", | 266 "-webkit-left", |
267 "-webkit-right", | 267 "-webkit-right", |
268 "-webkit-center", | 268 "-webkit-center", |
269 "-webkit-match-parent", | 269 "-webkit-match-parent", |
270 "-internal-center", | 270 "-internal-center", |
271 // | 271 // |
272 // text-justify | 272 // text-justify |
273 // | 273 // |
274 //auto | 274 //auto |
275 //none | 275 //none |
276 "inter-word", | 276 "inter-word", |
277 "distribute", | 277 "distribute", |
278 // | 278 // |
279 // list-style-position | 279 // list-style-position |
280 // | 280 // |
281 "outside", | 281 "outside", |
282 "inside", | 282 "inside", |
283 // | 283 // |
284 // list-style-type | 284 // list-style-type |
285 // The order of this enum must match the order found in CSSParserFastPaths::
isValidKeywordPropertyAndValue(). | 285 // The order of this enum must match the order found in CSSParserFastPaths::
IsValidKeywordPropertyAndValue(). |
286 // | 286 // |
287 "disc", | 287 "disc", |
288 "circle", | 288 "circle", |
289 "square", | 289 "square", |
290 "decimal", | 290 "decimal", |
291 "decimal-leading-zero", | 291 "decimal-leading-zero", |
292 "arabic-indic", | 292 "arabic-indic", |
293 "bengali", | 293 "bengali", |
294 "cambodian", | 294 "cambodian", |
295 "khmer", | 295 "khmer", |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 "simp-chinese-informal", | 335 "simp-chinese-informal", |
336 "trad-chinese-formal", | 336 "trad-chinese-formal", |
337 "trad-chinese-informal", | 337 "trad-chinese-informal", |
338 "hiragana", | 338 "hiragana", |
339 "katakana", | 339 "katakana", |
340 "hiragana-iroha", | 340 "hiragana-iroha", |
341 "katakana-iroha", | 341 "katakana-iroha", |
342 //none | 342 //none |
343 // | 343 // |
344 // display | 344 // display |
345 // The order of this enum must match the order found in CSSParserFastPaths::
isValidKeywordPropertyAndValue(). | 345 // The order of this enum must match the order found in CSSParserFastPaths::
IsValidKeywordPropertyAndValue(). |
346 // | 346 // |
347 "inline", | 347 "inline", |
348 "block", | 348 "block", |
349 "flow-root", | 349 "flow-root", |
350 "list-item", | 350 "list-item", |
351 "inline-block", | 351 "inline-block", |
352 "table", | 352 "table", |
353 "inline-table", | 353 "inline-table", |
354 "table-row-group", | 354 "table-row-group", |
355 "table-header-group", | 355 "table-header-group", |
356 "table-footer-group", | 356 "table-footer-group", |
357 "table-row", | 357 "table-row", |
358 "table-column-group", | 358 "table-column-group", |
359 "table-column", | 359 "table-column", |
360 "table-cell", | 360 "table-cell", |
361 "table-caption", | 361 "table-caption", |
362 "-webkit-box", | 362 "-webkit-box", |
363 "-webkit-inline-box", | 363 "-webkit-inline-box", |
364 "flex", | 364 "flex", |
365 "inline-flex", | 365 "inline-flex", |
366 "grid", | 366 "grid", |
367 "inline-grid", | 367 "inline-grid", |
368 "contents", | 368 "contents", |
369 //none | 369 //none |
370 "-webkit-flex", | 370 "-webkit-flex", |
371 "-webkit-inline-flex", | 371 "-webkit-inline-flex", |
372 // | 372 // |
373 // cursor | 373 // cursor |
374 // The order of this enum must match the order found in CSSPropertyParser::c
onsumeCursor(). | 374 // The order of this enum must match the order found in CSSPropertyParser::C
onsumeCursor(). |
375 // | 375 // |
376 "auto", | 376 "auto", |
377 "crosshair", | 377 "crosshair", |
378 "default", | 378 "default", |
379 "pointer", | 379 "pointer", |
380 "move", | 380 "move", |
381 "vertical-text", | 381 "vertical-text", |
382 "cell", | 382 "cell", |
383 "context-menu", | 383 "context-menu", |
384 "alias", | 384 "alias", |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1133 // shape | 1133 // shape |
1134 // rect | 1134 // rect |
1135 // round | 1135 // round |
1136 | 1136 |
1137 // color-gamut | 1137 // color-gamut |
1138 // srgb | 1138 // srgb |
1139 "p3", | 1139 "p3", |
1140 "rec2020", | 1140 "rec2020", |
1141 ], | 1141 ], |
1142 } | 1142 } |
OLD | NEW |