mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
18
tests/ref/text_shadow_blur_ref.html
Normal file
18
tests/ref/text_shadow_blur_ref.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that `text-shadow` mirrors `box-shadow` in the way that it blurs. -->
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
section {
|
||||
background: red;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
box-shadow: blue 10px 10px 5px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body><section></section></body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue