Mozilla Bug 511909

    default style

This line should be pink
This line should be green
This line should be blue

    @-moz-document {...}

This line should be pink

    @media screen {...}

This line should be green

    @-moz-document {
       @media screen {...}
    }

This line should be blue

    @media print {
      @-moz-document regexp("not_this_url"),}
        #mx {
            color: pink;
        }
      }
    }

This line should be pink

    @-moz-document regexp("not_this_url"){
      @media print ,}
        #mxx {
          color: blue;
        }
      }
    }

This line should be blue

    @media screen {
      @-moz-documen {...}
    }

This line should be green

    @media screen {
      @-moz-document {
        @media screen {...}
      }
    }

This line should be blue