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

Side by Side Diff: LayoutTests/svg/custom/viewport-clippath-invalidation.html

Issue 1111223002: Invalidate ancestor resources in when relative lengths change (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test. Created 5 years, 7 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 <script src=../../resources/run-after-display.js></script>
3 <svg width="100" height="100">
4 <clipPath id="clip">
5 <rect width="50%" height="50%"/>
6 <text y="25%" font-size="1px">Sabotage!</text>
7 </clipPath>
8
9 <rect width="50%" height="50%" fill="red"/>
10 <rect width="800" height="800" fill="green" clip-path="url(#clip)"/>
11 </svg>
12 <script>
13 runAfterDisplay(function() {
14 document.querySelector('svg').setAttribute('width', '200');
15 document.querySelector('svg').setAttribute('height', '200');
16 }, true);
17 </script>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/custom/viewport-clippath-invalidation-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698