From ab42af0fc50918fa6538968c12d725d55c45028a Mon Sep 17 00:00:00 2001 From: Brad Werth Date: Tue, 17 Apr 2018 09:16:32 -0700 Subject: [PATCH] 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 --- layout/style/test/file_shape_outside_CORS.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/layout/style/test/file_shape_outside_CORS.html b/layout/style/test/file_shape_outside_CORS.html index ec061115802e..3a91dde6eac0 100644 --- a/layout/style/test/file_shape_outside_CORS.html +++ b/layout/style/test/file_shape_outside_CORS.html @@ -28,19 +28,22 @@ const DOMAIN = "http://mochi.test:8888"; function sendResults() { + // Disable this first part until Bug 1454694. + /* let divAllow = document.getElementById("allow"); let divAllowSib = divAllow.nextElementSibling; window.parent.postMessage({ "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); + */ let divRefuse = document.getElementById("refuse"); let divRefuseSib = divRefuse.nextElementSibling; window.parent.postMessage({ "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);