mirror of
https://github.com/servo/servo.git
synced 2025-08-10 07:55:33 +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
15
tests/ref/text_shadow_blur_a.html
Normal file
15
tests/ref/text_shadow_blur_a.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that `text-shadow` mirrors `box-shadow` in the way that it blurs. -->
|
||||
<link rel="stylesheet" type="text/css" href="css/ahem.css">
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
color: red;
|
||||
text-shadow: blue 10px 10px 5px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>X</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue