Index: third_party/WebKit/LayoutTests/mhtml/cid_in_html_resource.html |
diff --git a/third_party/WebKit/LayoutTests/mhtml/cid_in_html_resource.html b/third_party/WebKit/LayoutTests/mhtml/cid_in_html_resource.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..eb4adce93b299b8f37b183381560acd7272ffdf4 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/mhtml/cid_in_html_resource.html |
@@ -0,0 +1,24 @@ |
+<head> |
+ <script> |
+ if (window.testRunner) |
+ window.testRunner.dumpAsText(); |
+ </script> |
+ <link rel="stylesheet" type="text/css" href="cid:xxxxxx"> |
+ <style type="text/css"> |
+ @font-face { |
+ font-family: "My Custom Font"; |
+ src: url(cid:xxxxxx) format("truetype"); |
+ } |
+ body { |
+ font-family: "My Custom Font", Verdana, Tahoma; |
+ } |
+ </style> |
+</head> |
+<body> |
+ <script src="cid:xxxxxx"></script> |
+ <img href="cid:xxxxxx"></img> |
+ <p> |
+ No Content-ID url are expected outside of an MHTML document. |
+ The document should load without crashing. |
+ </p> |
+</body> |