1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/editor/reftests/388980-1-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +<html> 1.5 +<head> 1.6 +<title>Reftest for bug 388980</title></html> 1.7 +<script type="text/javascript"> 1.8 + 1.9 +var text = '<html><head></head><body style="font-size:16px;">' 1.10 + + '<p><span style="background-color:red;">This paragraph should be red</span></p>' 1.11 + + '<p><span style="background-color:blue;">This paragraph should be blue</span></p>' 1.12 + + '<p>This paragraph should not be colored</p>' 1.13 + + '</body></html>'; 1.14 + 1.15 +function initIFrame() { 1.16 + var doc = document.getElementById('theIFrame').contentDocument; 1.17 + doc.designMode = 'on'; 1.18 + doc.open('text/html'); 1.19 + doc.write(text); 1.20 + doc.close(); 1.21 +} 1.22 +</script> 1.23 +</head> 1.24 +<body onload="initIFrame()" > 1.25 +<iframe id="theIFrame"> 1.26 +</iframe> 1.27 +</body> 1.28 +</html>