mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-21 11:40:34 -10:00
Automatic update from web-platform-tests Add WPT test Signed-off-by: stevennovaryo <[email protected]> -- Apply suggestion Signed-off-by: stevennovaryo <[email protected]> -- Apply tidy and wpt suggestion Signed-off-by: stevennovaryo <[email protected]> -- Revert test 9 Signed-off-by: stevennovaryo <[email protected]> -- Add reference to overflow test Signed-off-by: stevennovaryo <[email protected]> -- wpt-commits: 3643d95455e6dff16eb70eaa7481ad5f4f619405, a9ba4aca97c9794b3ac5e55dc2f9ca270cf3c997, b3c0d005b32829ad0cca3abcde94413845808707, 962ae29296d2a1438cce218101e5585c767f42fc, 0704607c980377de9ac9520e001a25638298c0ef wpt-pr: 51595 Differential Revision: https://phabricator.services.mozilla.com/D247989
45 lines
1.3 KiB
HTML
45 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Overflow: Scrollable Overflow Transform Skew</title>
|
|
<link rel="author" title="Jo Steven Novaryo" href="mailto:[email protected]">
|
|
<link rel="help" href="https://drafts.csswg.org/css-overflow-3/#scrollable" />
|
|
<meta name="assert" content="Checks that the bounding rectangle of skewed element is included correctly in scrollable overflow.">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/resources/check-layout-th.js"></script>
|
|
<style>
|
|
.container {
|
|
width: 100px;
|
|
height: 100px;
|
|
overflow: scroll;
|
|
background: silver;
|
|
border: solid thick;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.element {
|
|
width: 200px;
|
|
height: 200px;
|
|
background: lime;
|
|
}
|
|
|
|
.element-2 {
|
|
width: 200px;
|
|
height: 200px;
|
|
background: aqua;
|
|
}
|
|
</style>
|
|
<body onload="checkLayout('.container')">
|
|
|
|
<div class="container" data-expected-scroll-width="227" data-expected-scroll-height="227">
|
|
<div style="transform: skew(-15deg, -15deg);" class="element">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container" data-expected-scroll-width="227" data-expected-scroll-height="227">
|
|
<div style="transform: skew(15deg, 15deg);" class="element">
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|