| /** Changes the result text font size. */ |
| document.getElementById("result").firstChild.setAttribute("style","font-size: 16\\70\r\nx;"); |
| if (window.layoutTestController) |
| layoutTestController.dumpAsText(); |
| if (document.getElementById("result").firstChild.style.fontSize === document.getElementById("expected").firstChild.style.fontSize) |
| document.getElementById("message").firstChild.data = "SUCCESS"; |
| document.getElementById("message").firstChild.data = "FAILURE"; |
| <body onload="runTest()"> |
| <p>Test parsing of CSS '\r\n' newline characters.</p> |
| <p id="message">TEST DID NOT COMPLETE</p> |
| <p>Rules from the stylesheet:</p> |
| <p style="font-size: 12px;">Font size is 16px.</p> |
| <p style="font-size: 16px;">Font size is 16px.</p> |