summary refs log tree commit diff stats
path: root/build_all.bat
Commit message (Expand)AuthorAgeFilesLines
* Build compiler with --noNimblePath (#20168)Ivan Yonchovski2022-08-091-1/+1
* fix compilation on Debian 7 (no git -C) (#18427)Andrey Makarov2021-07-061-1/+1
* reuse config/build_config.txt for all bootstrap scripts (posix + windows + ci...Timothee Cour2021-05-011-13/+22
* refactor all code that builds csources (#17815)Timothee Cour2021-04-231-3/+6
* isolate the build process from external config files (#13411)Ștefan Talpalaru2020-02-141-2/+3
* Easier build instructions for windows - just run `build_all.bat`. (#12276)treeform2019-10-081-0/+16
a id='n61' href='#n61'>61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101




































































































                                                                                                     
<!DOCTYPE html>
<html lang="en">
<head>
<title>document.write test</title>
<script>
window.onload = function() {
	const success = document.body.innerHTML == document.querySelector("style").textContent;
	while (document.body.childNodes[0])
		document.body.childNodes[0].remove();
	document.body.innerHTML = success ? "Success" : "Fail";
}
let checkpointCounter = 0;
function checkpoint(n) {
	if (++checkpointCounter != n)
		throw new TypeError(`Checkpoint failed: expected ${n} but got ${checkpointCounter}`);
}
</script>
<style><h1>Main title</h1>


<p>Text.</p>
<script>
document.write(`<h2>Subtitle</h2>
<script>
checkpoint(1);
</scr` + `ipt>
`);

checkpoint(2);

document.write(`
<script>
checkpoint(3);
document.write(
'<p>before subtext</p>\\n' +
'<script>\\n' +
'checkpoint(4);\\n' +
'document.write("third nest");\\n' +
'</scr' + 'ipt>\\n'
);
</scr` + `ipt>
<p>fin</p>
`);
</script><h2>Subtitle</h2>
<script>
checkpoint(1);
</script>

<script>
checkpoint(3);
document.write(
'<p>before subtext</p>\n' +
'<script>\n' +
'checkpoint(4);\n' +
'document.write("third nest");\n' +
'</scr' + 'ipt>\n'
);
</script><p>before subtext</p>
<script>
checkpoint(4);
document.write("third nest");
</script>third nest

<p>fin</p>

<p>Subtext.</p>


</style>
<script>
document.write("<h1>Main title</h1>");
</script>
</head>
<body>
<p>Text.</p>
<script>
document.write(`<h2>Subtitle</h2>
<script>
checkpoint(1);
</scr` + `ipt>
`);

checkpoint(2);

document.write(`
<script>
checkpoint(3);
document.write(
'<p>before subtext</p>\\n' +
'<script>\\n' +
'checkpoint(4);\\n' +
'document.write("third nest");\\n' +
'</scr' + 'ipt>\\n'
);
</scr` + `ipt>
<p>fin</p>
`);
</script>
<p>Subtext.</p>
</body>
</html>