Commit d5515e6c authored by Miyoung Shin's avatar Miyoung Shin Committed by Commit Bot

[css-filters] Migrate effect-reference-source-alpha-not-first.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, and renames it
to effect-reference-source-alpha-001.html.

Bug: 1063749
Change-Id: I43f149c9eb45cd83f739e50d2b8601446b0ec714
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2141555Reviewed-by: default avatarFredrik Söderquist <fs@opera.com>
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Cr-Commit-Position: refs/heads/master@{#757792}
parent 7f1b5314
<!DOCTYPE html> <!DOCTYPE html>
<html>
<title>CSS Filters: feMergeNode with SourceAlpha</title>
<link rel="author" title="Fredrik Söderquist" href="mailto:fs@opera.com">
<link rel="help" href="https://drafts.fxtf.org/filter-effects-1/#feMergeElement">
<link rel="help" href="https://drafts.fxtf.org/filter-effects-1/#attr-valuedef-in-sourcealpha">
<link rel="help" href="https://crbug.com/109224">
<link rel="match" href="reference/effect-reference-source-alpha-001-ref.html">
<meta name="assert" content="Check that SourceAlpha is correctly derived from SourceGraphic which is the output of the opacity(0) filter function which essentially sets all pixels to transparent."/>
<style> <style>
div { div {
position: absolute; position: absolute;
...@@ -11,9 +20,10 @@ div { ...@@ -11,9 +20,10 @@ div {
} }
</style> </style>
<div style="background-color: green"></div> <div style="background-color: green"></div>
<div id="test"></test> <div id="test">
<svg height="0"> <svg height="0">
<filter id="f"> <filter id="f">
<feMerge><feMergeNode in="SourceAlpha"></feMergeNode></feMerge> <feMerge><feMergeNode in="SourceAlpha"></feMergeNode></feMerge>
</filter> </filter>
</svg> </svg>
</div>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment