Skip to content

Commit

Permalink
Update fuzziness in imported/ for accelerated drawing
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=246895
rdar://101450189

Reviewed by Simon Fraser.

Update fuzziness in imported/ for when accelerated drawing is turned on by default.

* LayoutTests/imported/blink/compositing/will-change/stacking-context-creation.html:
* LayoutTests/imported/blink/css3/blending/mix-blend-mode-with-squashing-layer.html:
* LayoutTests/imported/mozilla/svg/linearGradient-basic-03.svg:
* LayoutTests/imported/mozilla/svg/marker-orientation-01.svg:
* LayoutTests/imported/mozilla/svg/opacity-and-gradient-02.svg:
* LayoutTests/imported/mozilla/svg/rect-02.svg:
* LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-repeat-space-6.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-size-025.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-backgrounds/background-size-027.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-012.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-014.html:

Canonical link: https://commits.webkit.org/255978@main
  • Loading branch information
nmoucht committed Oct 25, 2022
1 parent 25faabf commit 3b72ff8
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 4 deletions.
3 changes: 3 additions & 0 deletions LayoutTests/TestExpectations
Expand Up @@ -6034,6 +6034,9 @@ imported/w3c/web-platform-tests/css/css-ui/compute-kind-widget-generated/kind-of
imported/w3c/web-platform-tests/css/css-ui/compute-kind-widget-generated/kind-of-widget-fallback-textarea-border-top-style-001.html [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-ui/compute-kind-widget-generated/kind-of-widget-fallback-textarea-border-top-width-001.html [ ImageOnlyFailure ]

# webkit.org/b/246976 This test renders incorrectly after enabling accelerated drawing
imported/mozilla/svg/blend-color-burn.svg [ Pass ImageOnlyFailure ]

webkit.org/b/233267 imported/w3c/web-platform-tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_window_open_download_block_downloads.tentative.html [ Pass Failure ]

# Flaky because of network ordering
Expand Down
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta name="fuzzy" content="maxDifference=0-5; totalPixels=0-1000" />
<style>
.shouldStack {
position: absolute;
Expand Down
@@ -1,5 +1,5 @@
<!DOCTYPE HTML>

<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-10" />
<style>
.box {
height: 100px;
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions LayoutTests/imported/mozilla/svg/marker-orientation-01.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion LayoutTests/imported/mozilla/svg/rect-02.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Expand Up @@ -8,7 +8,7 @@
<link rel="help" href="https://www.w3.org/TR/css3-background/#background-repeat">
<link rel="match" href="background-repeat-space-6-ref.html">
<meta name="assert" content="Test checks whether background-repeat: 'round space' works correctly or not.">
<meta name="fuzzy" content="maxDifference=0-48; totalPixels=0-15880">
<meta name="fuzzy" content="maxDifference=0-48; totalPixels=0-16880">
<style type="text/css">
.outer {
width: 192px;
Expand Down
Expand Up @@ -9,6 +9,7 @@
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-repeat" title="3.4. Tiling Images: the 'background-repeat' property">
<link rel="match" href="reference/background-size-025-ref.xht">

<meta name="fuzzy" content="maxDifference=0-70; totalPixels=0-7294" />
<meta name="flags" content="image">
<meta name="assert" content="Check if 'background-size' is 'auto 61px' and 'background-repeat' is 'round', then the height of the corresponding background image is rounded (70px in this test) so that it fits a whole number of times (3 in this test) in the background positioning area, and the width of the background image is rescaled (70px in this test) to keep the original aspect ratio.">
<style>
Expand Down
Expand Up @@ -9,6 +9,8 @@

<script src="/common/reftest-wait.js"></script>

<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-234" />

<style>
#container {
width: 150px;
Expand Down
Expand Up @@ -9,6 +9,8 @@

<script src="/common/reftest-wait.js"></script>

<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-234" />

<style>
#container {
width: 150px;
Expand Down

0 comments on commit 3b72ff8

Please sign in to comment.