зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1451196: Disable the intermittent part of test layout/style/test/test_shape_outside_CORS.html. r=dholbert
MozReview-Commit-ID: GQbQ0HQFlJX --HG-- extra : rebase_source : b940dff3c84a47e98526714f90c61a76f04c833c
This commit is contained in:
Родитель
015fb6557b
Коммит
ab42af0fc5
|
@ -28,19 +28,22 @@
|
||||||
const DOMAIN = "http://mochi.test:8888";
|
const DOMAIN = "http://mochi.test:8888";
|
||||||
|
|
||||||
function sendResults() {
|
function sendResults() {
|
||||||
|
// Disable this first part until Bug 1454694.
|
||||||
|
/*
|
||||||
let divAllow = document.getElementById("allow");
|
let divAllow = document.getElementById("allow");
|
||||||
let divAllowSib = divAllow.nextElementSibling;
|
let divAllowSib = divAllow.nextElementSibling;
|
||||||
window.parent.postMessage({
|
window.parent.postMessage({
|
||||||
"result": (divAllowSib.getBoundingClientRect().left == divAllow.getBoundingClientRect().left),
|
"result": (divAllowSib.getBoundingClientRect().left == divAllow.getBoundingClientRect().left),
|
||||||
"message": "Test 1: Sibling is at same left offset as div (shape-outside was allowed).",
|
"message": "Test 1: Sibling should be at same left offset as div (shape-outside should be allowed), and onload should only fire after layout is complete.",
|
||||||
},
|
},
|
||||||
DOMAIN);
|
DOMAIN);
|
||||||
|
*/
|
||||||
|
|
||||||
let divRefuse = document.getElementById("refuse");
|
let divRefuse = document.getElementById("refuse");
|
||||||
let divRefuseSib = divRefuse.nextElementSibling;
|
let divRefuseSib = divRefuse.nextElementSibling;
|
||||||
window.parent.postMessage({
|
window.parent.postMessage({
|
||||||
"result": (divRefuseSib.getBoundingClientRect().left != divRefuse.getBoundingClientRect().left),
|
"result": (divRefuseSib.getBoundingClientRect().left != divRefuse.getBoundingClientRect().left),
|
||||||
"message": "Test 2: Sibling is at different left offset from div (shape-outside was refused).",
|
"message": "Test 2: Sibling should be at different left offset from div (shape-outside should be refused).",
|
||||||
},
|
},
|
||||||
DOMAIN);
|
DOMAIN);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче