Skip to content

Commit

Permalink
Add wrapper-div to WPT test preserve-3d-flat-grouping-properties.html…
Browse files Browse the repository at this point in the history
…, to avoid accidental restyling of human-readable test-results divs.

Note that this commit shouldn't change the test's pass/fail status anywhere. It
just makes the test results possible to read.

Differential Revision: https://phabricator.services.mozilla.com/D129569

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1737893
gecko-commit: 381d9dd110a933d462aa9a71f411a5cc50066588
gecko-reviewers: emilio
  • Loading branch information
dholbert authored and moz-wptsync-bot committed Oct 27, 2021
1 parent e9b7620 commit 18bfd1b
Showing 1 changed file with 42 additions and 37 deletions.
79 changes: 42 additions & 37 deletions css/css-transforms/preserve-3d-flat-grouping-properties.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
<script src="/resources/testharnessreport.js"></script>

<style>
div {
.testContainer div {
/* Note: .testContainer is just here to prevent this rule from squishing
the dynamically-generated human-readable divs that show this test's
pass/fail results. */
width: 200px;
height: 200px;
}
Expand All @@ -20,54 +23,56 @@
}
</style>

<div class=parent>
<div id=nonflat class=child></div>
</div>
<div class=testContainer>
<div class=parent>
<div id=nonflat class=child></div>
</div>

<div class=parent style="opacity: 0.5">
<div id=opacity class=child></div>
</div>
<div class=parent style="opacity: 0.5">
<div id=opacity class=child></div>
</div>

<div class=parent style="overflow: hidden">
<div id=overflowClip class=child></div>
</div>
<div class=parent style="overflow: hidden">
<div id=overflowClip class=child></div>
</div>

<div class=parent style="filter: invert(0)">
<div id=filter class=child></div>
</div>
<div class=parent style="filter: invert(0)">
<div id=filter class=child></div>
</div>

<div class=parent style="backdrop-filter: invert(0)">
<div id=backdropFilter class=child></div>
</div>
<div class=parent style="backdrop-filter: invert(0)">
<div id=backdropFilter class=child></div>
</div>

<div class=parent style="mix-blend-mode: multiply;">
<div id=mixBlendMode class=child></div>
</div>
<div class=parent style="mix-blend-mode: multiply;">
<div id=mixBlendMode class=child></div>
</div>

<div class=parent style="clip: rect(1px, 2px, 3px, 4px); position: absolute">
<div id=cssClip class=child></div>
</div>
<div class=parent style="clip: rect(1px, 2px, 3px, 4px); position: absolute">
<div id=cssClip class=child></div>
</div>

<div class=parent style="clip-path: circle(40%)">
<div id=clipPath class=child></div>
</div>
<div class=parent style="clip-path: circle(40%)">
<div id=clipPath class=child></div>
</div>

<div class=parent style="isolation: isolate">
<div id=isolation class=child></div>
</div>
<div class=parent style="isolation: isolate">
<div id=isolation class=child></div>
</div>

<div class=parent style="-webkit-mask:linear-gradient(black,transparent);
mask:linear-gradient(black,transparent)">
<div id=mask class=child></div>
</div>
<div class=parent style="-webkit-mask:linear-gradient(black,transparent);
mask:linear-gradient(black,transparent)">
<div id=mask class=child></div>
</div>

<div id=parentWithGrouping style="transform-style: preserve-3d; overflow: hidden">
<div id=absoluteUnderGrouping style="position: absolute">
<div id=parentWithGrouping style="transform-style: preserve-3d; overflow: hidden">
<div id=absoluteUnderGrouping style="position: absolute">
</div>
</div>
</div>

<div id=parentWithoutGrouping style="transform-style: preserve-3d">
<div id=absoluteNotUnderGrouping style="position: absolute">
<div id=parentWithoutGrouping style="transform-style: preserve-3d">
<div id=absoluteNotUnderGrouping style="position: absolute">
</div>
</div>
</div>

Expand Down

0 comments on commit 18bfd1b

Please sign in to comment.