mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 09:01:16 +00:00
Bug 1876542 - Fix test_style_struct_copy_constructors.html.
See bug 1887221 for the underlying cause of the failure (the test is technically sound but it fails on other engines too). MANUAL PUSH: Test-only orange fix CLOSED TREE
This commit is contained in:
parent
29e9ea00d7
commit
c5008c1249
@ -64,6 +64,12 @@ for (var prop in gCSSProperties) {
|
||||
}
|
||||
|
||||
/** Test using inheritance **/
|
||||
|
||||
// TODO(bug 1887221): Zoom right now doesn't apply to explicitly inherited
|
||||
// values, so remove it to get consistent results.
|
||||
gRule1.style.removeProperty("zoom");
|
||||
gRule2.style.removeProperty("zoom");
|
||||
|
||||
for (var prop in gCSSProperties) {
|
||||
var info = gCSSProperties[prop];
|
||||
if (info.inherited && !("subproperties" in info)) {
|
||||
@ -79,14 +85,6 @@ for (var prop in gCSSProperties) {
|
||||
}
|
||||
}
|
||||
|
||||
for (var prop in gCSSProperties) {
|
||||
var info = gCSSProperties[prop];
|
||||
if (!("subproperties" in info)) {
|
||||
gRule1.style.removeProperty(prop);
|
||||
gRule2.style.removeProperty(prop);
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user