mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Implement <hr> element 'width' attribute
This commit is contained in:
parent
337066063a
commit
02a8e8dd16
8 changed files with 66 additions and 137 deletions
|
@ -0,0 +1,18 @@
|
|||
<style>
|
||||
.hr {
|
||||
color: gray;
|
||||
border-style: inset;
|
||||
border-width: 1px;
|
||||
margin: 0.5em auto;
|
||||
}
|
||||
</style>
|
||||
<div class=hr></div>
|
||||
<div class=hr style="width: 50%"></div>
|
||||
<div class=hr style="width: 100px"></div>
|
||||
<div class=hr style="width: 100px"></div>
|
||||
<div class=hr style="width: 100px"></div>
|
||||
<div class=hr style="width: 0%"></div>
|
||||
<div class=hr style="width: 0%"></div>
|
||||
<div class=hr style="width: 0%"></div>
|
||||
<div class=hr style="width: 0%"></div>
|
||||
<div class=hr></div>
|
|
@ -0,0 +1,14 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title></title>
|
||||
<link rel="match" href="width-ref.html">
|
||||
<hr>
|
||||
<hr width='50%'>
|
||||
<hr width='100'>
|
||||
<hr width='100foo'>
|
||||
<hr width=' 100 '>
|
||||
<hr width='0'>
|
||||
<hr width='00'>
|
||||
<hr width='+0'>
|
||||
<hr width='+00'>
|
||||
<hr width='++0'>
|
Loading…
Add table
Add a link
Reference in a new issue