| Index: LayoutTests/http/tests/misc/single-character-pi-stylesheet.xhtml
|
| diff --git a/LayoutTests/http/tests/misc/single-character-pi-stylesheet.xhtml b/LayoutTests/http/tests/misc/single-character-pi-stylesheet.xhtml
|
| index aa2895ab309ff98d704def6fb0e17b6827682076..16e7960958d0c811fc41c7fbfff924b28020da35 100644
|
| --- a/LayoutTests/http/tests/misc/single-character-pi-stylesheet.xhtml
|
| +++ b/LayoutTests/http/tests/misc/single-character-pi-stylesheet.xhtml
|
| @@ -1,24 +1,24 @@
|
| -<?xml-stylesheet href="a" type="text/css"?>
|
| -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
| -<html xmlns="http://www.w3.org/1999/xhtml">
|
| -<head></head>
|
| -<body onload="test()">
|
| -<p>
|
| -This text should be styled green.
|
| -</p>
|
| -<script>
|
| -if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| -
|
| -if (!document.firstChild.data.match(/href="a"/))
|
| - alert("Please don't rename the stylesheet - the test needs its URL to be single character");
|
| -
|
| -function test()
|
| -{
|
| - if (document.firstChild.sheet.cssRules.length)
|
| - document.getElementsByTagName("p")[0].innerHTML += " PASS.";
|
| -}
|
| -
|
| -</script>
|
| -</body>
|
| -</html>
|
| +<?xml-stylesheet href="a" type="text/css"?>
|
| +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
| +<html xmlns="http://www.w3.org/1999/xhtml">
|
| +<head></head>
|
| +<body onload="test()">
|
| +<p>
|
| +This text should be styled green.
|
| +</p>
|
| +<script>
|
| +if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| +if (!document.firstChild.data.match(/href="a"/))
|
| + alert("Please don't rename the stylesheet - the test needs its URL to be single character");
|
| +
|
| +function test()
|
| +{
|
| + if (document.firstChild.sheet.cssRules.length)
|
| + document.getElementsByTagName("p")[0].innerHTML += " PASS.";
|
| +}
|
| +
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|