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

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: Address review comments 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 margin: 10px;
7 -webkit-filter: url(#turbulence);
8 filter: url(#turbulence);
9 }
10
11 .visibleContent {
12 background-color: red;
13 }
14 </style>
15 <div class="turbulent"></div>
16 <div class="turbulent visibleContent"></div>
17
18 This test ensures we properly render filters on elements that otherwise have
19 no visible content. This test passes if both divs look the same.
20
21 <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1">
22 <defs>
23 <filter id="turbulence" color-interpolation-filters="sRGB">
24 <feTurbulence type="turbulence" baseFrequency="0.05" numOctaves="2"/>
25 </filter>
26 </defs>
27 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/css3/filters/empty-element-with-filter.html ('k') | Source/platform/graphics/paint/DisplayItem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698