1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-22 10:26:20 +00:00

add two more mhtml tests

* test/manual/indent/html-multi-2.html: New file.
* test/manual/indent/html-multi-3.html: New file.
This commit is contained in:
Tom Tromey 2017-04-05 15:55:22 -06:00
parent 59409f409d
commit 04a5ce0b65
2 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<title>test</title>
<!--
<script>
// No indent in a comment
if (true) {
do not change;
}
</script>
-->
<style type="text/css">
h1 {
font-family: 'Spinnaker', sans-serif;
}
</style>
<script>
var a = 4 < 5;
function() {
if (x > 75)
return 25;
return "hello";
}
</script>
</head>
<body>
</body>
<!--
Local Variables:
mhtml-tag-relative-indent: nil
End:
-->
</html>

View File

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>
<title>test</title>
<!--
<script>
// No indent in a comment
if (true) {
do not change;
}
</script>
-->
<style type="text/css">
h1 {
font-family: 'Spinnaker', sans-serif;
}
</style>
<script>
var a = 4 < 5;
function() {
if (x > 75)
return 25;
return "hello";
}
</script>
</head>
<body>
</body>
<!--
Local Variables:
mhtml-tag-relative-indent: ignore
End:
-->
</html>