mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +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
34
tests/ref/text_shadow_multiple_shadows_ref.html
Normal file
34
tests/ref/text_shadow_multiple_shadows_ref.html
Normal file
|
@ -0,0 +1,34 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that multiple `text-shadow`s paint in the right order. -->
|
||||
<style>
|
||||
section {
|
||||
position: absolute;
|
||||
width: 300px;
|
||||
font-size: 96px;
|
||||
}
|
||||
#a {
|
||||
top: 100px;
|
||||
left: 100px;
|
||||
color: red;
|
||||
}
|
||||
#b {
|
||||
top: 106px;
|
||||
left: 106px;
|
||||
color: black;
|
||||
}
|
||||
#c {
|
||||
top: 112px;
|
||||
left: 112px;
|
||||
color: blue;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section id=c>Foo</section>
|
||||
<section id=b>Foo</section>
|
||||
<section id=a>Foo</section>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue