mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 21:28:55 +00:00
Bug 825004 - Part 2: Provide temporary aliases for -moz-text-decoration-*. r=dbaron
This commit is contained in:
parent
2cbd1c5ec6
commit
56aff7eabb
@ -127,3 +127,15 @@ CSS_PROP_ALIAS(-moz-font-language-override,
|
||||
font_language_override,
|
||||
MozFontLanguageOverride,
|
||||
"layout.css.prefixes.font-features")
|
||||
CSS_PROP_ALIAS(-moz-text-decoration-color,
|
||||
text_decoration_color,
|
||||
MozTextDecorationColor,
|
||||
"")
|
||||
CSS_PROP_ALIAS(-moz-text-decoration-line,
|
||||
text_decoration_line,
|
||||
MozTextDecorationLine,
|
||||
"")
|
||||
CSS_PROP_ALIAS(-moz-text-decoration-style,
|
||||
text_decoration_style,
|
||||
MozTextDecorationStyle,
|
||||
"")
|
||||
|
@ -3299,6 +3299,16 @@ var gCSSProperties = {
|
||||
other_values: [ "green", "rgba(255,128,0,0.5)", "transparent" ],
|
||||
invalid_values: [ "#0", "#00", "#0000", "#00000", "#0000000", "#00000000", "#000000000", "000000", "ff00ff" ]
|
||||
},
|
||||
"-moz-text-decoration-color": {
|
||||
domProp: "MozTextDecorationColor",
|
||||
inherited: false,
|
||||
type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
|
||||
alias_for: "text-decoration-color",
|
||||
prerequisites: { "color": "black" },
|
||||
initial_values: [ "currentColor", "-moz-use-text-color" ],
|
||||
other_values: [ "green", "rgba(255,128,0,0.5)", "transparent" ],
|
||||
invalid_values: [ "#0", "#00", "#0000", "#00000", "#0000000", "#00000000", "#000000000", "000000", "ff00ff" ]
|
||||
},
|
||||
"text-decoration-line": {
|
||||
domProp: "textDecorationLine",
|
||||
inherited: false,
|
||||
@ -3307,6 +3317,15 @@ var gCSSProperties = {
|
||||
other_values: [ "underline", "overline", "line-through", "blink", "blink line-through underline", "underline overline line-through blink", "-moz-anchor-decoration", "blink -moz-anchor-decoration" ],
|
||||
invalid_values: [ "none none", "underline none", "none underline", "line-through blink line-through", "underline overline line-through blink none", "underline overline line-throuh blink blink" ]
|
||||
},
|
||||
"-moz-text-decoration-line": {
|
||||
domProp: "MozTextDecorationLine",
|
||||
inherited: false,
|
||||
type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
|
||||
alias_for: "text-decoration-line",
|
||||
initial_values: [ "none" ],
|
||||
other_values: [ "underline", "overline", "line-through", "blink", "blink line-through underline", "underline overline line-through blink", "-moz-anchor-decoration", "blink -moz-anchor-decoration" ],
|
||||
invalid_values: [ "none none", "underline none", "none underline", "line-through blink line-through", "underline overline line-through blink none", "underline overline line-throuh blink blink" ]
|
||||
},
|
||||
"text-decoration-style": {
|
||||
domProp: "textDecorationStyle",
|
||||
inherited: false,
|
||||
@ -3315,6 +3334,15 @@ var gCSSProperties = {
|
||||
other_values: [ "double", "dotted", "dashed", "wavy", "-moz-none" ],
|
||||
invalid_values: [ "none", "groove", "ridge", "inset", "outset", "solid dashed", "wave" ]
|
||||
},
|
||||
"-moz-text-decoration-style": {
|
||||
domProp: "MozTextDecorationStyle",
|
||||
inherited: false,
|
||||
type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
|
||||
alias_for: "text-decoration-style",
|
||||
initial_values: [ "solid" ],
|
||||
other_values: [ "double", "dotted", "dashed", "wavy", "-moz-none" ],
|
||||
invalid_values: [ "none", "groove", "ridge", "inset", "outset", "solid dashed", "wave" ]
|
||||
},
|
||||
"text-indent": {
|
||||
domProp: "textIndent",
|
||||
inherited: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user