зеркало из https://github.com/mozilla/gecko-dev.git
Bug 725036 - 'perspective' property doesn't reject negative numbers r=matt.woodrow
This commit is contained in:
Родитель
ce5473ee1a
Коммит
695167de58
|
@ -2350,7 +2350,7 @@ CSS_PROP_DISPLAY(
|
|||
perspective,
|
||||
CSS_PROP_DOMPROP_PREFIXED(Perspective),
|
||||
CSS_PROPERTY_PARSE_VALUE,
|
||||
VARIANT_NONE | VARIANT_INHERIT | VARIANT_LENGTH,
|
||||
VARIANT_NONE | VARIANT_INHERIT | VARIANT_LENGTH | VARIANT_POSITIVE_LENGTH,
|
||||
nsnull,
|
||||
offsetof(nsStyleDisplay, mChildPerspective),
|
||||
eStyleAnimType_Coord)
|
||||
|
|
|
@ -1082,9 +1082,9 @@ var gCSSProperties = {
|
|||
domProp: "MozPerspective",
|
||||
inherited: false,
|
||||
type: CSS_TYPE_LONGHAND,
|
||||
initial_values: [ "none", "0" ],
|
||||
other_values: [ "1000px", "500.2px", "-100px", "-27.2em" ],
|
||||
invalid_values: [ "pants", "200" ]
|
||||
initial_values: [ "none" ],
|
||||
other_values: [ "1000px", "500.2px" ],
|
||||
invalid_values: [ "pants", "200", "0", "-100px", "-27.2em" ]
|
||||
},
|
||||
"-moz-backface-visibility": {
|
||||
domProp: "MozBackfaceVisibility",
|
||||
|
|
Загрузка…
Ссылка в новой задаче