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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-svg-invalidate-children-2.html

Issue 2511353002: Repaint SVG subtree on viewport changes (resize) (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-svg-invalidate-children-2-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/testharness.js"></script>
3 <script src="../../../resources/testharnessreport.js"></script>
4 <script src="../resources/text-based-repaint.js"></script>
5 <script>
6 // When resizing the div that contains SVG, the SVG root element and rect resize
7 // accordingly.
8 // It's necessary to invalidate the rect in this case.
9 window.expectedObjectInvalidations.push("LayoutSVGRect rect");
10 window.outputRepaintRects = false;
11
12 function repaintTest() {
13 target.style.width = "600px";
14 };
15 onload = runRepaintTest;
16 </script>
17 <div id="target" style="width: 200px; height: 400px">
18 <svg width='500' height='400' viewBox='0 0 500 400'
19 style='width: 100%; height: 100%; transform: translateZ(0)'>
20 <rect width='500' height='400' fill='green'/>
21 </svg>
22 </div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-svg-invalidate-children-2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698