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

Unified Diff: third_party/WebKit/Source/web/tests/data/mhtml/shadow.mht

Issue 2912213002: Support serializing shadow DOM to MHTML (Closed)
Patch Set: Strip anoter shadow attribute Created 3 years, 6 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
« no previous file with comments | « third_party/WebKit/Source/web/tests/data/mhtml/page_with_javascript.mht ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/data/mhtml/shadow.mht
diff --git a/third_party/WebKit/Source/web/tests/data/mhtml/shadow.mht b/third_party/WebKit/Source/web/tests/data/mhtml/shadow.mht
new file mode 100644
index 0000000000000000000000000000000000000000..8669bcd787b51bddf8b614afd139e27dd0aad17f
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/mhtml/shadow.mht
@@ -0,0 +1,40 @@
+From: <Saved by UnMHT>
+Subject: =?iso-2022-jp?B?QSBzaW1wbGUgcGFnZQ==?=
+Date: Wed, May 11 2011 15:36:36 GMT-0700
+MIME-Version: 1.0
+Content-Type: multipart/related;
+ boundary="----=_NextPart_000_0000_87206557.D2C008B0";
+ type="text/html"
+
+------=_NextPart_000_0000_87206557.D2C008B0
+Content-Type: text/html; charset="ISO-8859-1"
+Content-Transfer-Encoding: quoted-printable
+Content-Location: http://localhost/shadow.html
+
+<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
+=3Diso-8859-1">
+
+
+<title>A page with shadow DOM content</title>
+<h1>This page has shadow DOM content</h1>
+
+<p id=3D"h1">
+ <template shadowmode=3D"v0">V0</template>
+</p>
+<div id=3D"h2">
+ <template shadowmode=3D"open" shadowdelegatesfocus=3D"">Parent
+ <p id=3D"h3">
+ <template shadowmode=3D"closed">Nested</template>
+ </p>
+ </template>
+</div>
+<div id=3D"h4">
+ <template shadowmode=3D"open">
+ <span id='s1'>Foo</span>
+ <script>document.getElementById('s1').innerHTML=3D"<span id='s2'>Bar</span>";
+ </script>
+ </template>
+</div>
+
+</body></html>
+------=_NextPart_000_0000_87206557.D2C008B0--
« no previous file with comments | « third_party/WebKit/Source/web/tests/data/mhtml/page_with_javascript.mht ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698