mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add ref tests for #7558
This commit is contained in:
parent
c2db10217c
commit
7d3a712b3a
4 changed files with 33 additions and 0 deletions
|
@ -319,6 +319,8 @@ device-pixel-ratio=2 != pixel_snapping_border_a.html pixel_snapping_border_ref.h
|
|||
== pseudo_inherit.html pseudo_inherit_ref.html
|
||||
== quotes_none_a.html quotes_none_ref.html
|
||||
== quotes_simple_a.html quotes_simple_ref.html
|
||||
== root_display_inline_a.html root_display_ref.html
|
||||
== root_display_without_style_a.html root_display_ref.html
|
||||
== root_height_a.html root_height_b.html
|
||||
== root_margin_collapse_a.html root_margin_collapse_b.html
|
||||
== root_pseudo_a.html root_pseudo_b.html
|
||||
|
|
8
tests/ref/root_display_inline_a.html
Normal file
8
tests/ref/root_display_inline_a.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html style="display:inline">
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
Hello world!
|
||||
</body>
|
||||
</html>
|
8
tests/ref/root_display_ref.html
Normal file
8
tests/ref/root_display_ref.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body>
|
||||
Hello world!
|
||||
</body>
|
||||
</html>
|
15
tests/ref/root_display_without_style_a.html
Normal file
15
tests/ref/root_display_without_style_a.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
document.removeChild(document.documentElement);
|
||||
root = document.createElementNS(null, "html");
|
||||
body = document.createElement("body");
|
||||
body.appendChild(document.createTextNode("Hello world!"));
|
||||
root.appendChild(body);
|
||||
document.appendChild(root);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue