mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +01:00
layout: Mark the styles of elements with pseudos as unshareable.
Makes multiple `<br>` elements work, since those are implemented via `before` pseudos.
This commit is contained in:
parent
eff0de0ce1
commit
a0b369ae7d
6 changed files with 29 additions and 7 deletions
|
@ -167,3 +167,4 @@ fragment=top != ../html/acid2.html acid2_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
|
||||
== many_brs_a.html many_brs_ref.html
|
||||
|
|
6
tests/ref/many_brs_a.html
Normal file
6
tests/ref/many_brs_a.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
Cupcakes<br>are<br>supremely<br>delicious.
|
||||
</body>
|
||||
</html>
|
9
tests/ref/many_brs_ref.html
Normal file
9
tests/ref/many_brs_ref.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<div>Cupcakes</div>
|
||||
<div>are</div>
|
||||
<div>supremely</div>
|
||||
<div>delicious.</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue