Compare commits

...
1 Commits
Author SHA1 Message Date
Moonchild 7269d0b0c5 Issue #1791 - Part 1: Support unprefixed CSS "appearance" property.
Alias -moz-appearance and -webkit-appearance to this.
2021-07-08 22:08:12 +00:00
3 changed files with 7 additions and 2 deletions

No files matched your search

+4
View File
@@ -118,6 +118,10 @@ CSS_PROP_ALIAS(-moz-animation-timing-function,
animation_timing_function,
MozAnimationTimingFunction,
"layout.css.prefixes.animations")
CSS_PROP_ALIAS(-moz-appearance,
appearance,
MozAppearance,
"layout.css.prefixes.appearance")
CSS_PROP_ALIAS(-moz-box-sizing,
box_sizing,
MozBoxSizing,
+2 -2
View File
@@ -461,9 +461,9 @@ CSS_PROP_DISPLAY(
CSS_PROP_NO_OFFSET,
eStyleAnimType_None)
CSS_PROP_DISPLAY(
-moz-appearance,
appearance,
CSS_PROP_DOMPROP_PREFIXED(Appearance),
appearance,
Appearance,
CSS_PROPERTY_PARSE_VALUE,
"",
VARIANT_HK,
+1
View File
@@ -2485,6 +2485,7 @@ pref("layout.css.font-display.enabled", false);
pref("layout.css.font-variations.stub", true);
// Are sets of prefixed properties supported?
pref("layout.css.prefixes.appearance", true);
pref("layout.css.prefixes.border-image", true);
pref("layout.css.prefixes.transforms", true);
pref("layout.css.prefixes.transitions", true);