mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
27
tests/content/test_htmlspacechars.html
Normal file
27
tests/content/test_htmlspacechars.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script src="harness.js"></script>
|
||||
<script>
|
||||
is(document.getElementsByClassName("foo").length, 6);
|
||||
is_not(document.getElementById("bar").className, "ggg foo");
|
||||
finish();
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- \u0020 Space -->
|
||||
<div id="foo-1" class="aaa foo"></div>
|
||||
<!-- \u0009 Character tabulation -->
|
||||
<div id="foo-2" class="bbb	foo"></div>
|
||||
<!-- \u000a Line feed -->
|
||||
<div id="foo-3" class="ccc foo"></div>
|
||||
<!-- \u000c Form feed -->
|
||||
<div id="foo-4" class="dddfoo"></div>
|
||||
<!-- \u000d Carriage return -->
|
||||
<div id="foo-5" class="eee foo"></div>
|
||||
<!-- Space -->
|
||||
<div id="foo-6" class="fff foo"></div>
|
||||
<!-- Non-HTML space character -->
|
||||
<div id="bar" class="gggfoo"></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue