зеркало из https://github.com/mozilla/gecko-dev.git
Bug 950416 - Set the background-blend-mode pref in test_background_blend_mode.html so it works whether or not it's already enabled, r=roc
This commit is contained in:
Родитель
8fa6f90652
Коммит
6a8e843654
|
@ -19,7 +19,7 @@
|
|||
var frame_container = document.getElementById("display");
|
||||
var noframe_container = document.getElementById("content");
|
||||
|
||||
(function test_bug_841601() {
|
||||
function test_bug_841601() {
|
||||
// Test handling of background-blend-mode
|
||||
var p = document.createElement("p");
|
||||
var cs = getComputedStyle(p, "");
|
||||
|
@ -44,7 +44,14 @@ var noframe_container = document.getElementById("content");
|
|||
"set all blendmodes");
|
||||
|
||||
p.parentNode.removeChild(p);
|
||||
})();
|
||||
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
SpecialPowers.pushPrefEnv({ "set": [["layout.css.background-blend-mode.enabled", true]] },
|
||||
test_bug_841601);
|
||||
|
||||
</script>
|
||||
</pre>
|
||||
</body>
|
||||
|
|
Загрузка…
Ссылка в новой задаче