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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dom/getscreenctm-use-with-additional-translation.html

Issue 2853223002: getScreenCTM on <use> should not include the additional translation (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGElement.h » ('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 <title>getScreenCTM: &lt;use> additional translation not included</title>
3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script>
5 <svg>
6 <defs>
7 <rect id="r" width="100" height="100"/>
8 </defs>
9 <use href="#r" x="100" y="50" fill="blue"/>
10 </svg>
11 <script>
12 test(function() {
13 var m_use = document.querySelector('use').getScreenCTM();
14 var m_svg = document.querySelector('svg').getScreenCTM();
15 for (let prop of ['a', 'b', 'c', 'd', 'e', 'f'])
16 assert_equals(m_use[prop], m_svg[prop], prop);
17 });
18 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698