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

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: rebase Created 6 years, 4 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
« no previous file with comments | « Source/core/css/CSSProperty.cpp ('k') | Source/core/css/resolver/CascadedValues.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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-stretch 22 font-stretch
20 font-style 23 font-style
21 font-variant 24 font-variant
22 font-variant-ligatures 25 font-variant-ligatures
23 font-weight 26 font-weight
24 text-rendering 27 text-rendering
25 -webkit-font-feature-settings 28 -webkit-font-feature-settings
26 -webkit-font-smoothing 29 -webkit-font-smoothing
27 -webkit-locale 30 -webkit-locale
28 -webkit-text-orientation 31 -webkit-text-orientation
29 -epub-text-orientation alias_for=-webkit-text-orientation 32 -epub-text-orientation alias_for=-webkit-text-orientation
30 -webkit-writing-mode
31 -epub-writing-mode alias_for=-webkit-writing-mode 33 -epub-writing-mode alias_for=-webkit-writing-mode
32 zoom 34 zoom
33 35
34 // line height needs to be right after the above high-priority properties
35 line-height
36
37 // The remaining properties are listed in some order 36 // The remaining properties are listed in some order
38 background 37 background
38
39 // These set the same RenderStyle values as other non-prefixed properties,
40 // we should use those if they are specified.
41 -webkit-border-image
42 -webkit-transform-origin
43 -webkit-transform-origin-x
44 -webkit-transform-origin-y
45 -webkit-transform-origin-z
46
39 background-attachment 47 background-attachment
40 background-blend-mode 48 background-blend-mode
41 background-clip 49 background-clip
42 background-color 50 background-color
43 background-image 51 background-image
44 background-origin 52 background-origin
45 background-position 53 background-position
46 background-position-x 54 background-position-x
47 background-position-y 55 background-position-y
48 background-repeat 56 background-repeat
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 cursor 110 cursor
103 empty-cells 111 empty-cells
104 float 112 float
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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 -webkit-border-before 247 -webkit-border-before
239 -webkit-border-before-color 248 -webkit-border-before-color
240 -webkit-border-before-style 249 -webkit-border-before-style
241 -webkit-border-before-width 250 -webkit-border-before-width
242 -webkit-border-end 251 -webkit-border-end
243 -webkit-border-end-color 252 -webkit-border-end-color
244 -webkit-border-end-style 253 -webkit-border-end-style
245 -webkit-border-end-width 254 -webkit-border-end-width
246 -webkit-border-fit 255 -webkit-border-fit
247 -webkit-border-horizontal-spacing 256 -webkit-border-horizontal-spacing
248 -webkit-border-image
249 // -webkit-border-radius differs from border-radius only in the interpretation o f 257 // -webkit-border-radius differs from border-radius only in the interpretation o f
250 // a value consisting of two lengths: "-webkit-border-radius: l1 l2;" is equival ent 258 // a value consisting of two lengths: "-webkit-border-radius: l1 l2;" is equival ent
251 // to "border-radius: l1 / l2;" 259 // to "border-radius: l1 / l2;"
252 -webkit-border-radius 260 -webkit-border-radius
253 -webkit-border-start 261 -webkit-border-start
254 -webkit-border-start-color 262 -webkit-border-start-color
255 -webkit-border-start-style 263 -webkit-border-start-style
256 -webkit-border-start-width 264 -webkit-border-start-width
257 -webkit-border-vertical-spacing 265 -webkit-border-vertical-spacing
258 -webkit-box-align 266 -webkit-box-align
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 -webkit-text-emphasis-style 391 -webkit-text-emphasis-style
384 -epub-text-emphasis-style alias_for=-webkit-text-emphasis-style 392 -epub-text-emphasis-style alias_for=-webkit-text-emphasis-style
385 -webkit-text-fill-color 393 -webkit-text-fill-color
386 -webkit-text-security 394 -webkit-text-security
387 -webkit-text-stroke 395 -webkit-text-stroke
388 -webkit-text-stroke-color 396 -webkit-text-stroke-color
389 -webkit-text-stroke-width 397 -webkit-text-stroke-width
390 transform 398 transform
391 -webkit-transform 399 -webkit-transform
392 transform-origin 400 transform-origin
393 -webkit-transform-origin
394 -webkit-transform-origin-x
395 -webkit-transform-origin-y
396 -webkit-transform-origin-z
397 transform-style 401 transform-style
398 -webkit-transform-style 402 -webkit-transform-style
399 -webkit-user-drag 403 -webkit-user-drag
400 -webkit-user-modify 404 -webkit-user-modify
401 -webkit-user-select 405 -webkit-user-select
402 -webkit-shape-outside alias_for=shape-outside 406 -webkit-shape-outside alias_for=shape-outside
403 -webkit-shape-margin alias_for=shape-margin 407 -webkit-shape-margin alias_for=shape-margin
404 -webkit-shape-image-threshold alias_for=shape-image-threshold 408 -webkit-shape-image-threshold alias_for=shape-image-threshold
405 shape-outside 409 shape-outside
406 shape-margin 410 shape-margin
407 shape-image-threshold 411 shape-image-threshold
408 max-zoom 412 max-zoom
409 min-zoom 413 min-zoom
410 orientation 414 orientation
411 user-zoom 415 user-zoom
412 -webkit-tap-highlight-color 416 -webkit-tap-highlight-color
413 -webkit-app-region 417 -webkit-app-region
414 all 418 all
415 419
416 // Internal properties. 420 // Internal properties.
417 -internal-marquee-direction 421 -internal-marquee-direction
418 -internal-marquee-increment 422 -internal-marquee-increment
419 -internal-marquee-repetition 423 -internal-marquee-repetition
420 -internal-marquee-speed 424 -internal-marquee-speed
421 -internal-marquee-style 425 -internal-marquee-style
OLDNEW
« no previous file with comments | « Source/core/css/CSSProperty.cpp ('k') | Source/core/css/resolver/CascadedValues.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698