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