def testCssAlphaWithAtBlock(self):
    self.VerifyContentsProducesOutput('\n<include src="../shared/css/cr/ui/overlay.css">\n<include src="chrome://resources/totally-cool.css" />\n\n/* A hopefully safely ignored comment and @media statement. /**/\n@media print {\n  div {\n    display: block;\n    color: red;\n  }\n}\n\n.rule {\n  z-index: 5;\n<if expr="not is macosx">\n  background-image: url(chrome://resources/BLAH); /* TODO(dbeam): Fix this. */\n  background-color: rgb(235, 239, 249);\n</if>\n<if expr="is_macosx">\n  background-color: white;\n  background-image: url(chrome://resources/BLAH2);\n</if>\n  color: black;\n}\n\n<if expr="is_macosx">\n.language-options-right {\n  visibility: hidden;\n  opacity: 1; /* TODO(dbeam): Fix this. */\n}\n</if>\n\n@media (prefers-color-scheme: dark) {\n  a[href] {\n    z-index: 3;\n    color: blue;\n  }\n}', '\n- Alphabetize properties and list vendor specific (i.e. -webkit) above standard.\n    display: block;\n    color: red;\n\n    z-index: 5;\n    color: black;\n\n    z-index: 3;\n    color: blue;')
def testCssAlphaWithAtBlock(self):
    self.VerifyContentsProducesOutput('\n<include src="../shared/css/cr/ui/overlay.css">\n<include src="chrome://resources/totally-cool.css" />\n\n/* A hopefully safely ignored comment and @media statement. /**/\n@media print {\n  div {\n    display: block;\n    color: red;\n  }\n}\n\n.rule {\n  z-index: 5;\n<if expr="not is macosx">\n  background-image: url(chrome://resources/BLAH); /* TODO(dbeam): Fix this. */\n  background-color: rgb(235, 239, 249);\n</if>\n<if expr="is_macosx">\n  background-color: white;\n  background-image: url(chrome://resources/BLAH2);\n</if>\n  color: black;\n}\n\n<if expr="is_macosx">\n.language-options-right {\n  visibility: hidden;\n  opacity: 1; /* TODO(dbeam): Fix this. */\n}\n</if>\n\n@media (prefers-color-scheme: dark) {\n  a[href] {\n    z-index: 3;\n    color: blue;\n  }\n}', '\n- Alphabetize properties and list vendor specific (i.e. -webkit) above standard.\n    display: block;\n    color: red;\n\n    z-index: 5;\n    color: black;\n\n    z-index: 3;\n    color: blue;')