root/trunk/WebCore/css/CSSValueKeywords.in

Revision 49103, 6.8 KB (checked in by eric@webkit.org, 5 weeks ago)

2009-10-05 Kent Tamura < tkent@chromium.org>

Reviewed by Eric Seidel.

Tests for -webkit-appearance:list-button
 https://bugs.webkit.org/show_bug.cgi?id=27794

  • platform/mac/fast/forms/input-list-button-size-expected.txt: Added.
  • platform/mac/fast/forms/input-list-button-size.html: Added.

2009-10-05 Kent Tamura < tkent@chromium.org>

Reviewed by Eric Seidel.

Introduces

  • new CSS pseudo selector: "-webkit-input-list-button"
  • new CSS apperance type: "list-button"
  • new ControlPart value: "ListButtonPart"

for the UI of the list attribute of the input element, and adds
implementation to draw ListButtonPart on Mac.
The code is guarded by ENABLE(DATALIST).

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

Test: platform/mac/fast/forms/input-list-button-size.html

  • css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
  • css/CSSSelector.cpp: (WebCore::CSSSelector::extractPseudoType):
  • css/CSSSelector.h: (WebCore::CSSSelector::):
  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector):
  • css/CSSValueKeywords.in:
  • css/html.css:
  • html/HTMLInputElement.cpp:
  • platform/ThemeTypes.h: (WebCore::):
  • platform/mac/ThemeMac.mm: (WebCore::listButtonSizes): (WebCore::button): (WebCore::paintButton): (WebCore::ThemeMac::controlSize): (WebCore::ThemeMac::minimumControlSize): (WebCore::ThemeMac::controlBorder): (WebCore::ThemeMac::paint):
  • rendering/RenderTheme.cpp: (WebCore::RenderTheme::adjustStyle): (WebCore::RenderTheme::paint): (WebCore::RenderTheme::paintBorderOnly): (WebCore::RenderTheme::paintDecorations):
  • rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::adjustRepaintRect):
  • rendering/style/RenderStyleConstants.h: (WebCore::):
  • 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# round
