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
22
tests/html/test_pseudo.html
Normal file
22
tests/html/test_pseudo.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
span.servo1:before { display:inline; content:'Hello'; color:blue}
|
||||
span.servo1:after { display:inline; content:'ervo'; color:blue}
|
||||
div.servo2:before { display:inline; content:'Hello'; color:blue}
|
||||
div.servo2:after { display:inline; content:'ervo'; color:blue}
|
||||
span.servo3:before { display:block; content:'Smile'; color:blue}
|
||||
span.servo3:after { display:block; content:'And thanks';}
|
||||
div.rust:before { display:block; content:'Hello,';}
|
||||
div.rust:after { display:inline; content:'ust';}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<span class="servo1">, S</span>
|
||||
<div class="servo2">, S</div>
|
||||
<span class="servo3">Servo</span>
|
||||
<div class="rust">R</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue