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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/local-url-reference-srcdoc.html

Issue 2174833002: Make fragment-only URLs always be document-local references (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove isExternal...; add additional test Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/svg/custom/local-url-reference-srcdoc.html
diff --git a/third_party/WebKit/LayoutTests/svg/custom/local-url-reference-srcdoc.html b/third_party/WebKit/LayoutTests/svg/custom/local-url-reference-srcdoc.html
new file mode 100644
index 0000000000000000000000000000000000000000..201ba10bb315b68e607bf045414f1d88dc4c80e5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/custom/local-url-reference-srcdoc.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<iframe srcdoc="
+ <!DOCTYPE html>
+ <style>body { margin: 0; }</style>
+ <svg xmlns='http://www.w3.org/2000/svg'>
+ <linearGradient id='gradient'>
+ <stop stop-color='green'/>
+ </linearGradient>
+ <rect width='100' height='100' fill='url(#gradient) red'/>
+ </svg>"
+ style="margin: 0; border: none" scrolling="no">
+</iframe>

Powered by Google App Engine
This is Rietveld 408576698