diff --git a/layout/painting/nsCSSRendering.cpp b/layout/painting/nsCSSRendering.cpp index b2366d0ef2b0..69e32cd3f5b4 100644 --- a/layout/painting/nsCSSRendering.cpp +++ b/layout/painting/nsCSSRendering.cpp @@ -532,16 +532,12 @@ static nsRect JoinBoxesForBlockAxisSlice(nsIFrame* aFrame, auto wm = aFrame->GetWritingMode(); nsIFrame* f = aFrame->GetNextContinuation(); for (; f; f = f->GetNextContinuation()) { - MOZ_ASSERT(!(f->GetStateBits() & NS_FRAME_PART_OF_IBSPLIT), - "anonymous ib-split block shouldn't have border/background"); bSize += f->BSize(wm); } (wm.IsVertical() ? borderArea.width : borderArea.height) += bSize; bSize = 0; f = aFrame->GetPrevContinuation(); for (; f; f = f->GetPrevContinuation()) { - MOZ_ASSERT(!(f->GetStateBits() & NS_FRAME_PART_OF_IBSPLIT), - "anonymous ib-split block shouldn't have border/background"); bSize += f->BSize(wm); } (wm.IsVertical() ? borderArea.x : borderArea.y) -= bSize; diff --git a/testing/web-platform/tests/css/css-masking/mask-image/mask-image-data-url-image.html b/testing/web-platform/tests/css/css-masking/mask-image/mask-image-data-url-image.html new file mode 100644 index 000000000000..aac59f3c4aab --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/mask-image/mask-image-data-url-image.html @@ -0,0 +1,27 @@ + +
The test passes if there is a blue-ish square with a 20px green border around it and a 40px blue-green-ish border around that.
+ diff --git a/testing/web-platform/tests/css/css-masking/mask-image/mask-image-ib-split-2.html b/testing/web-platform/tests/css/css-masking/mask-image/mask-image-ib-split-2.html new file mode 100644 index 000000000000..94c653a5c471 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/mask-image/mask-image-ib-split-2.html @@ -0,0 +1,24 @@ + +