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
35
tests/ref/text_shadow_simple_ref.html
Normal file
35
tests/ref/text_shadow_simple_ref.html
Normal file
|
@ -0,0 +1,35 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!--
|
||||
Tests that `text-shadow` works with multiple unblurred shadows in the right order with the
|
||||
right offsets.
|
||||
-->
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
div {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: absolute;
|
||||
}
|
||||
#c {
|
||||
background: green;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
#b {
|
||||
background: blue;
|
||||
left: 20px;
|
||||
top: 10px;
|
||||
}
|
||||
#a {
|
||||
background: red;
|
||||
left: 30px;
|
||||
top: 40px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body><div id=a></div><div id=b></div><div id=c></div></body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue