mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
layout: Implement text-shadow
per CSS-TEXT-DECORATION-3 § 4.
This commit is contained in:
parent
fed878710c
commit
09358b908d
19 changed files with 683 additions and 152 deletions
22
tests/ref/text_shadow_simple_a.html
Normal file
22
tests/ref/text_shadow_simple_a.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!--
|
||||
Tests that `text-shadow` works with multiple unblurred shadows in the right order with the
|
||||
right offsets.
|
||||
-->
|
||||
<link rel="stylesheet" type="text/css" href="css/ahem.css">
|
||||
<style>
|
||||
section {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 500px;
|
||||
height: 500px;
|
||||
color: green;
|
||||
text-shadow: 20px 10px blue, 30px 40px red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body><section>X</section></body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue