mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
gfx: Implement box-shadow
per CSS-BACKGROUNDS.
This commit is contained in:
parent
1bc2c8a639
commit
3ba0abd8ff
21 changed files with 766 additions and 31 deletions
21
tests/ref/box_shadow_inset_parsing_ref.html
Normal file
21
tests/ref/box_shadow_inset_parsing_ref.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<head>
|
||||
<!-- Tests that box-shadow inset parsing quirks work properly. -->
|
||||
<style>
|
||||
section {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
top: 100px;
|
||||
left: 100px;
|
||||
border: solid black 1px;
|
||||
box-shadow: 0 0 1em gold inset;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section></section>
|
||||
</body>
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue