mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
layout: white_space::pre
should not yield ignorable whitespace.
Improves the Google home page.
This commit is contained in:
parent
543f11b62b
commit
d30762bb9f
5 changed files with 28 additions and 5 deletions
|
@ -165,3 +165,4 @@ fragment=top != ../html/acid2.html acid2_ref.html
|
|||
== inline_hypothetical_box_a.html inline_hypothetical_box_ref.html
|
||||
== box_sizing_border_box_a.html box_sizing_border_box_ref.html
|
||||
!= input_height_a.html input_height_ref.html
|
||||
== pre_ignorable_whitespace_a.html pre_ignorable_whitespace_ref.html
|
||||
|
|
7
tests/ref/pre_ignorable_whitespace_a.html
Normal file
7
tests/ref/pre_ignorable_whitespace_a.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<span style="background: yellow; white-space: pre">yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<span> </span></span>
|
||||
</body>
|
||||
</html>
|
||||
|
7
tests/ref/pre_ignorable_whitespace_ref.html
Normal file
7
tests/ref/pre_ignorable_whitespace_ref.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<span style="background: yellow">yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa<span style="white-space: pre"> </span></span>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue