Commit 4d42e3d1 authored by Julie Jeongeun Kim's avatar Julie Jeongeun Kim Committed by Commit Bot

[css-filters] Move empty-element-with-filter.html to WPT

This CL migrates 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: I4feaf0826305ff4787c59c8622fe7f5a9400c9db
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2134757
Commit-Queue: Julie Kim <jkim@igalia.com>
Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756580}
parent d8e1b9d0
<!DOCTYPE html>
<title>CSS Filter Effects: filters on elements that otherwise have no visible content</title>
<link rel="help" href="https://drafts.fxtf.org/filter-effects/#FilterProperty">
<link rel="match" href="reference/empty-element-with-filter-ref.html">
<meta name="assert" content="This test ensures we properly render filters on elements that otherwise have no visible content.">
<style>
.turbulent {
width: 160px;
height: 90px;
margin: 10px;
filter: url(#turbulence);
filter: url(#turbulence);
}
.visibleContent {
......@@ -15,8 +18,7 @@
<div class="turbulent visibleContent"></div>
<div class="turbulent"></div>
This test ensures we properly render filters on elements that otherwise have
no visible content. This test passes if both divs look the same.
This test passes if both divs look the same.
<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1">
<defs>
......
......@@ -5,7 +5,6 @@
height: 90px;
margin: 10px;
filter: url(#turbulence);
filter: url(#turbulence);
}
.visibleContent {
......@@ -15,8 +14,7 @@
<div class="turbulent"></div>
<div class="turbulent visibleContent"></div>
This test ensures we properly render filters on elements that otherwise have
no visible content. This test passes if both divs look the same.
This test passes if both divs look the same.
<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1">
<defs>
......
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