<head>
<style>
</style>

<script>

/** Changes the result text font size. */
function runTest()
{
	document.getElementById("result").firstChild.setAttribute("style","font-size: 16\\70\r\nx;");

    if (window.testRunner)
        testRunner.dumpAsText();

    if (document.getElementById("result").firstChild.style.fontSize === document.getElementById("expected").firstChild.style.fontSize)
        document.getElementById("message").firstChild.data = "SUCCESS";
    else
        document.getElementById("message").firstChild.data = "FAILURE";
}

</script>

</head>

<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>

<pre id="result">
<p style="font-size: 12px;">Font size is 16px.</p>

</pre>

<p>Expected result:</p>

<pre id="expected">
<p style="font-size: 16px;">Font size is 16px.</p>

</pre>

<script>

</script>
</body>
