зеркало из https://github.com/mozilla/gecko-dev.git
Bug 953408 - unprefix hyphens property. r=heycam
This commit is contained in:
Родитель
a897a6152a
Коммит
adb4b8ada8
|
@ -175,3 +175,7 @@ CSS_PROP_ALIAS(-moz-border-start-width,
|
|||
border_inline_start_width,
|
||||
MozBorderStartWidth,
|
||||
"")
|
||||
CSS_PROP_ALIAS(-moz-hyphens,
|
||||
hyphens,
|
||||
MozHyphens,
|
||||
"")
|
||||
|
|
|
@ -3640,9 +3640,9 @@ CSS_PROP_TEXT(
|
|||
CSS_PROP_NO_OFFSET,
|
||||
eStyleAnimType_None)
|
||||
CSS_PROP_TEXT(
|
||||
-moz-hyphens,
|
||||
hyphens,
|
||||
CSS_PROP_DOMPROP_PREFIXED(Hyphens),
|
||||
hyphens,
|
||||
Hyphens,
|
||||
CSS_PROPERTY_PARSE_VALUE,
|
||||
"",
|
||||
VARIANT_HK,
|
||||
|
|
|
@ -145,6 +145,7 @@ COMPUTED_STYLE_PROP(grid_template_areas, GridTemplateAreas)
|
|||
COMPUTED_STYLE_PROP(grid_template_columns, GridTemplateColumns)
|
||||
COMPUTED_STYLE_PROP(grid_template_rows, GridTemplateRows)
|
||||
COMPUTED_STYLE_PROP(height, Height)
|
||||
COMPUTED_STYLE_PROP(hyphens, Hyphens)
|
||||
COMPUTED_STYLE_PROP(image_orientation, ImageOrientation)
|
||||
COMPUTED_STYLE_PROP(ime_mode, IMEMode)
|
||||
COMPUTED_STYLE_PROP(isolation, Isolation)
|
||||
|
@ -270,7 +271,6 @@ COMPUTED_STYLE_PROP(_moz_column_rule_width, ColumnRuleWidth)
|
|||
COMPUTED_STYLE_PROP(_moz_column_width, ColumnWidth)
|
||||
COMPUTED_STYLE_PROP(float_edge, FloatEdge)
|
||||
COMPUTED_STYLE_PROP(force_broken_image_icon, ForceBrokenImageIcon)
|
||||
COMPUTED_STYLE_PROP(hyphens, Hyphens)
|
||||
COMPUTED_STYLE_PROP(image_region, ImageRegion)
|
||||
COMPUTED_STYLE_PROP(orient, Orient)
|
||||
COMPUTED_STYLE_PROP(osx_font_smoothing, OsxFontSmoothing)
|
||||
|
|
|
@ -3681,8 +3681,8 @@ var gCSSProperties = {
|
|||
other_values: [ "break-word" ],
|
||||
invalid_values: []
|
||||
},
|
||||
"-moz-hyphens": {
|
||||
domProp: "MozHyphens",
|
||||
"hyphens": {
|
||||
domProp: "hyphens",
|
||||
inherited: true,
|
||||
type: CSS_TYPE_LONGHAND,
|
||||
initial_values: [ "manual" ],
|
||||
|
@ -4556,6 +4556,16 @@ var gCSSProperties = {
|
|||
initial_values: [ "normal" ],
|
||||
other_values: [ "'ENG'", "'TRK'", "\"TRK\"", "'N\\'Ko'" ],
|
||||
invalid_values: [ "TRK", "ja" ]
|
||||
},
|
||||
"-moz-hyphens": {
|
||||
domProp: "MozHyphens",
|
||||
inherited: true,
|
||||
type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
|
||||
alias_for: "hyphens",
|
||||
subproperties: [ "hyphens" ],
|
||||
initial_values: [ "manual" ],
|
||||
other_values: [ "none", "auto" ],
|
||||
invalid_values: []
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче