test for:fixed import of remote font file starting with //
authorPete Nelson <pete.nelson@mac.com>
Wed, 5 Jun 2013 13:01:55 +0000 (15:01 +0200)
committerPete Nelson <pete.nelson@mac.com>
Wed, 5 Jun 2013 13:01:55 +0000 (15:01 +0200)
test/unit-test.js

index bf29f0e..8d870c1 100644 (file)
@@ -766,6 +766,10 @@ title']",
       "@import url('https://pro.goalsmashers.com/test.css');",
       "@import url(https://pro.goalsmashers.com/test.css);"
     ],
+    'of a url starting with //': [
+      "@import url(//fonts.googleapis.com/css?family=Lato:400,700,400italic|Merriweather:400,700);",
+      "@import url(//fonts.googleapis.com/css?family=Lato:400,700,400italic|Merriweather:400,700);"
+    ],
     'of a directory': [
       "@import url(test/data/partials);",
       ""