Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
|
kouhei (in TOK)
2017/04/28 03:50:50
Please modify this test so that it will fit in exp
Raj
2017/04/28 18:01:21
Done.
| |
| 2 <body> | |
| 3 <!-- This test verifies if placeholder image is shown, instead of the original image. --> | |
| 4 <div id="placeholder"></div> | |
| 5 <br/> | |
| 6 <div id="placeholder_content_image_data"></div> | |
| 7 <br/> | |
| 8 <div id="placeholder_webkit_box_reflect"></div> | |
| 9 <script> | |
| 10 //window.internals.settings.setFetchImagePlaceholders(true); | |
|
kouhei (in TOK)
2017/04/28 03:50:50
this needs to be un-comment out?
Raj
2017/04/28 18:01:21
Yes. That was a mistake.
| |
| 11 document.getElementById("placeholder").innerHTML = '<img src="https://127.0. 0.1:8443/resources/square200.png">' | |
| 12 | |
| 13 document.getElementById("placeholder_webkit_box_reflect").innerHTML = | |
| 14 '<img src="https://127.0.0.1:8443/resources/square200.png" style="-webki t-box-reflect: below">' | |
| 15 | |
| 16 document.getElementById("placeholder_content_image_data").innerHTML = | |
| 17 '<div class="class_content_image_data"></div> \ | |
| 18 <style> \ | |
| 19 .class_content_image_data::before { \ | |
| 20 content: url("https://127.0.0.1:8443/resources/square200.png"); \ | |
| 21 } \ | |
| 22 </style>' | |
| 23 </script> | |
| 24 </body> | |
| 25 | |
| OLD | NEW |