root/trunk/WebCore/css/CSSValueKeywords.in

Revision 45474, 6.5 KB (checked in by eric.carlson@apple.com, 38 hours ago)

2009-07-02 Pierre d'Herbemont < pdherbemont@apple.com>

Reviewed by Simon Fraser.

< rdar://problem/6518119>

Add a rewind button and hide the timeline for live broadcasts when
in MediaUI mode.

  • css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Add the new pseudo element.
  • css/CSSSelector.cpp: (WebCore::CSSSelector::extractPseudoType): Ditto.
  • css/CSSSelector.h:
  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector): Ditto.
  • css/CSSValueKeywords.in: Ditto.
  • css/mediaControls.css: Ditto.
  • css/mediaControlsQT.css: Ditto.
  • html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::rewind): New. (WebCore::HTMLMediaElement::returnToRealTime): New. (WebCore::HTMLMediaElement::isStreaming): New.
  • html/HTMLMediaElement.h:
  • page/mac/WebCoreViewFactory.h: Declare mediaElementLoadingStateText and mediaElementLiveBroadcastStateText.
  • platform/LocalizedStrings.h: Add localized media state messages.
  • platform/ThemeTypes.h: Add the new pseudo element.
  • platform/mac/LocalizedStringsMac.mm: (WebCore::mediaElementLoadingStateText): Add localized media state. (WebCore::mediaElementLiveBroadcastStateText): Ditto.
  • platform/mac/WebCoreSystemInterface.h: Change BOOL param wkDrawMediaUIPart to an int to support

multiple states.

  • platform/mac/WebCoreSystemInterface.mm: Ditto.
  • rendering/MediaControlElements.cpp: (WebCore::MediaControlElement::MediaControlElement): Deal with new elements. (WebCore::MediaControlElement::attachToParent): Ditto. (WebCore::MediaControlElement::update): Ditto. (WebCore::MediaControlElement::updateStyle): Ditto. (WebCore::MediaControlTimelineContainerElement::MediaControlTimelineContainerElement): Ditto. (WebCore::MediaControlTimelineContainerElement::rendererIsNeeded): Ditto. (WebCore::MediaControlStatusDisplayElement::MediaControlStatusDisplayElement): Ditto. (WebCore::MediaControlStatusDisplayElement::update): Ditto. (WebCore::MediaControlStatusDisplayElement::rendererIsNeeded): Ditto. (WebCore::MediaControlInputElement::MediaControlInputElement): Ditto. (WebCore::MediaControlInputElement::attachToParent): Ditto. (WebCore::MediaControlInputElement::updateStyle): Ditto. (WebCore::MediaControlRewindButtonElement::MediaControlRewindButtonElement): Ditto. (WebCore::MediaControlRewindButtonElement::defaultEventHandler): Ditto. (WebCore::MediaControlReturnToRealtimeButtonElement::MediaControlReturnToRealtimeButtonElement): Ditto. (WebCore::MediaControlReturnToRealtimeButtonElement::defaultEventHandler): Ditto. (WebCore::MediaControlReturnToRealtimeButtonElement::rendererIsNeeded): Ditto. (WebCore::MediaControlTimelineElement::defaultEventHandler): Ditto. (WebCore::MediaControlTimelineElement::update): Ditto. (WebCore::MediaControlFullscreenButtonElement::rendererIsNeeded): Ditto.
  • rendering/MediaControlElements.h: Ditto.
  • rendering/RenderMedia.cpp: (WebCore::RenderMedia::styleDidChange): Deal with the new elements. (WebCore::RenderMedia::createPanel): Ditto. (WebCore::RenderMedia::createRewindButton): Ditto. (WebCore::RenderMedia::createReturnToRealtimeButton): Ditto. (WebCore::RenderMedia::createStatusDisplay): Ditto. (WebCore::RenderMedia::createTimelineContainer): Ditto. (WebCore::RenderMedia::createCurrentTimeDisplay): Ditto. (WebCore::RenderMedia::createTimeRemainingDisplay): Ditto. (WebCore::RenderMedia::updateControls): Ditto. (WebCore::RenderMedia::forwardEvent): Ditto.
  • rendering/RenderMedia.h:
  • rendering/RenderTheme.cpp: (WebCore::RenderTheme::paint): Deal with the new elements.
  • rendering/RenderTheme.h: (WebCore::RenderTheme::paintMediaRewindButton): Deal with the new elements. (WebCore::RenderTheme::paintMediaReturnToRealtimeButton): Ditto. (WebCore::RenderTheme::paintMediaControlsBackground): Ditto.
  • rendering/RenderThemeMac.h:
  • rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::paintMediaRewindButton): Deal with the new elements. (WebCore::RenderThemeMac::paintMediaReturnToRealtimeButton): Ditto. (WebCore::RenderThemeMac::paintMediaControlsBackground): Ditto.
  • rendering/style/RenderStyleConstants.h: Add constants for the new elements.

2009-07-02 Pierre d'Herbemont < pdherbemont@apple.com>

Reviewed by Simon Fraser.

< rdar://problem/6518119>

Add localized strings for media controller status messages.

  • English.lproj/Localizable.strings: Localized text.

2009-07-02 Pierre d'Herbemont < pdherbemont@apple.com>

Reviewed by Simon Fraser.

< rdar://problem/6518119>

Add localized strings for media controller status.

  • WebCoreSupport/WebViewFactory.mm: Add new localized text. (-[WebViewFactory mediaElementLoadingStateText]): (-[WebViewFactory mediaElementLiveBroadcastStateText]):

2009-07-02 Pierre d'Herbemont < pdherbemont@apple.com>

Reviewed by Simon Fraser.

Update WebKitSystemInterface for < rdar://problem/6518119>

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
  • libWebKitSystemInterfaceTiger.a:
  • 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-webkit-grab
