diff --git a/androidsvg/src/main/java/com/caverock/androidsvg/CSSParser.java b/androidsvg/src/main/java/com/caverock/androidsvg/CSSParser.java
index <HASH>..<HASH> 100644
--- a/androidsvg/src/main/java/com/caverock/androidsvg/CSSParser.java
+++ b/androidsvg/src/main/java/com/caverock/androidsvg/CSSParser.java
@@ -1118,6 +1118,8 @@ class CSSParser
    // Returns true if 'deviceMediaType' matches one of the media types in 'mediaList'
    private static boolean mediaMatches(List<MediaType> mediaList, MediaType rendererMediaType)
    {
+      if (mediaList.size() == 0) // No specific media specified, so match all
+         return true;
       for (MediaType type: mediaList) {
          if (type == MediaType.all || type == rendererMediaType)
             return true;
Issue #<I>. Fixed problem where CSS @import was failing if you didn't supply a media type.