Skip to content

Commit

Permalink
Clamp ranges to ensure Firefox always shows 0 value. Fix #4.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Ashworth committed Jan 30, 2013
1 parent 2c9835c commit f925b30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions line.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions test.html
Expand Up @@ -35,6 +35,9 @@ <h3>object</h3>
<h3>embed (w. type)</h3>
<embed src="line.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0" type="image/svg+xml">

<h3>embed (w. type)</h3>
<embed src="line.svg?50,0,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50" type="image/svg+xml">

<h3>embed + rgba</h3>
<embed src="line.svg?40,10,7,10,8,3,5,10,4,0,-3,-6,-4,2,7,8,10,14,10,8,9,7,3,0,0,4,7,10,8,12,5,10,4,0,-3,-6,-4,2,7,8,10,14,25,16,9,7,3,0&rgba:255,100,0,1" type="image/svg+xml">

Expand Down

0 comments on commit f925b30

Please sign in to comment.