Permalink
Browse files

Add explicit border style to work with Firefox 15

  • Loading branch information...
1 parent dc04823 commit 7d567a13f843ae1e557d0f629eb29057d6953fc8 @thenbrent thenbrent committed Sep 25, 2012
Showing with 3 additions and 1 deletion.
  1. +2 −1 border-image-generator.js
  2. +1 −0 css/border-image-generator.css
@@ -113,7 +113,8 @@ $(document).ready(function() {
borderImage = img + " " + joinValues(imageOffset);
borderWidthStr = joinValues(borderWidth, "px ") + "px";
- style = "border-width: " + borderWidthStr + ";\n"
+ style = "border-style: solid;\n"
+ + "border-width: " + borderWidthStr + ";\n"
+ "-moz-border-image: " + borderImage + repeatStr + ";\n"
+ "-webkit-border-image: " + borderImage + repeatStr + ";\n"
+ "-o-border-image: " + borderImage + repeatStr + ";\n"
@@ -36,6 +36,7 @@
#cssEl {
white-space: pre;
+ border-style: solid;
}
#editorEl {

0 comments on commit 7d567a1

Please sign in to comment.