mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement <hr> 'color' attribute
This commit is contained in:
parent
9bcae9a866
commit
ee0800abe9
9 changed files with 97 additions and 138 deletions
|
@ -0,0 +1,22 @@
|
|||
<!doctype html>
|
||||
<meta charset=utf-8>
|
||||
<style>
|
||||
.hr {
|
||||
color: gray;
|
||||
border-style: inset;
|
||||
border-width: 1px;
|
||||
margin: 0.5em auto;
|
||||
}
|
||||
|
||||
.green {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.no-inset {
|
||||
border-style: solid;
|
||||
}
|
||||
</style>
|
||||
<div class='hr'></div>
|
||||
<div class='hr no-inset'></div>
|
||||
<div class='hr no-inset'></div>
|
||||
<div class='hr green no-inset'></div>
|
|
@ -0,0 +1,7 @@
|
|||
<!doctype html>
|
||||
<meta charset=utf-8>
|
||||
<link rel=match href="color-ref.html">
|
||||
<hr>
|
||||
<hr color="">
|
||||
<hr color=transparent>
|
||||
<hr color=green>
|
Loading…
Add table
Add a link
Reference in a new issue