layout/reftests/css-import/290018-1.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 <!DOCTYPE html>
michael@0 2 <body>
michael@0 3 <iframe></iframe>
michael@0 4 <script>
michael@0 5 var win = window.frames[0];
michael@0 6 win.document.open();
michael@0 7 win.document.write("<!DOCTYPE html><html><head></head><body></body></html>");
michael@0 8 win.document.close();
michael@0 9 win.document.body.innerHTML = "<link rel='stylesheet' type='text/css' href='outer-sheet.css' />";
michael@0 10 win.document.body.innerHTML += "<p style='padding:2px'>test</p>";
michael@0 11 </script>
michael@0 12 </body>
michael@0 13

mercurial