Files
tubestation/servo/tests/html/test_pseudo.html
Jack Moffitt 132ee35633 servo: Merge #3230 - Cargoify servo (from servo:cargoify)
Source-Repo: https://github.com/servo/servo
Source-Revision: b1305bb7d051f83850c51bb0da0ccc86a5e07922
2014-09-09 08:18:18 -06:00

23 lines
683 B
HTML

<!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>