vendor/bundle/ruby/2.5.0/gems/sass-3.7.2/lib/sass/scss/parser.rb
# The document directive is specified in
# http://www.w3.org/TR/css3-conditional/, but Gecko allows the
# `url-prefix` and `domain` functions to omit quotation marks, contrary to
# the standard.
#
# We could parse all document directives according to Mozilla's syntax,
# but if someone's using e.g. @-webkit-document we don't want them to
# think WebKit works sans quotes.


We could parse all document directives according to Mozilla's syntax,
but if someone's using e.g. @-webkit-document we don't want them to
think WebKit works sans quotes.
We could parse all document directives according to Mozilla ' s syntax but if someone ' s using e . g . @ - webkit - document we don ' t want them to think WebKit works sans quotes .
def _moz_document_directive(start_pos)
        res = ["@-moz-document "]
        loop do
          res << str {ss} << expr!(:moz_document_function)
          if (c = tok(/,/))
            res << c
          else
            break
          end
        end
        directive_body(res.flatten, start_pos)
      end
def _moz_document_directive ( start_pos ) res = [ "@-moz-document " ] loop do res << str { ss } << expr! ( :moz_document_function ) if ( c = tok ( / , / ) ) res << c else break end end directive_body ( res . flatten , start_pos ) end
The document directive is specified in
http://www.w3.org/TR/css3-conditional/, but Gecko allows the
`url-prefix` and `domain` functions to omit quotation marks, contrary to
the standard.
The document directive is specified in http : // www . w3 . org / TR / css3 - conditional / but Gecko allows the ` url - prefix ` and ` domain ` functions to omit quotation marks contrary to the standard .
start_pos
<not_specific>