зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1893330 [wpt PR 45894] - Use simple rrect instead of Path for ClipPathClip if possible, a=testonly
Automatic update from web-platform-tests Use simple rrect instead of Path for ClipPathClip if possible This can enable fast rounded corners and avoid mask layers in more cases. Bug: 40241108 Change-Id: Ie80a511446e8905ff5f6793213e9f244fa1bb09f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5464825 Reviewed-by: Khushal Sagar <khushalsagar@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1293880} -- wpt-commits: fd379c4717c024424f2be6b3e23938dd8ef5c326 wpt-pr: 45894
This commit is contained in:
Родитель
350b0527e9
Коммит
7d9842e8a7
|
@ -1,7 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
.container {
|
||||
position: fixed;
|
||||
width: 70px;
|
||||
height: 126px;
|
||||
background-color: green;
|
||||
|
|
|
@ -2,11 +2,10 @@
|
|||
<html class="reftest-wait">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-shapes-1/#basic-shape-interpolation">
|
||||
<link rel="match" href="clip-path-animation-fixed-position-rounding-error-ref.html">
|
||||
<meta name="fuzzy" content="maxDifference=0-64;totalPixels=0-400">
|
||||
<!--
|
||||
Test that clip paths on elements with position: fixed draw correctly,
|
||||
even in scenarios that involve partial pixels
|
||||
|
||||
Currently uses fuzzy diff because of crbug.com/1249071
|
||||
-->
|
||||
<style>
|
||||
.container {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<meta name=fuzzy content="0-10;0-150">
|
||||
<meta name=fuzzy content="0-60;0-350">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-shapes-1/#basic-shape-interpolation">
|
||||
<link rel="match" href="clip-path-animation-fixed-position-ref.html">
|
||||
<!--
|
||||
|
|
Загрузка…
Ссылка в новой задаче