forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1524261 - Add a reftest to prevent regression. r=jrmuizel
WhatsApp Web has emojis in divs with border-radius, inside a transform, inside a scrollframe. The patch in bug 1523776 broke the clipping in that scrolling the scrollframe would make the emoji visible outside the scrollframe. This reftest replicates that scenario. Differential Revision: https://phabricator.services.mozilla.com/D18272
- Loading branch information
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<div style="overflow-y:hidden; position:absolute; top:50px; width: 200px; height: 100px; border: solid 1px black"> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE html> | ||
<html reftest-async-scroll> | ||
<div style="overflow-y:hidden; position:absolute; top:50px; width: 200px; height: 100px; border: solid 1px black" | ||
reftest-displayport-x="0" reftest-displayport-y="0" | ||
reftest-displayport-w="200" reftest-displayport-h="300" | ||
reftest-async-scroll-x="0" reftest-async-scroll-y="50"> | ||
<div style="transform: translateY(0px); width: 100px; height: 300px"> | ||
<div style="background-color: green; height: 25px; width: 25px; border-radius: 5px"></div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters