Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: LayoutTests/css3/filters/empty-element-with-filter-expected.html

Issue 924533006: Don't remove empty display item pairs that draw content (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #turbulent {
4 width: 160px;
5 height: 90px;
6 -webkit-filter: url(#turbulence);
7 filter: url(#turbulence);
8
9 /* Make the div have visible content without the filter. */
Stephen Chennney 2015/02/19 16:13:27 This comment confused me, but that's because the t
ajuma 2015/02/19 17:36:51 Done.
10 background-color: red;
11 }
12 </style>
13 <div id="turbulent"></div>
14
15 This test ensures we properly render filters on elements that otherwise have
16 no visible content.
17
18 <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1">
19 <defs>
20 <filter id="turbulence" color-interpolation-filters="sRGB">
21 <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2"/>
22 </filter>
23 </defs>
24 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698