зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1255401 - fix getCSSValuesForProperty result for "quotes" property; r=heycam
It seemed valid to simply set the expected variants in nsCSSPropList.h; other properties (e.g., align-content) do this as well. MozReview-Commit-ID: HVZGOofkwi1 --HG-- extra : rebase_source : 53388e48c491843a3fd93a3c46fdcd9c9bd3cc41
This commit is contained in:
Родитель
1d509d63c6
Коммит
7e80328404
|
@ -8127,6 +8127,7 @@ exports.CSS_PROPERTIES = {
|
|||
"values": [
|
||||
"inherit",
|
||||
"initial",
|
||||
"none",
|
||||
"unset"
|
||||
]
|
||||
},
|
||||
|
|
|
@ -217,6 +217,11 @@ function do_test() {
|
|||
var expected = [ "inherit", "initial", "unset" ];
|
||||
ok(testValues(values, expected), "property all's values.");
|
||||
|
||||
var prop = "quotes"
|
||||
var values = InspectorUtils.getCSSValuesForProperty(prop);
|
||||
var expected = [ "inherit", "initial", "unset", "none" ];
|
||||
ok(testValues(values, expected), "property quotes's values.");
|
||||
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
|
|
|
@ -3580,7 +3580,7 @@ CSS_PROP_LIST(
|
|||
Quotes,
|
||||
CSS_PROPERTY_PARSE_FUNCTION,
|
||||
"",
|
||||
0,
|
||||
VARIANT_HOS,
|
||||
nullptr,
|
||||
CSS_PROP_NO_OFFSET,
|
||||
eStyleAnimType_Discrete)
|
||||
|
|
Загрузка…
Ссылка в новой задаче