root/trunk/WebCore/css/CSSPropertyNames.in

Revision 50108, 4.9 KB (checked in by mitz@apple.com, 12 days ago)

background-size: X treated as background-size: X X, not background-size: X auto
 https://bugs.webkit.org/show_bug.cgi?id=28440

Reviewed by Beth Dakin.

WebCore:

Updated fast/backgrounds/size/resources/parsing-background-size-values.js
and fast/backgrounds/size/resources/parsing-inherit.js

Reinstated -webkit-background-size and kept its behavior of filling in
the second value with the first one; and changed background-size to have
the behavior of filling in the second value with 'auto'.

* css/CSSComputedStyleDeclaration.cpp:
(computedProperties): Re-added CSSPropertyWebkitBackgroundSize.
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Ditto.
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue): Ditto.
(WebCore::CSSParser::parseFillSize): Adapted for the new parsing rule.
(WebCore::CSSParser::parseFillProperty): Re-added
CSSPropertyWebkitBackgroundSize.
(WebCore::cssPropertyID): Removed mapping of -webkit-background-size to
background-size.
* css/CSSParser.h:
* css/CSSPropertyNames.in: Re-added -webkit-background-size.
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty): Re-added
CSSPropertyWebkitBackgroundSize.

LayoutTests:

* fast/backgrounds/size/parsing-background-size-values-expected.txt:
* fast/backgrounds/size/parsing-inherit-expected.txt:
* fast/backgrounds/size/resources/parsing-background-size-values.js:
(test):
* fast/backgrounds/size/resources/parsing-inherit.js:
* platform/mac/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:

  • Property svn:eol-style set to native
Line 
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
11background
12background-attachment
13background-clip
14background-color
15background-image
16background-origin
17background-position
18background-position-x
19background-position-y
20background-repeat
21background-repeat-x
22background-repeat-y
23background-size
24border
25border-bottom
26border-bottom-color
27border-bottom-left-radius
28border-bottom-right-radius
29border-bottom-style
30border-bottom-width
31border-collapse
32border-color
33border-left
34border-left-color
35border-left-style
36border-left-width
37border-radius
38border-right
39border-right-color
40border-right-style
41border-right-width
42border-spacing
43border-style
44border-top
45border-top-color
46border-top-left-radius
47border-top-right-radius
48border-top-style
49border-top-width
50border-width
51bottom
52caption-side
53clear
54clip
55color
56content
57counter-increment
58counter-reset
59cursor
60direction
61display
62empty-cells
63float
64font
65font-family
66font-size
67font-stretch
68font-style
69font-variant
70font-weight
71height
72left
73letter-spacing
74line-height
75list-style
76list-style-image
77list-style-position
78list-style-type
79margin
80margin-bottom
81margin-left
82margin-right
83margin-top
84max-height
85max-width
86min-height
87min-width
88opacity
89orphans
90outline
91outline-color
92outline-offset
93outline-style
94outline-width
95overflow
96overflow-x
97overflow-y
98padding
99padding-bottom
100padding-left
101padding-right
102padding-top
103page
104page-break-after
105page-break-before
106page-break-inside
107pointer-events
108position
109quotes
110resize
111right
112size
113src
114table-layout
115text-align
116text-decoration
117text-indent
118text-line-through
119text-line-through-color
120text-line-through-mode
121text-line-through-style
122text-line-through-width
123text-overflow
124text-overline
125text-overline-color
126text-overline-mode
127text-overline-style
128text-overline-width
129text-rendering
130text-shadow
131text-transform
132text-underline
133text-underline-color
134text-underline-mode
135text-underline-style
136text-underline-width
137top
138unicode-bidi
139unicode-range
140vertical-align
141visibility
142white-space
143widows
144width
145word-break
146word-spacing
147word-wrap
148z-index
149zoom
150-webkit-animation
151-webkit-animation-delay
152-webkit-animation-direction
153-webkit-animation-duration
154-webkit-animation-iteration-count
155-webkit-animation-name
156-webkit-animation-play-state
157-webkit-animation-timing-function
158-webkit-appearance
159-webkit-backface-visibility
160-webkit-background-clip
161-webkit-background-composite
162-webkit-background-origin
163# -webkit-background-size differs from background-size only in the interpretation of
164# a single value: -webkit-background-size: l; is equivalent to background-size: l l;
165# whereas background-size: l; is equivalent to background-size: l auto;
166-webkit-background-size
167-webkit-binding
168-webkit-border-fit
169-webkit-border-horizontal-spacing
170-webkit-border-image
171
172# -webkit-border-radius differs from border-radius only in the interpretation of
173# a value consisting of two lengths: "-webkit-border-radius: l1 l2;" is equivalent
174# to "border-radius: l1 / l2;"
175-webkit-border-radius
176-webkit-border-vertical-spacing
177-webkit-box-align
178-webkit-box-direction
179-webkit-box-flex
180-webkit-box-flex-group
181-webkit-box-lines
182-webkit-box-ordinal-group
183-webkit-box-orient
184-webkit-box-pack
185-webkit-box-reflect
186-webkit-box-shadow
187-webkit-box-sizing
188-webkit-column-break-after
189-webkit-column-break-before
190-webkit-column-break-inside
191-webkit-column-count
192-webkit-column-gap
193-webkit-column-rule
194-webkit-column-rule-color
195-webkit-column-rule-style
196-webkit-column-rule-width
197-webkit-column-width
198-webkit-columns
199-webkit-font-size-delta
200-webkit-font-smoothing
201-webkit-highlight
202-webkit-line-break
203-webkit-line-clamp
204-webkit-margin-bottom-collapse
205-webkit-margin-collapse
206-webkit-margin-start
207-webkit-margin-top-collapse
208-webkit-marquee
209-webkit-marquee-direction
210-webkit-marquee-increment
211-webkit-marquee-repetition
212-webkit-marquee-speed
213-webkit-marquee-style
214-webkit-mask
215-webkit-mask-attachment
216-webkit-mask-box-image
217-webkit-mask-clip
218-webkit-mask-composite
219-webkit-mask-image
220-webkit-mask-origin
221-webkit-mask-position
222-webkit-mask-position-x
223-webkit-mask-position-y
224-webkit-mask-repeat
225-webkit-mask-repeat-x
226-webkit-mask-repeat-y
227-webkit-mask-size
228-webkit-match-nearest-mail-blockquote-color
229-webkit-nbsp-mode
230-webkit-padding-start
231-webkit-perspective
232-webkit-perspective-origin
233-webkit-perspective-origin-x
234-webkit-perspective-origin-y
235-webkit-rtl-ordering
236-webkit-text-decorations-in-effect
237-webkit-text-fill-color
238-webkit-text-security
239-webkit-text-size-adjust
240-webkit-text-stroke
241-webkit-text-stroke-color
242-webkit-text-stroke-width
243-webkit-transform
244-webkit-transform-origin
245-webkit-transform-origin-x
246-webkit-transform-origin-y
247-webkit-transform-origin-z
248-webkit-transform-style
249-webkit-transition
250-webkit-transition-delay
251-webkit-transition-duration
252-webkit-transition-property
253-webkit-transition-timing-function
254-webkit-user-drag
255-webkit-user-modify
256-webkit-user-select
257-webkit-variable-declaration-block
Note: See TracBrowser for help on using the browser.