OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <meta http-equiv="Content-Type" content="text/html;charset=shift-jis"> | |
4 <!-- "?shift-jis" works around Bug 22952 when run after test-css-url-encoding-ut
f-8.html --> | |
5 <link rel="stylesheet" type="text/css" href="resources/test-no-charset.css?shift
-jis"> | |
6 <link rel="stylesheet" type="text/css" href="resources/test-shift-jis.css"> | |
7 <link rel="stylesheet" type="text/css" href="resources/test-utf-8.css"> | |
8 <script> | |
9 if (window.testRunner) | |
10 testRunner.dumpDOMAsWebArchive(); | |
11 </script> | |
12 </head> | |
13 <body> | |
14 <div> | |
15 Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=11850">Bug 11850: | |
16 Webarchive fails to save images referenced in CSS</a> | |
17 </div> | |
18 <div><p>This test makes sure that the URL in the shift-jis encoded CSS file is e
ncoded properly in the webarchive.</p></div> | |
19 <div>Expected <tt>?img-src-shift-jis-%88%9F</tt> query string for <img> ta
g with shift-jis document charset: <div class="styled"><img src="resources/apple
.gif?img-src-shift-jis-"></div></div> | |
20 <div>Expected <tt>?css-url-no-charset-%88%9F</tt> query string for CSS url() wit
h no CSS charset: <div class="styled background-no-charset"></div></div> | |
21 <div>Expected <tt>?css-url-shift-jis-%88%9F</tt> query string for CSS url() with
shift-jis CSS charset: <div class="styled background-shift-jis"></div></div> | |
22 <div>Expected <tt>?css-url-utf-8-%E4%BA%9C</tt> query string for CSS url() with
utf-8 CSS charset: <div class="styled background-utf-8"></div></div> | |
23 </body> | |
24 </html> | |
OLD | NEW |