forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[css-filters] Move backdrop-filter-rendering-no-background.html to WPT
Migrate this test out of third_party/blink/web_tests/css3/filters and into the WPT-specific directory, adding links to the relevant specs and a test assertion describing its purpose. Bug: 1063749 Change-Id: Ide9135764534d061d777e3e7f88936a8b768dc63 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132201 Commit-Queue: Mario Sanchez Prada <mario@igalia.com> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#756291}
- Loading branch information
Showing
3 changed files
with
39 additions
and
34 deletions.
There are no files selected for viewing
30 changes: 0 additions & 30 deletions
30
third_party/blink/web_tests/css3/filters/backdrop-filter-rendering-no-background.html
This file was deleted.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
...party/blink/web_tests/external/wpt/css/filter-effects/backdrop-filters-grayscale-003.html
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,37 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>CSS Backdrop Filters: Grayscale(100%) with no background</title> | ||
<link rel="author" title="Jay Dasika" href="mailto:jaydasika@chromium.org"> | ||
<link rel="help" href="https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty"> | ||
<link rel="help" href="https://drafts.fxtf.org/filter-effects-1/#supported-filter-functions"> | ||
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=527452"> | ||
<link rel="match" href="reference/backdrop-filters-grayscale-003-ref.html"> | ||
<meta name="assert" content="Check that backdrop-filter works with grayscale(100%) and no background."/> | ||
|
||
<style> | ||
div { | ||
width: 100px; | ||
height: 100px; | ||
position: absolute; | ||
} | ||
|
||
.background_object { | ||
left: 10px; | ||
top: 10px; | ||
background: orange; | ||
} | ||
|
||
.grayscale_backdrop { | ||
left: 60px; | ||
top: 60px; | ||
backdrop-filter: grayscale(100%); | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div class="background_object"></div> | ||
<div class="grayscale_backdrop"></div> | ||
</body> | ||
</html> |
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