Clean-up CSSValueKeywords.in

This change started as a removal of stale entries in the file
(mostly related to font-stretch - that was rolled out - along
with some misc values).

Then I looked at the file and found out that we still referred
to KHTML and CSS_PROP* (none of which make any sense) so I
cleaned up the comments too.

Review URL: https://codereview.chromium.org/324223004

git-svn-id: svn://svn.chromium.org/blink/trunk@175962 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 08275b42
......@@ -9,10 +9,11 @@
inherit
initial
//
// CSS_PROP_OUTLINE_STYLE
// CSS_PROP_BORDER_TOP_STYLE
// CSS_PROP_BORDER_BOTTOM_STYLE
// CSS_PROP_BORDER_LEFT_STYLE
// outline-style
// border-top-style
// border-bottom-style
// border-left-style
// border-right-style
// The order here must match the order of the EBorderStyle enum in RenderStyleConstants.h.
none
hidden
......@@ -26,7 +27,7 @@ solid
double
//
// CSS_PROP_FONT:
// font
//
caption
icon
......@@ -39,15 +40,16 @@ small-caption
status-bar
//
// CSS_PROP_FONT_STYLE:
// font-style
//
//normal
italic
oblique
// The following is only allowed in @font-face:
all
//
// CSS_PROP_FONT_VARIANT:
// font-variant
//
//normal
small-caps
......@@ -65,7 +67,7 @@ contextual
no-contextual
//
// CSS_PROP_FONT_WEIGHT:
// font-weigth
//
normal
bold
......@@ -80,8 +82,9 @@ lighter
700
800
900
//
// CSS_PROP_FONT_SIZE:
// font-size
//
xx-small
x-small
......@@ -93,22 +96,9 @@ xx-large
-webkit-xxx-large
smaller
larger
//
// CSS_PROP_FONT_STRETCH:
//
//normal
wider
narrower
ultra-condensed
extra-condensed
condensed
semi-condensed
semi-expanded
expanded
extra-expanded
ultra-expanded
//
// CSS_PROP_GENERIC_FONT_FAMILY:
// font-family (<generic-family> in CSS 2.1)
//
serif
sans-serif
......@@ -117,9 +107,10 @@ fantasy
monospace
-webkit-body
-webkit-pictograph
//
//
// CSS_PROP_*_COLOR
// *-color
//
aqua
black
......@@ -179,7 +170,7 @@ grey
// colors in non strict mode
-webkit-text mode=QuirksOrUASheet
//
// CSS_PROP_BACKGROUND_REPEAT:
// background-repeat
//
repeat
repeat-x
......@@ -188,7 +179,7 @@ no-repeat
// round
// space
//
// CSS_PROP__WEBKIT_BACKGROUND_COMPOSITE:
// -webkit-background-composite
//
clear
copy
......@@ -205,7 +196,7 @@ plus-darker
// highlight
plus-lighter
//
// CSS_PROP_VERTICAL_ALIGN:
// vertical-align
//
baseline
middle
......@@ -218,7 +209,7 @@ bottom
// HTML alignment MIDDLE has no corresponding CSS alignment
-webkit-baseline-middle
//
// CSS_PROP_TEXT_ALIGN:
// text-align
// The order here must match the order of the ETextAlign enum in RenderStyleConstants.h.
//
-webkit-auto
......@@ -231,19 +222,19 @@ justify
-webkit-center
-webkit-match-parent
//
// CSS_PROP_TEXT_JUSTIFY:
// text-justify
//
//auto
//none
inter-word
distribute
//
// CSS_PROP_LIST_STYLE_POSITION:
// list-style-position
//
outside
inside
//
// CSS_PROP_LIST_STYLE_TYPE:
// list-style-type
// The order here must match the order of the EListStyleType enum in RenderStyleConstants.h.
//
disc
......@@ -328,7 +319,7 @@ hiragana-iroha
katakana-iroha
//none
//
// CSS_PROP_DISPLAY:
// display
// The order here must match the order of the EDisplay enum in RenderStyleConstants.h.
//
inline
......@@ -355,7 +346,7 @@ inline-grid
-webkit-flex
-webkit-inline-flex
//
// CSS_PROP_CURSOR:
// cursor
// The order here must match the order of the ECursor enum in RenderStyleConstants.h.
//
auto
......@@ -397,19 +388,19 @@ all-scroll
-webkit-zoom-out
// none
//
// CSS_PROP_DIRECTION:
// direction
//
ltr
rtl
//
// CSS_PROP_TEXT_TRANSFORM:
// text-transform
//
capitalize
uppercase
lowercase
//none
//
// CSS_PROP_VISIBILITY:
// visibility
//
visible
//hidden
......@@ -431,13 +422,10 @@ bidi-override
blink
both
close-quote
crop
cross
embed
fixed
hand
hide
higher
invert
-webkit-isolate
-webkit-isolate-override
......@@ -446,12 +434,8 @@ landscape
ledger
legal
letter
level
line-through
local
loud
lower
mix
no-close-quote
no-open-quote
nowrap
......@@ -475,38 +459,38 @@ wavy
-webkit-nowrap
// CSS3 Values
// CSS_PROP_BOX_ALIGN
// box-align
stretch
start
end
//center
//baseline
// CSS_PROP_BOX_DECORATION_BREAK
// box-decoration-break
clone
slice
// CSS_PROP_BOX_DIRECTION
// box-direction
// normal
reverse
// CSS_PROP_BOX_ORIENT
// box-orient
horizontal
vertical
inline-axis
block-axis
// CSS_PROP_BOX_PACK
// box-pack
// start
// end
// center
// justify
// CSS_PROP_BOX_LINES
// box-lines
single
multiple
// CSS_PROP_ALIGN_CONTENT
// align-content
flex-start
flex-end
// center
......@@ -514,21 +498,21 @@ space-between
space-around
// stretch
// CSS_PROP_ALIGN_ITEMS / CSS_PROP_ALIGN_SELF
// align-items / align-self
// flex-start
// flex-end
// center
// baseline
// stretch
// CSS_PROP_JUSTIFY_CONTENT
// justify-content
// flex-start
// flex-end
// center
// space-between
// space-around
// CSS_PROP_FLEX_FLOW
// flex-flow
row
row-reverse
column
......@@ -537,7 +521,7 @@ column-reverse
// wrap
wrap-reverse
// CSS_PROP_MARQUEE_DIRECTION
// -internal-marquee-direction
forwards
backwards
ahead
......@@ -548,39 +532,34 @@ up
down
// auto
// CSS_PROP_MARQUEE_SPEED
// -internal-marquee-speed
slow
// normal
fast
// CSS_PROP_MARQUEE_REPETITION
// -internal-marquee-repetition
infinite
// CSS_PROP_MARQUEE_STYLE
// -internal-marquee-style
// none
slide
// scroll
alternate
//
// CSS_PROP__KHTML_USER_MODIFY
// -webkit-user-modify
//
read-only
read-write
read-write-plaintext-only
//
// CSS_PROP__KHTML_USER_DRAG
// -webkit-user-drag
//
element
//
// CSS_PROP__KHTML_USER_SELECT
//
ignore
//
// CSS_PROP_WIDTH/MIN_WIDTH/MAX_WIDTH
// width/min-width/max-width
//
intrinsic
min-intrinsic
......@@ -597,48 +576,48 @@ min-content
max-content
//
// CSS_PROP_TEXT_OVERFLOW
// text-overflow
//
clip
ellipsis
//
// CSS_PROP__KHTML_MARGIN_COLLAPSE
// -webkit-margin-collapse
//
// collapse
// separate
discard
//
// CSS_PROP_TEXT_*_COLOR
// text-*-color
//
dot-dash
dot-dot-dash
wave
//
// CSS_PROP_TEXT_*_MODE
// text-*-mode
//
continuous
skip-white-space
//
// CSS_PROP_WORD_BREAK
// word-break
//
break-all
//
// CSS_PROP_WORD_WRAP
// word-wrap
//
break-word
//
// CSS_PROP__KHTML_NBSP_MODE
// nbsp-mode
//
space
//
// CSS_PROP__KHTML_LINE_BREAK
// -webkit-line-break
//
// auto
loose
......@@ -701,14 +680,14 @@ textarea
caps-lock-indicator
//
// CSS_PROP_BORDER_IMAGE
// border-image
//
// stretch
// repeat
round
//
// CSS_PROP_BACKGROUND_CLIP/ORIGIN
// background-clip/background-origin
//
// border/content/padding are deprecated and ultimately will only apply to the -webkit- form of these properties.
// border-box/content-box/padding-box should be used instead.
......@@ -720,7 +699,7 @@ content-box
padding
padding-box
// CSS_SHAPES
// CSS 3 SHAPES
margin-box
//
......@@ -730,50 +709,50 @@ contain
cover
//
// CSS_PROP__KHTML_RTL_ORDERING
// -webkit-rtl-ordering
//
logical
visual
//
// CSS_PROP__WEBKIT_BORDER_FIT
// -webkit-border-fit
//
lines
//
// CSS_PROP__WEBKIT_ANIMATION_DIRECTION
// animation-direction
//
// alternate
alternate-reverse
//
// CSS_PROP__WEBKIT_ANIMATION_FILL_MODE
// animation-fill-mode
//
// forwards
// backwards
// both
//
// CSS_PROP__WEBKIT_ANIMATION_ITERATION_COUNT
// animation-iteration-count
//
// infinite
//
// CSS_PROP__WEBKIT_ANIMATION_PLAY_STATE
// animation-play-state
//
running
paused
//
// CSS_PROP__WEBKIT_TRANSFORM_STYLE
// transform-style
//
flat
preserve-3d
//
// CSS_PROP__WEBKIT_TRANSITION_TIMING_FUNCTION
// CSS_PROP__WEBKIT_ANIMATION_TIMING_FUNCTION
// transition-timing-function
// animation-timing-function
//
ease
linear
......@@ -785,19 +764,19 @@ step-middle
step-end
//
// CSS_PROP_ZOOM
// zoom
//
document
reset
//
// CSS_PROP_USER_ZOOM
// user-zoom
//
// fixed
zoom
//
// CSS_PROP_POINTER_EVENTS
// pointer-events
//
visiblePainted
visibleFill
......@@ -811,7 +790,7 @@ bounding-box
//none
//
// CSS_PROP_SPEECH
// speech
//
spell-out
digits
......@@ -836,9 +815,6 @@ geometricPrecision
economy
exact
// -webkit-hyphenate-limit-lines
no-limit
// -webkit-writing-mode
// SVG compatibility
lr
......@@ -931,13 +907,6 @@ sticky
coarse
fine
// -webkit-filter
// values for the custom() function
// border-box
// padding-box
// content-box
filter-box
detached
// blend modes
// normal
multiply
......@@ -970,7 +939,7 @@ balance
drag
no-drag
// -webkit-grid-{start|end|before|after}
// grid-{column|row}-{start|end}
span
// text-indent
......@@ -981,7 +950,9 @@ each-line
progressive
interlace
// CSS_PROP_PAINT_ORDER
//
// paint-order
//
// normal
// fill
// stroke
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment