@@ -718,6 +718,7 @@ public function invalidSelectorsInFile(): void
718718 $ document = self ::parsedStructureForFile ('invalid-selectors ' , Settings::create ()->withMultibyteSupport (true ));
719719 $ expected = '@keyframes mymove {from {top: 0px;}}
720720#test {color: white;background: green;}
721+ #test {display: block;background: red;color: white;}
721722#test {display: block;background: white;color: black;} ' ;
722723 self ::assertSame ($ expected , $ document ->render ());
723724
@@ -727,6 +728,7 @@ public function invalidSelectorsInFile(): void
727728 .super-menu > li:last-of-type {border-right-width: 0;}
728729 html[dir="rtl"] .super-menu > li:first-of-type {border-left-width: 1px;border-right-width: 0;}
729730 html[dir="rtl"] .super-menu > li:last-of-type {border-left-width: 0;}}
731+ .super-menu.menu-floated {border-right-width: 1px;border-left-width: 1px;border-color: #5a4242;border-style: dotted;}
730732body {background-color: red;} ' ;
731733 self ::assertSame ($ expected , $ document ->render ());
732734 }
@@ -740,15 +742,6 @@ public function selectorEscapesInFile(): void
740742 $ expected = '# \\# {color: red;}
741743.col-sm-1 \\/5 {width: 20%;} ' ;
742744 self ::assertSame ($ expected , $ document ->render ());
743-
744- $ document = self ::parsedStructureForFile ('invalid-selectors-2 ' , Settings::create ()->withMultibyteSupport (true ));
745- $ expected = '@media only screen and (max-width: 1215px) {.breadcrumb {padding-left: 10px;}
746- .super-menu > li:first-of-type {border-left-width: 0;}
747- .super-menu > li:last-of-type {border-right-width: 0;}
748- html[dir="rtl"] .super-menu > li:first-of-type {border-left-width: 1px;border-right-width: 0;}
749- html[dir="rtl"] .super-menu > li:last-of-type {border-left-width: 0;}}
750- body {background-color: red;} ' ;
751- self ::assertSame ($ expected , $ document ->render ());
752745 }
753746
754747 /**
0 commit comments