Files
firefox/testing/web-platform/tests/css/css-transforms/transform3d-scale-005.html
T
Kevin Ellis 2887a6e3c1 Bug 1542417 [wpt PR 16263] - Fix anti-aliasing artifacts in scale tests., a=testonly
Automatic update from web-platform-tests
Fix anti-aliasing artifacts in scale tests.

Update test pattern for transform3d scale tests to address test failures due to font anti-aliasing.

Bug: 753080
Change-Id: Ic0afcd60fd0fdb740049043d38e45c631f7a2f5f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1553305
Reviewed-by: Stephen Chenney <[email protected]>
Commit-Queue: Kevin Ellis <[email protected]>
Cr-Commit-Position: refs/heads/master@{#647879}

--

wpt-commits: 055bf244474e8b0f0302555f41d9723e34dfde19
wpt-pr: 16263
2019-06-05 10:25:24 +01:00

22 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): rotateX(90deg) scale3d(1, 1, 2)
rotateX(-90deg)</title>
<link rel="author" title="Matt Woodrow" href="mailto:[email protected]">
<link rel="author" title="Aryeh Gregor" href="mailto:[email protected]">
<link rel="help" href="http://www.w3.org/TR/css-transforms-2/#three-d-transform-functions">
<link rel="help" href="http://www.w3.org/TR/css-transforms-2/#funcdef-scale3d">
<meta name="assert" content="This tests that rotateX(90deg)
scale3d(1, 1, 2) rotateX(-90deg) is the same as scaleY(2). Conjugating by
the rotation swaps the Y and Z coordinates for the scale.">
<link rel="match" href="transform3d-scale-005-ref.html">
</head>
<body>
<div style="transform: rotatex(90deg) scale3D(1,1,2) rotatex(-90deg); transform-origin: 0 0; width: 100px; height: 100px;">
<div style="background: blue; width: 50px; height: 50px;"></div>
<div style="background: lime; width: 50px; height: 50px; margin-left: 50px;"></div>
</div>
</body>
</html>