173# space
174#
175# CSS_PROP__WEBKIT_BACKGROUND_COMPOSITE:
176#
177clear
178copy
179source-over
180source-in
181source-out
182source-atop
183destination-over
184destination-in
185destination-out
186destination-atop
187xor
188plus-darker
189# highlight
190plus-lighter
191#
192# CSS_PROP_VERTICAL_ALIGN:
193#
194baseline
195middle
196sub
197super
198text-top
199text-bottom
200top
201bottom
202# HTML alignment MIDDLE has no corresponding CSS alignment
203-webkit-baseline-middle
204#
205# CSS_PROP_TEXT_ALIGN:
206#
207-webkit-auto
208left
209right
210center
211justify
212-webkit-left
213-webkit-right
214-webkit-center
215#
216# CSS_PROP_LIST_STYLE_POSITION:
217#
218outside
219inside
220#
221# CSS_PROP_LIST_STYLE_TYPE:
222#
223disc
224circle
225square
226decimal
227decimal-leading-zero
228lower-roman
229upper-roman
230lower-greek
231lower-alpha
232lower-latin
233upper-alpha
234upper-latin
235hebrew
236armenian
237georgian
238cjk-ideographic
239hiragana
240katakana
241hiragana-iroha
242katakana-iroha
243#none
244#
245# CSS_PROP_DISPLAY:
246#
247inline
248block
249list-item
250run-in
251compact
252inline-block
253table
254inline-table
255table-row-group
256table-header-group
257table-footer-group
258table-row
259table-column-group
260table-column
261table-cell
262table-caption
263-webkit-box
264-webkit-inline-box
265-wap-marquee
266#none
267#
268# CSS_PROP_CURSOR:
269#
270auto
271crosshair
272default
273pointer
274move
275vertical-text
276cell
277context-menu
278alias
279# copy
280progress
281no-drop
282not-allowed
283-webkit-zoom-in
284-webkit-zoom-out
285e-resize
286ne-resize
287nw-resize
288n-resize
289se-resize
290sw-resize
291s-resize
292w-resize
293ew-resize
294ns-resize
295nesw-resize
296nwse-resize
297col-resize
298row-resize
299text
300wait
301help
302all-scroll
303-webkit-grab
304-webkit-grabbing
305# none
306#
307# CSS_PROP_DIRECTION:
308#
309ltr
310rtl
311#
312# CSS_PROP_TEXT_TRANSFORM:
313#
314capitalize
315uppercase
316lowercase
317#none
318#
319# CSS_PROP_VISIBILITY:
320#
321visible
322#hidden
323collapse
324#
325# Unordered rest
326#
327above
328absolute
329always
330avoid
331below
332bidi-override
333blink
334both
335close-quote
336crop
337cross
338embed
339fixed
340hand
341hide
342higher
343invert
344landscape
345level
346line-through
347local
348loud
349lower
350-webkit-marquee
351mix
352no-close-quote
353no-open-quote
354nowrap
355open-quote
356overlay
357overline
358portrait
359pre
360pre-line
361pre-wrap
362relative
363scroll
364separate
365show
366static
367thick
368thin
369underline
370-webkit-nowrap
371
372# CSS3 Values
373# CSS_PROP_BOX_ALIGN
374stretch
375start
376end
377#center
378#baseline
379
380# CSS_PROP_BOX_DIRECTION
381# normal
382reverse
383
384# CSS_PROP_BOX_ORIENT
385horizontal
386vertical
387inline-axis
388block-axis
389
390# CSS_PROP_BOX_PACK
391# start
392# end
393# center
394# justify
395
396# CSS_PROP_BOX_LINES
397single
398multiple
399
400# CSS_PROP_MARQUEE_DIRECTION
401forwards
402backwards
403ahead
404# reverse
405# left
406# right
407up
408down
409# auto
410
411# CSS_PROP_MARQUEE_SPEED
412slow
413# normal
414fast
415
416# CSS_PROP_MARQUEE_REPETITION
417infinite
418
419# CSS_PROP_MARQUEE_STYLE
420# none
421slide
422# scroll
423alternate
424
425#
426# CSS_PROP__KHTML_USER_MODIFY
427#
428read-only
429read-write
430read-write-plaintext-only
431
432#
433# CSS_PROP__KHTML_USER_DRAG
434#
435element
436
437#
438# CSS_PROP__KHTML_USER_SELECT
439#
440ignore
441
442#
443# CSS_PROP_WIDTH/MIN_WIDTH/MAX_WIDTH
444#
445intrinsic
446min-intrinsic
447
448#
449# CSS_PROP_TEXT_OVERFLOW
450#
451clip
452ellipsis
453
454#
455# CSS_PROP__KHTML_MARGIN_COLLAPSE
456#
457# collapse
458# separate
459discard
460
461#
462# CSS_PROP_TEXT_*_COLOR
463#
464dot-dash
465dot-dot-dash
466wave
467
468#
469# CSS_PROP_TEXT_*_MODE
470#
471continuous
472skip-white-space
473
474#
475# CSS_PROP_WORD_BREAK
476#
477break-all
478
479#
480# CSS_PROP_WORD_WRAP
481#
482break-word
483
484#
485# CSS_PROP__KHTML_NBSP_MODE
486#
487space
488
489#
490# CSS_PROP__KHTML_LINE_BREAK
491#
492after-white-space
493
494#
495# CSS_PROP__KHTML_APPEARANCE
496#
497checkbox
498radio
499push-button
500square-button
501button
502button-bevel
503default-button
504list-button
505listbox
506listitem
507media-fullscreen-button
508media-mute-button
509media-play-button
510media-seek-back-button
511media-seek-forward-button
512media-rewind-button
513media-return-to-realtime-button
514media-slider
515media-sliderthumb
516media-volume-slider-container
517media-volume-slider
518media-volume-sliderthumb
519media-controls-background
520media-current-time-display
521media-time-remaining-display
522menulist
523menulist-button
524menulist-text
525menulist-textfield
526slider-horizontal
527slider-vertical
528sliderthumb-horizontal
529sliderthumb-vertical
530caret
531searchfield
532searchfield-decoration
533searchfield-results-decoration
534searchfield-results-button
535searchfield-cancel-button
536textfield
537textarea
538caps-lock-indicator
539
540#
541# CSS_PROP_BORDER_IMAGE
542#
543# stretch
544# repeat
545round
546
547#
548# CSS_PROP_BACKGROUND_CLIP/ORIGIN
549#
550# border/content/padding are deprecated and ultimately will only apply to the -webkit- form of these properties.
551# border-box/content-box/padding-box should be used instead.
552#
553border
554border-box
555content
556content-box
557padding
558padding-box
559
560#
561# background-size
562#
563contain
564cover
565
566#
567# CSS_PROP__KHTML_RTL_ORDERING
568#
569logical
570visual
571
572#
573# CSS_PROP__WEBKIT_BORDER_FIT
574#
575lines
576
577#
578# CSS_PROP__WEBKIT_ANIMATION_DIRECTION
579#
580# alternate
581
582#
583# CSS_PROP__WEBKIT_ANIMATION_ITERATION_COUNT
584#
585# infinite
586
587#
588# CSS_PROP__WEBKIT_ANIMATION_PLAY_STATE
589#
590running
591paused
592
593#
594# CSS_PROP__WEBKIT_TRANSFORM_STYLE
595#
596flat
597preserve-3d
598
599#
600# CSS_PROP__WEBKIT_TRANSITION_TIMING_FUNCTION
601# CSS_PROP__WEBKIT_ANIMATION_TIMING_FUNCTION
602#
603ease
604linear
605ease-in
606ease-out
607ease-in-out
608
609#
610# CSS_PROP_ZOOM
611#
612document
613reset
614
615#
616# CSS_PROP_POINTER_EVENTS
617#
618visiblePainted
619visibleFill
620visibleStroke
621#visible
622painted
623fill
624stroke
625#all
626#none
627
628#
629# -webkit-font-smoothing
630#
631# auto
632# none
633antialiased
634subpixel-antialiased
635
636# text-rendering
637#auto
638optimizeSpeed
639optimizeLegibility
640geometricPrecision
Note: See TracBrowser for help on using the browser.