mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
layout: Implement outline-offset
per CSS-UI-3 § 5.5.
This commit is contained in:
parent
a88e668091
commit
af7cf26e76
6 changed files with 62 additions and 4 deletions
24
tests/ref/outline_offset_ref.html
Normal file
24
tests/ref/outline_offset_ref.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
}
|
||||
section {
|
||||
border: solid green 32px;
|
||||
width: 96px;
|
||||
}
|
||||
div {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: solid white 32px;
|
||||
background: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section><div></div></section>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue