1//
2// CSS property names
3//
4// Some properties are used internally, but are not part of CSS. They are used to get
5// HTML4 compatibility in the rendering engine.
6//
7// Microsoft extensions are documented here:
8// http://msdn.microsoft.com/workshop/author/css/reference/attributes.asp
9// 
10
11
12// high-priority property names have to be listed first, to simplify the check
13// for applying them first.
14color [Inherited]
15direction [Inherited]
16display
17font [Inherited]
18font-family [Inherited]
19font-size [Inherited]
20font-style [Inherited]
21font-variant [Inherited]
22font-weight [Inherited]
23text-rendering [Inherited]
24-webkit-font-feature-settings [Inherited]
25-webkit-font-kerning [Inherited]
26-webkit-font-smoothing [Inherited]
27-webkit-font-variant-ligatures [Inherited]
28-webkit-locale [Inherited]
29-webkit-text-orientation [Inherited]
30-epub-text-orientation = -webkit-text-orientation
31#if defined(ENABLE_IOS_TEXT_AUTOSIZING) && ENABLE_IOS_TEXT_AUTOSIZING
32-webkit-text-size-adjust [Inherited]
33#endif
34-webkit-writing-mode [Inherited]
35-epub-writing-mode = -webkit-writing-mode
36zoom
37
38// line height needs to be right after the above high-priority properties
39line-height [Inherited]
40
41// The remaining properties are listed in alphabetical order
42background
43background-attachment
44background-blend-mode
45background-clip
46background-color
47background-image
48background-origin
49background-position
50background-position-x
51background-position-y
52background-repeat
53background-repeat-x
54background-repeat-y
55background-size
56border
57border-bottom
58border-bottom-color
59border-bottom-left-radius
60-webkit-border-bottom-left-radius = border-bottom-left-radius
61border-bottom-right-radius
62-webkit-border-bottom-right-radius = border-bottom-right-radius
63border-bottom-style
64border-bottom-width
65border-collapse [Inherited]
66border-color
67border-image
68border-image-outset
69border-image-repeat
70border-image-slice
71border-image-source
72border-image-width
73border-left
74border-left-color
75border-left-style
76border-left-width
77border-radius
78border-right
79border-right-color
80border-right-style
81border-right-width
82border-spacing [Inherited]
83border-style
84border-top
85border-top-color
86border-top-left-radius
87-webkit-border-top-left-radius = border-top-left-radius
88border-top-right-radius
89-webkit-border-top-right-radius = border-top-right-radius
90border-top-style
91border-top-width
92border-width
93bottom
94box-shadow
95box-sizing
96// -webkit-box-sizing worked in Safari 4 and earlier.
97-webkit-box-sizing = box-sizing
98caption-side [Inherited]
99-epub-caption-side = caption-side
100clear
101clip
102-webkit-clip-path
103content
104counter-increment
105counter-reset
106cursor [Inherited]
107#if defined(ENABLE_CURSOR_VISIBILITY) && ENABLE_CURSOR_VISIBILITY
108-webkit-cursor-visibility [Inherited]
109#endif
110empty-cells [Inherited]
111float
112font-stretch
113height
114#if defined(ENABLE_CSS_IMAGE_ORIENTATION) && ENABLE_CSS_IMAGE_ORIENTATION
115image-orientation [Inherited]
116#endif
117image-rendering [Inherited]
118#if defined(ENABLE_CSS_IMAGE_RESOLUTION) && ENABLE_CSS_IMAGE_RESOLUTION
119image-resolution [Inherited]
120#endif
121left
122letter-spacing [Inherited]
123list-style [Inherited]
124list-style-image [Inherited]
125list-style-position [Inherited]
126list-style-type [Inherited]
127margin
128margin-bottom
129margin-left
130margin-right
131margin-top
132max-height
133max-width
134min-height
135min-width
136object-fit
137opacity
138// Honor -webkit-opacity as a synonym for opacity. This was the only syntax that worked in Safari 1.1,
139// and may be in use on some websites and widgets.
140-webkit-opacity = opacity
141orphans [Inherited]
142outline
143outline-color
144outline-offset
145outline-style
146outline-width
147overflow
148overflow-wrap
149overflow-x
150overflow-y
151padding
152padding-bottom
153padding-left
154padding-right
155padding-top
156page
157page-break-after
158page-break-before
159page-break-inside
160paint-order
161pointer-events [Inherited]
162position
163quotes [Inherited]
164resize [Inherited]
165right
166size
167src
168speak [Inherited]
169table-layout
170tab-size [Inherited]
171text-align [Inherited]
172text-decoration
173text-indent [Inherited]
174text-line-through
175text-line-through-color
176text-line-through-mode
177text-line-through-style
178text-line-through-width
179text-overflow
180text-overline
181text-overline-color
182text-overline-mode
183text-overline-style
184text-overline-width
185text-shadow [Inherited]
186text-transform [Inherited]
187-epub-text-transform = text-transform
188text-underline
189text-underline-color
190text-underline-mode
191text-underline-style
192text-underline-width
193top
194transition
195transition-delay
196transition-duration
197transition-property
198transition-timing-function
199
200unicode-bidi
201unicode-range
202vertical-align
203visibility [Inherited]
204white-space [Inherited]
205widows [Inherited]
206width
207word-break [Inherited]
208-epub-word-break = word-break
209word-spacing [Inherited]
210word-wrap [Inherited]
211z-index
212-webkit-alt
213-webkit-animation
214-webkit-animation-delay
215-webkit-animation-direction
216-webkit-animation-duration
217-webkit-animation-fill-mode
218-webkit-animation-iteration-count
219-webkit-animation-name
220-webkit-animation-play-state
221-webkit-animation-timing-function
222-webkit-appearance
223-webkit-aspect-ratio [Inherited]
224-webkit-backface-visibility
225-webkit-background-clip
226-webkit-background-composite
227-webkit-background-origin
228// -webkit-background-size differs from background-size only in the interpretation of
229// a single value: -webkit-background-size: l; is equivalent to background-size: l l;
230// whereas background-size: l; is equivalent to background-size: l auto;
231-webkit-background-size
232-webkit-border-after
233-webkit-border-after-color
234-webkit-border-after-style
235-webkit-border-after-width
236-webkit-border-before
237-webkit-border-before-color
238-webkit-border-before-style
239-webkit-border-before-width
240-webkit-border-end
241-webkit-border-end-color
242-webkit-border-end-style
243-webkit-border-end-width
244-webkit-border-fit
245-webkit-border-horizontal-spacing [Inherited]
246-webkit-border-image
247// -webkit-border-radius differs from border-radius only in the interpretation of
248// a value consisting of two lengths: "-webkit-border-radius: l1 l2;" is equivalent
249// to "border-radius: l1 / l2;"
250-webkit-border-radius
251-webkit-border-start
252-webkit-border-start-color
253-webkit-border-start-style
254-webkit-border-start-width
255-webkit-border-vertical-spacing [Inherited]
256-webkit-box-align
257-webkit-box-direction [Inherited]
258-webkit-box-flex
259-webkit-box-flex-group
260-webkit-box-lines
261-webkit-box-ordinal-group
262-webkit-box-orient
263-webkit-box-pack
264-webkit-box-reflect
265// -webkit-box-shadow differs from box-shadow in its treatement of blur radii > 8px.
266// Let -webkit-box-shadow blur radius be w_r and box-shadow blur radius be b_r. For
267// w_r > 8px, b_r = 8 + 4 * sqrt((w_r - 8) / 2).
268-webkit-box-shadow
269-webkit-color-correction [Inherited]
270-webkit-column-axis
271-webkit-column-break-after
272-webkit-column-break-before
273-webkit-column-break-inside
274-webkit-column-count
275-webkit-column-fill
276-webkit-column-gap
277-webkit-column-progression
278-webkit-column-rule
279-webkit-column-rule-color
280-webkit-column-rule-style
281-webkit-column-rule-width
282-webkit-column-span
283-webkit-column-width
284-webkit-columns
285#if defined(ENABLE_CSS_BOX_DECORATION_BREAK) && ENABLE_CSS_BOX_DECORATION_BREAK
286-webkit-box-decoration-break
287#endif
288#if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING
289mix-blend-mode
290isolation
291#endif
292#if defined(ENABLE_CSS_FILTERS) && ENABLE_CSS_FILTERS
293-webkit-filter
294#endif
295-webkit-align-content
296-webkit-align-items
297-webkit-align-self
298-webkit-flex
299-webkit-flex-basis
300-webkit-flex-direction
301-webkit-flex-flow
302-webkit-flex-grow
303-webkit-flex-shrink
304-webkit-flex-wrap
305-webkit-justify-content
306-webkit-justify-self
307-webkit-font-size-delta
308#if defined(ENABLE_CSS_GRID_LAYOUT) && ENABLE_CSS_GRID_LAYOUT
309-webkit-grid
310-webkit-grid-area
311-webkit-grid-auto-columns
312-webkit-grid-auto-rows
313-webkit-grid-column-end
314-webkit-grid-column-start
315-webkit-grid-template
316-webkit-grid-template-columns
317-webkit-grid-template-rows
318-webkit-grid-row-end
319-webkit-grid-row-start
320-webkit-grid-column
321-webkit-grid-row
322-webkit-grid-template-areas
323-webkit-grid-auto-flow
324#endif
325-webkit-hyphenate-character [Inherited]
326-webkit-hyphenate-limit-after [Inherited]
327-webkit-hyphenate-limit-before [Inherited]
328-webkit-hyphenate-limit-lines [Inherited]
329-webkit-hyphens [Inherited]
330-epub-hyphens = -webkit-hyphens
331-webkit-line-box-contain [Inherited]
332-webkit-line-align [Inherited]
333-webkit-line-break [Inherited]
334-webkit-line-clamp
335-webkit-line-grid [Inherited]
336-webkit-line-snap [Inherited]
337-webkit-logical-width
338-webkit-logical-height
339-webkit-margin-after-collapse
340-webkit-margin-before-collapse
341-webkit-margin-bottom-collapse
342-webkit-margin-top-collapse
343-webkit-margin-collapse
344-webkit-margin-after
345-webkit-margin-before
346-webkit-margin-end
347-webkit-margin-start
348-webkit-marquee
349-webkit-marquee-direction
350-webkit-marquee-increment
351-webkit-marquee-repetition
352-webkit-marquee-speed
353-webkit-marquee-style
354-webkit-mask
355-webkit-mask-box-image
356-webkit-mask-box-image-outset
357-webkit-mask-box-image-repeat
358-webkit-mask-box-image-slice
359-webkit-mask-box-image-source
360-webkit-mask-box-image-width
361-webkit-mask-clip
362-webkit-mask-composite
363-webkit-mask-image
364-webkit-mask-origin
365-webkit-mask-position
366-webkit-mask-position-x
367-webkit-mask-position-y
368-webkit-mask-repeat
369-webkit-mask-repeat-x
370-webkit-mask-repeat-y
371-webkit-mask-size
372-webkit-mask-source-type
373-webkit-max-logical-width
374-webkit-max-logical-height
375-webkit-min-logical-width
376-webkit-min-logical-height
377-webkit-nbsp-mode [Inherited]
378-webkit-order
379-webkit-padding-after
380-webkit-padding-before
381-webkit-padding-end
382-webkit-padding-start
383-webkit-perspective
384-webkit-perspective-origin
385-webkit-perspective-origin-x
386-webkit-perspective-origin-y
387-webkit-print-color-adjust [Inherited]
388-webkit-rtl-ordering [Inherited]
389-webkit-ruby-position [Inherited]
390-webkit-text-combine [Inherited]
391-epub-text-combine = -webkit-text-combine
392#if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT
393-webkit-text-align-last [Inherited]
394-webkit-text-justify [Inherited]
395#endif
396-webkit-text-decoration
397-webkit-text-decoration-line
398-webkit-text-decoration-style
399-webkit-text-decoration-color
400-webkit-text-decoration-skip [Inherited]
401-webkit-text-underline-position [Inherited]
402-webkit-text-decorations-in-effect [Inherited]
403-webkit-text-emphasis [Inherited]
404-epub-text-emphasis = -webkit-text-emphasis
405text-emphasis = -webkit-text-emphasis
406-webkit-text-emphasis-color [Inherited]
407-epub-text-emphasis-color = -webkit-text-emphasis-color
408text-emphasis-color = -webkit-text-emphasis-color
409-webkit-text-emphasis-position [Inherited]
410text-emphasis-position = -webkit-text-emphasis-position
411-webkit-text-emphasis-style [Inherited]
412-epub-text-emphasis-style = -webkit-text-emphasis-style
413text-emphasis-style = -webkit-text-emphasis-style
414-webkit-text-fill-color [Inherited]
415-webkit-text-security [Inherited]
416-webkit-text-stroke [Inherited]
417-webkit-text-stroke-color [Inherited]
418-webkit-text-stroke-width [Inherited]
419-webkit-transform
420-webkit-transform-origin
421-webkit-transform-origin-x
422-webkit-transform-origin-y
423-webkit-transform-origin-z
424-webkit-transform-style
425-webkit-transition
426-webkit-transition-delay
427-webkit-transition-duration
428-webkit-transition-property
429-webkit-transition-timing-function
430-webkit-user-drag
431-webkit-user-modify [Inherited]
432-webkit-user-select [Inherited]
433#if defined(ENABLE_CSS_REGIONS) && ENABLE_CSS_REGIONS
434-webkit-flow-into
435-webkit-flow-from
436-webkit-region-fragment
437-webkit-region-break-after
438-webkit-region-break-before
439-webkit-region-break-inside
440#endif
441#if defined(ENABLE_CSS_SHAPES) && ENABLE_CSS_SHAPES
442-webkit-shape-outside
443-webkit-shape-margin
444-webkit-shape-image-threshold
445#endif
446#if defined(ENABLE_CSS_DEVICE_ADAPTATION) && ENABLE_CSS_DEVICE_ADAPTATION
447max-zoom
448min-zoom
449orientation
450user-zoom
451#endif
452#if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
453-webkit-tap-highlight-color [Inherited]
454#endif
455#if defined(ENABLE_DASHBOARD_SUPPORT) && ENABLE_DASHBOARD_SUPPORT
456-webkit-dashboard-region
457#endif
458#if defined(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) && ENABLE_ACCELERATED_OVERFLOW_SCROLLING
459-webkit-overflow-scrolling [Inherited]
460#endif
461#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS
462-webkit-touch-callout [Inherited]
463
464// FIXME: This property shouldn't be iOS-specific. Once we fix up its usage in InlineTextBox::paintCompositionBackground()
465// we should move it outside the WTF_PLATFORM_IOS-guard.
466-webkit-composition-fill-color [Inherited]
467#endif
468