File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change @@ -438,6 +438,15 @@ function testInvalidSelectorsInFile() {
438
438
#test {color: white;background: green;}
439
439
#test {display: block;background: white;color: black;} ' ;
440
440
$ this ->assertSame ($ sExpected , $ oDoc ->render ());
441
+
442
+ $ oDoc = $ this ->parsedStructureForFile ('invalid-selectors-2 ' , Settings::create ()->withMultibyteSupport (true ));
443
+ $ sExpected = '@media only screen and (max-width: 1215px) {.breadcrumb {padding-left: 10px;}
444
+ .super-menu > li:first-of-type {border-left-width: 0;}
445
+ .super-menu > li:last-of-type {border-right-width: 0;}
446
+ html[dir="rtl"] .super-menu > li:first-of-type {border-left-width: 1px;border-right-width: 0;}
447
+ html[dir="rtl"] .super-menu > li:last-of-type {border-left-width: 0;}}
448
+ body {background-color: red;} ' ;
449
+ $ this ->assertSame ($ sExpected , $ oDoc ->render ());
441
450
}
442
451
443
452
/**
Original file line number Diff line number Diff line change
1
+ @media only screen and (max-width : 1215px ) {
2
+ .breadcrumb {
3
+ padding-left : 10px ;
4
+ }
5
+ .super-menu > li : first-of-type {
6
+ border-left-width : 0 ;
7
+ }
8
+ .super-menu > li : last-of-type {
9
+ border-right-width : 0 ;
10
+ }
11
+ html [dir = "rtl" ] .super-menu > li : first-of-type {
12
+ border-left-width : 1px ;
13
+ border-right-width : 0 ;
14
+ }
15
+ html [dir = "rtl" ] .super-menu > li : last-of-type {
16
+ border-left-width : 0 ;
17
+ }
18
+ html [dir = "rtl" ] .super-menu .menu-floated > li : first- of- type
19
+ bor der- right- width: 0;
20
+ }
21
+ }
22
+
23
+
24
+ .super-menu .menu-floated {
25
+ border-right-width : 1px ;
26
+ border-left-width : 1px ;
27
+ border-color : rgb (90 , 66 , 66 );
28
+ border-style : dotted;
29
+ }
30
+
31
+ body {
32
+ background-color : red;
33
+ }
You can’t perform that action at this time.
0 commit comments