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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/text/removing-id-on-path.html

Issue 1812493002: If add 'id' on pending SVG resource references does not work for non-resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <svg>
3 <path id="path" d="M0,20h100" fill="none"/>
4 <text><textPath xlink:href="#path">FAIL</textPath></text>
5 </svg>
2 <script src="../../resources/run-after-layout-and-paint.js"></script> 6 <script src="../../resources/run-after-layout-and-paint.js"></script>
3 <svg>
4 <rect width="100" height="100" fill="green" style="transform: translate(100px, 100px)"/>
5 </svg>
6 <script> 7 <script>
7 runAfterLayoutAndPaint(function() { 8 runAfterLayoutAndPaint(function() {
8 document.querySelector('rect').style.transform = 'none'; 9 document.querySelector('path').id = '';
9 }, true); 10 }, true);
10 </script> 11 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698