root/trunk/WebCore/css/CSSValueKeywords.in

Revision 35580, 6.3 kB (checked in by dino@apple.com, 5 weeks ago)

Parse CSS Animations, including the new
-webkit-animation properties and the @-webkit-keyframes rule.
Adds some new interfaces for the style rules.

https://bugs.webkit.org/show_bug.cgi?id=20088

Reviewed by David Hyatt.

* GNUmakefile.am:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* WebCoreSources.bkl:

build config for new files

* css/tokenizer.flex:
* css/CSSGrammar.y:
* css/CSSParser.cpp:
* css/CSSParser.h:

new @-webkit-keyframes parsing

* css/CSSPropertyNames.in:

-webkit-animation properties

* css/CSSRule.h:
* css/CSSStyleSelector.cpp:
* css/CSSStyleSelector.h:
* css/CSSValueKeywords.in:
* css/StyleBase.h:
* css/WebKitCSSKeyframeRule.cpp: Added.
* css/WebKitCSSKeyframeRule.h: Added.
* css/WebKitCSSKeyframesRule.cpp: Added.
* css/WebKitCSSKeyframesRule.h: Added.

  • Property svn:eol-style set to native
Line 
1# These are all values accepted for CSS2.
2#
3# WARNING:
4# --------
5#
6# The Values are sorted according to the properties they belong to,
7# and have to be in the same order as the enums in RenderStyle.h.
8#
9# If not, the optimizations in the cssparser and style selector will fail,
10# and produce incorrect results.
11#
12inherit
13initial
14#
15# CSS_PROP_OUTLINE_STYLE
16# CSS_PROP_BORDER_TOP_STYLE
17# CSS_PROP_BORDER_BOTTOM_STYLE
18# CSS_PROP_BORDER_LEFT_STYLE
19none
20hidden
21inset
22groove
23ridge
24outset
25dotted
26dashed
27solid
28double
29#
30# CSS_PROP_FONT:
31#
32caption
33icon
34menu
35message-box
36small-caption
37-webkit-mini-control
38-webkit-small-control
39-webkit-control
40status-bar
41
42#
43# CSS_PROP_FONT_STYLE:
44#
45#normal
46italic
47oblique
48# The following is only allowed in @font-face:
49all
50#
51# CSS_PROP_FONT_VARIANT:
52#
53#normal
54small-caps
55#
56# CSS_PROP_FONT_WEIGHT:
57#
58normal
59bold
60bolder
61lighter
62100
63200
64300
65400
66500
67600
68700
69800
70900
71#
72# CSS_PROP_FONT_SIZE:
73#
74xx-small
75x-small
76small
77medium
78large
79x-large
80xx-large
81-webkit-xxx-large
82smaller
83larger
84#
85# CSS_PROP_FONT_STRETCH:
86#
87#normal
88wider
89narrower
90ultra-condensed
91extra-condensed
92condensed
93semi-condensed
94semi-expanded
95expanded
96extra-expanded
97ultra-expanded
98#
99# CSS_PROP_GENERIC_FONT_FAMILY:
100#
101serif
102sans-serif
103cursive
104fantasy
105monospace
106-webkit-body
107#
108#
109# CSS_PROP_*_COLOR
110#
111aqua
112black
113blue
114fuchsia
115gray
116green
117lime
118maroon
119navy
120olive
121orange
122purple
123red
124silver
125teal
126white
127yellow
128transparent
129-webkit-link
130-webkit-activelink
131activeborder
132activecaption
133appworkspace
134background
135buttonface
136buttonhighlight
137buttonshadow
138buttontext
139captiontext
140graytext
141highlight
142highlighttext
143inactiveborder
144inactivecaption
145inactivecaptiontext
146infobackground
147infotext
148match
149menutext
150scrollbar
151threeddarkshadow
152threedface
153threedhighlight
154threedlightshadow
155threedshadow
156window
157windowframe
158windowtext
159-webkit-focus-ring-color
160currentcolor
161#
162# colors in non strict mode
163grey
164-webkit-text
165#
166# CSS_PROP_BACKGROUND_REPEAT:
167#
168repeat
169repeat-x
170repeat-y
171no-repeat
172#
173# CSS_PROP__WEBKIT_BACKGROUND_COMPOSITE:
174#
175clear
176copy
177source-over
178source-in
179source-out
180source-atop
181destination-over
182destination-in
183destination-out
184destination-atop
185xor
186plus-darker
187# highlight
188plus-lighter
189#
190# CSS_PROP_VERTICAL_ALIGN:
191#
192baseline
193middle
194sub
195super
196text-top
197text-bottom
198top
199bottom
200# HTML alignment MIDDLE has no corresponding CSS alignment
201-webkit-baseline-middle
202#
203# CSS_PROP_TEXT_ALIGN:
204#
205-webkit-auto
206left
207right
208center
209justify
210-webkit-left
211-webkit-right
212-webkit-center
213#
214# CSS_PROP_LIST_STYLE_POSITION:
215#
216outside
217inside
218#
219# CSS_PROP_LIST_STYLE_TYPE:
220#
221disc
222circle
223square
224decimal
225decimal-leading-zero
226lower-roman
227upper-roman
228lower-greek
229lower-alpha
230lower-latin
231upper-alpha
232upper-latin
233hebrew
234armenian
235georgian
236cjk-ideographic
237hiragana
238katakana
239hiragana-iroha
240katakana-iroha
241#none
242#
243# CSS_PROP_DISPLAY:
244#
245inline
246block
247list-item
248run-in
249compact
250inline-block
251table
252inline-table
253table-row-group
254table-header-group
255table-footer-group
256table-row
257table-column-group
258table-column
259table-cell
260table-caption
261-webkit-box
262-webkit-inline-box
263#none
264#
265# CSS_PROP_CURSOR:
266#
267auto
268crosshair
269default
270pointer
271move
272vertical-text
273cell
274context-menu
275alias
276# copy
277progress
278no-drop
279not-allowed
280-webkit-zoom-in
281-webkit-zoom-out
282e-resize
283ne-resize
284nw-resize
285n-resize
286se-resize
287sw-resize
288s-resize
289w-resize
290ew-resize
291ns-resize
292nesw-resize
293nwse-resize
294col-resize
295row-resize
296text
297wait
298help
299all-scroll
300# none
301#
302# CSS_PROP_DIRECTION:
303#
304ltr
305rtl
306#
307# CSS_PROP_TEXT_TRANSFORM:
308#
309capitalize
310uppercase
311lowercase
312#none
313#
314# CSS_PROP_VISIBILITY:
315#
316visible
317#hidden
318collapse
319#
320# Unordered rest
321#
322above
323absolute
324always
325avoid
326below
327bidi-override
328blink
329both
330close-quote
331crop
332cross
333embed
334fixed
335hand
336hide
337higher
338invert
339landscape
340level
341line-through
342loud
343lower
344-webkit-marquee
345mix
346no-close-quote
347no-open-quote
348nowrap
349open-quote
350overlay
351overline
352portrait
353pre
354pre-line
355pre-wrap
356relative
357scroll
358separate
359show
360static
361thick
362thin
363underline
364-webkit-nowrap
365
366# CSS3 Values
367# CSS_PROP_BOX_ALIGN
368stretch
369start
370end
371#center
372#baseline
373
374# CSS_PROP_BOX_DIRECTION
375# normal
376reverse
377
378# CSS_PROP_BOX_ORIENT
379horizontal
380vertical
381inline-axis
382block-axis
383
384# CSS_PROP_BOX_PACK
385# start
386# end
387# center
388# justify
389
390# CSS_PROP_BOX_LINES
391single
392multiple
393
394# CSS_PROP_MARQUEE_DIRECTION
395forwards
396backwards
397ahead
398# reverse
399# left
400# right
401up
402down
403# auto
404
405# CSS_PROP_MARQUEE_SPEED
406slow
407# normal
408fast
409
410# CSS_PROP_MARQUEE_REPETITION
411infinite
412
413# CSS_PROP_MARQUEE_STYLE
414# none
415slide
416# scroll
417alternate
418
419#
420# CSS_PROP__KHTML_USER_MODIFY
421#
422read-only
423read-write
424read-write-plaintext-only
425
426#
427# CSS_PROP__KHTML_USER_DRAG
428#
429element
430
431#
432# CSS_PROP__KHTML_USER_SELECT
433#
434ignore
435
436#
437# CSS_PROP_WIDTH/MIN_WIDTH/MAX_WIDTH
438#
439intrinsic
440min-intrinsic
441
442#
443# CSS_PROP_TEXT_OVERFLOW
444#
445clip
446ellipsis
447
448#
449# CSS_PROP__KHTML_MARGIN_COLLAPSE
450#
451# collapse
452# separate
453discard
454
455#
456# CSS_PROP_TEXT_*_COLOR
457#
458dot-dash
459dot-dot-dash
460wave
461
462#
463# CSS_PROP_TEXT_*_MODE
464#
465continuous
466skip-white-space
467
468#
469# CSS_PROP_WORD_BREAK
470#
471break-all
472
473#
474# CSS_PROP_WORD_WRAP
475#
476break-word
477
478#
479# CSS_PROP__KHTML_NBSP_MODE
480#
481space
482
483#
484# CSS_PROP__KHTML_LINE_BREAK
485#
486after-white-space
487
488#
489# CSS_PROP__KHTML_APPEARANCE
490#
491checkbox
492radio
493push-button
494square-button
495button
496button-bevel
497default-button
498listbox
499listitem
500media-fullscreen-button
501media-mute-button
502media-play-button
503media-seek-back-button
504media-seek-forward-button
505media-slider
506media-sliderthumb
507menulist
508menulist-button
509menulist-text
510menulist-textfield
511scrollbarbutton-up
512scrollbarbutton-down
513scrollbarbutton-left
514scrollbarbutton-right
515scrollbartrack-horizontal
516scrollbartrack-vertical
517scrollbarthumb-horizontal
518scrollbarthumb-vertical
519scrollbargripper-horizontal
520scrollbargripper-vertical
521slider-horizontal
522slider-vertical
523sliderthumb-horizontal
524sliderthumb-vertical
525caret
526searchfield
527searchfield-decoration
528searchfield-results-decoration
529searchfield-results-button
530searchfield-cancel-button
531textfield
532textarea
533
534#
535# CSS_PROP_BORDER_IMAGE
536#
537# stretch
538# repeat
539round
540
541#
542# CSS_PROP_BACKGROUND_CLIP/ORIGIN
543#
544border
545content
546padding
547
548#
549# CSS_PROP_BOX_SIZING
550#
551border-box
552content-box
553
554#
555# CSS_PROP__KHTML_RTL_ORDERING
556#
557logical
558visual
559
560#
561# CSS_PROP__WEBKIT_BORDER_FIT
562#
563lines
564
565#
566# CSS_PROP__WEBKIT_TRANSITION_DELAY
567# CSS_PROP__WEBKIT_ANIMATION_DELAY
568#
569now
570
571#
572# CSS_PROP__WEBKIT_ANIMATION_DIRECTION
573#
574# alternate
575
576#
577# CSS_PROP__WEBKIT_ANIMATION_ITERATION_COUNT
578#
579# infinite
580
581#
582# CSS_PROP__WEBKIT_ANIMATION_PLAY_STATE
583#
584running
585paused
586
587#
588# CSS_PROP__WEBKIT_TRANSITION_TIMING_FUNCTION
589# CSS_PROP__WEBKIT_ANIMATION_TIMING_FUNCTION
590#
591ease
592linear
593ease-in
594ease-out
595ease-in-out
596
597#
598# CSS_PROP_ZOOM
599#
600reset
Note: See TracBrowser for help on using the browser.