301-webkit-grabbing
302# none
303#
304# CSS_PROP_DIRECTION:
305#
306ltr
307rtl
308#
309# CSS_PROP_TEXT_TRANSFORM:
310#
311capitalize
312uppercase
313lowercase
314#none
315#
316# CSS_PROP_VISIBILITY:
317#
318visible
319#hidden
320collapse
321#
322# Unordered rest
323#
324above
325absolute
326always
327avoid
328below
329bidi-override
330blink
331both
332close-quote
333crop
334cross
335embed
336fixed
337hand
338hide
339higher
340invert
341landscape
342level
343line-through
344loud
345lower
346-webkit-marquee
347mix
348no-close-quote
349no-open-quote
350nowrap
351open-quote
352overlay
353overline
354portrait
355pre
356pre-line
357pre-wrap
358relative
359scroll
360separate
361show
362static
363thick
364thin
365underline
366-webkit-nowrap
367
368# CSS3 Values
369# CSS_PROP_BOX_ALIGN
370stretch
371start
372end
373#center
374#baseline
375
376# CSS_PROP_BOX_DIRECTION
377# normal
378reverse
379
380# CSS_PROP_BOX_ORIENT
381horizontal
382vertical
383inline-axis
384block-axis
385
386# CSS_PROP_BOX_PACK
387# start
388# end
389# center
390# justify
391
392# CSS_PROP_BOX_LINES
393single
394multiple
395
396# CSS_PROP_MARQUEE_DIRECTION
397forwards
398backwards
399ahead
400# reverse
401# left
402# right
403up
404down
405# auto
406
407# CSS_PROP_MARQUEE_SPEED
408slow
409# normal
410fast
411
412# CSS_PROP_MARQUEE_REPETITION
413infinite
414
415# CSS_PROP_MARQUEE_STYLE
416# none
417slide
418# scroll
419alternate
420
421#
422# CSS_PROP__KHTML_USER_MODIFY
423#
424read-only
425read-write
426read-write-plaintext-only
427
428#
429# CSS_PROP__KHTML_USER_DRAG
430#
431element
432
433#
434# CSS_PROP__KHTML_USER_SELECT
435#
436ignore
437
438#
439# CSS_PROP_WIDTH/MIN_WIDTH/MAX_WIDTH
440#
441intrinsic
442min-intrinsic
443
444#
445# CSS_PROP_TEXT_OVERFLOW
446#
447clip
448ellipsis
449
450#
451# CSS_PROP__KHTML_MARGIN_COLLAPSE
452#
453# collapse
454# separate
455discard
456
457#
458# CSS_PROP_TEXT_*_COLOR
459#
460dot-dash
461dot-dot-dash
462wave
463
464#
465# CSS_PROP_TEXT_*_MODE
466#
467continuous
468skip-white-space
469
470#
471# CSS_PROP_WORD_BREAK
472#
473break-all
474
475#
476# CSS_PROP_WORD_WRAP
477#
478break-word
479
480#
481# CSS_PROP__KHTML_NBSP_MODE
482#
483space
484
485#
486# CSS_PROP__KHTML_LINE_BREAK
487#
488after-white-space
489
490#
491# CSS_PROP__KHTML_APPEARANCE
492#
493checkbox
494radio
495push-button
496square-button
497button
498button-bevel
499default-button
500listbox
501listitem
502media-fullscreen-button
503media-mute-button
504media-play-button
505media-seek-back-button
506media-seek-forward-button
507media-rewind-button
508media-return-to-realtime-button
509media-slider
510media-sliderthumb
511media-controls-background
512media-current-time-display
513media-time-remaining-display
514menulist
515menulist-button
516menulist-text
517menulist-textfield
518slider-horizontal
519slider-vertical
520sliderthumb-horizontal
521sliderthumb-vertical
522caret
523searchfield
524searchfield-decoration
525searchfield-results-decoration
526searchfield-results-button
527searchfield-cancel-button
528textfield
529textarea
530caps-lock-indicator
531
532#
533# CSS_PROP_BORDER_IMAGE
534#
535# stretch
536# repeat
537round
538
539#
540# CSS_PROP_BACKGROUND_CLIP/ORIGIN
541#
542# border/content/padding are deprecated and ultimately will only apply to the -webkit- form of these properties.
543# border-box/content-box/padding-box should be used instead.
544#
545border
546content
547padding
548padding-box
549
550#
551# CSS_PROP_BOX_SIZING
552#
553border-box
554content-box
555
556#
557# CSS_PROP__KHTML_RTL_ORDERING
558#
559logical
560visual
561
562#
563# CSS_PROP__WEBKIT_BORDER_FIT
564#
565lines
566
567#
568# CSS_PROP__WEBKIT_ANIMATION_DIRECTION
569#
570# alternate
571
572#
573# CSS_PROP__WEBKIT_ANIMATION_ITERATION_COUNT
574#
575# infinite
576
577#
578# CSS_PROP__WEBKIT_ANIMATION_PLAY_STATE
579#
580running
581paused
582
583#
584# CSS_PROP__WEBKIT_TRANSFORM_STYLE
585#
586flat
587preserve-3d
588
589#
590# CSS_PROP__WEBKIT_TRANSITION_TIMING_FUNCTION
591# CSS_PROP__WEBKIT_ANIMATION_TIMING_FUNCTION
592#
593ease
594linear
595ease-in
596ease-out
597ease-in-out
598
599#
600# CSS_PROP_ZOOM
601#
602document
603reset
604
605#
606# CSS_PROP_POINTER_EVENTS
607#
608visiblePainted
609visibleFill
610visibleStroke
611#visible
612painted
613fill
614stroke
615#all
616#none
Note: See TracBrowser for help on using the browser.