mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Make util::str::parse_length work with floats
This commit is contained in:
parent
02a8e8dd16
commit
30ea772939
4 changed files with 4 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
|||
<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: 100.99px"></div>
|
||||
<div class=hr style="width: 0%"></div>
|
||||
<div class=hr style="width: 0%"></div>
|
||||
<div class=hr style="width: 0%"></div>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<hr width='100'>
|
||||
<hr width='100foo'>
|
||||
<hr width=' 100 '>
|
||||
<hr width='100.99'>
|
||||
<hr width='0'>
|
||||
<hr width='00'>
|
||||
<hr width='+0'>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue