Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: Source/core/css/CSSPropertyNames.in

Issue 350333003: Cascade declared property values instead of applying values on top of each other (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: move functions around :| Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // 1 //
2 // CSS property names 2 // CSS property names
3 // 3 //
4 // Some properties are used internally, but are not part of CSS. They are used t o get 4 // Some properties are used internally, but are not part of CSS. They are used t o get
5 // HTML4 compatibility in the rendering engine. 5 // HTML4 compatibility in the rendering engine.
6 // 6 //
7 // Microsoft extensions are documented here: 7 // Microsoft extensions are documented here:
8 // http://msdn.microsoft.com/workshop/author/css/reference/attributes.asp 8 // http://msdn.microsoft.com/workshop/author/css/reference/attributes.asp
9 // 9 //
10 10
11 // super-high-priority properties impact the non-standard direction aware proper ties
12 direction
13 -webkit-writing-mode
14
11 // high-priority properties (those on which other properties can depend) must 15 // high-priority properties (those on which other properties can depend) must
12 // be listed first 16 // be listed first
13 color 17 color
14 direction
15 font 18 font
16 font-family 19 font-family
17 font-kerning 20 font-kerning
18 font-size 21 font-size
19 font-style 22 font-style
20 font-variant 23 font-variant
21 font-variant-ligatures 24 font-variant-ligatures
22 font-weight 25 font-weight
23 text-rendering 26 text-rendering
24 -webkit-font-feature-settings 27 -webkit-font-feature-settings
25 -webkit-font-smoothing 28 -webkit-font-smoothing
26 -webkit-locale 29 -webkit-locale
27 -webkit-text-orientation 30 -webkit-text-orientation
28 -epub-text-orientation alias_for=-webkit-text-orientation 31 -epub-text-orientation alias_for=-webkit-text-orientation
29 -webkit-writing-mode
30 -epub-writing-mode alias_for=-webkit-writing-mode 32 -epub-writing-mode alias_for=-webkit-writing-mode
31 zoom 33 zoom
32 34
33 // line height needs to be right after the above high-priority properties
34 line-height
35
36 // The remaining properties are listed in some order 35 // The remaining properties are listed in some order
37 background 36 background
37
38 // These set the same RenderStyle values as other non-prefixed properties,
39 // we should use those if they are specified.
40 -webkit-border-image
41 -webkit-transform-origin
42 -webkit-transform-origin-x
43 -webkit-transform-origin-y
44 -webkit-transform-origin-z
45
38 background-attachment 46 background-attachment
39 background-blend-mode 47 background-blend-mode
40 background-clip 48 background-clip
41 background-color 49 background-color
42 background-image 50 background-image
43 background-origin 51 background-origin
44 background-position 52 background-position
45 background-position-x 53 background-position-x
46 background-position-y 54 background-position-y
47 background-repeat 55 background-repeat
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 empty-cells 110 empty-cells
103 float 111 float
104 font-stretch 112 font-stretch
105 height 113 height
106 image-rendering 114 image-rendering
107 isolation 115 isolation
108 justify-items 116 justify-items
109 justify-self 117 justify-self
110 left 118 left
111 letter-spacing 119 letter-spacing
120 line-height
112 list-style 121 list-style
113 list-style-image 122 list-style-image
114 list-style-position 123 list-style-position
115 list-style-type 124 list-style-type
116 margin 125 margin
117 margin-bottom 126 margin-bottom
118 margin-left 127 margin-left
119 margin-right 128 margin-right
120 margin-top 129 margin-top
121 mask-source-type 130 mask-source-type
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 -webkit-border-before 259 -webkit-border-before
251 -webkit-border-before-color 260 -webkit-border-before-color
252 -webkit-border-before-style 261 -webkit-border-before-style
253 -webkit-border-before-width 262 -webkit-border-before-width
254 -webkit-border-end 263 -webkit-border-end
255 -webkit-border-end-color 264 -webkit-border-end-color
256 -webkit-border-end-style 265 -webkit-border-end-style
257 -webkit-border-end-width 266 -webkit-border-end-width
258 -webkit-border-fit 267 -webkit-border-fit
259 -webkit-border-horizontal-spacing 268 -webkit-border-horizontal-spacing
260 -webkit-border-image
261 // -webkit-border-radius differs from border-radius only in the interpretation o f 269 // -webkit-border-radius differs from border-radius only in the interpretation o f
262 // a value consisting of two lengths: "-webkit-border-radius: l1 l2;" is equival ent 270 // a value consisting of two lengths: "-webkit-border-radius: l1 l2;" is equival ent
263 // to "border-radius: l1 / l2;" 271 // to "border-radius: l1 / l2;"
264 -webkit-border-radius 272 -webkit-border-radius
265 -webkit-border-start 273 -webkit-border-start
266 -webkit-border-start-color 274 -webkit-border-start-color
267 -webkit-border-start-style 275 -webkit-border-start-style
268 -webkit-border-start-width 276 -webkit-border-start-width
269 -webkit-border-vertical-spacing 277 -webkit-border-vertical-spacing
270 -webkit-box-align 278 -webkit-box-align
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 -webkit-text-emphasis-style 403 -webkit-text-emphasis-style
396 -epub-text-emphasis-style alias_for=-webkit-text-emphasis-style 404 -epub-text-emphasis-style alias_for=-webkit-text-emphasis-style
397 -webkit-text-fill-color 405 -webkit-text-fill-color
398 -webkit-text-security 406 -webkit-text-security
399 -webkit-text-stroke 407 -webkit-text-stroke
400 -webkit-text-stroke-color 408 -webkit-text-stroke-color
401 -webkit-text-stroke-width 409 -webkit-text-stroke-width
402 transform 410 transform
403 -webkit-transform 411 -webkit-transform
404 transform-origin 412 transform-origin
405 -webkit-transform-origin
406 -webkit-transform-origin-x
407 -webkit-transform-origin-y
408 -webkit-transform-origin-z
409 transform-style 413 transform-style
410 -webkit-transform-style 414 -webkit-transform-style
411 -webkit-user-drag 415 -webkit-user-drag
412 -webkit-user-modify 416 -webkit-user-modify
413 -webkit-user-select 417 -webkit-user-select
414 -webkit-shape-outside alias_for=shape-outside 418 -webkit-shape-outside alias_for=shape-outside
415 -webkit-shape-margin alias_for=shape-margin 419 -webkit-shape-margin alias_for=shape-margin
416 -webkit-shape-image-threshold alias_for=shape-image-threshold 420 -webkit-shape-image-threshold alias_for=shape-image-threshold
417 shape-outside 421 shape-outside
418 shape-margin 422 shape-margin
419 shape-image-threshold 423 shape-image-threshold
420 max-zoom 424 max-zoom
421 min-zoom 425 min-zoom
422 orientation 426 orientation
423 user-zoom 427 user-zoom
424 -webkit-tap-highlight-color 428 -webkit-tap-highlight-color
425 -webkit-app-region 429 -webkit-app-region
426 all 430 all
427 431
428 // Internal properties. 432 // Internal properties.
429 -internal-marquee-direction 433 -internal-marquee-direction
430 -internal-marquee-increment 434 -internal-marquee-increment
431 -internal-marquee-repetition 435 -internal-marquee-repetition
432 -internal-marquee-speed 436 -internal-marquee-speed
433 -internal-marquee-style 437 -internal-marquee-style
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698