@@ -39,6 +39,11 @@ Array [
39
39
:local(.m_x_\\\\ @) {
40
40
margin - left : auto ! important ;
41
41
margin - right : auto ! important ;
42
+ }
43
+
44
+ :local(.B\\\\ & W\\\\ ?) {
45
+ margin - left : auto ! important ;
46
+ margin - right : auto ! important ;
42
47
} ",
43
48
"",
44
49
],
@@ -86,6 +91,11 @@ Array [
86
91
:local(.m_x_\\\\ @) {
87
92
margin - left : auto ! important ;
88
93
margin - right : auto ! important ;
94
+ }
95
+
96
+ :local(.B\\\\ & W\\\\ ?) {
97
+ margin - left : auto ! important ;
98
+ margin - right : auto ! important ;
89
99
} ",
90
100
"",
91
101
],
@@ -133,6 +143,11 @@ Array [
133
143
:local(.m_x_\\\\ @) {
134
144
margin - left : auto ! important ;
135
145
margin - right : auto ! important ;
146
+ }
147
+
148
+ :local(.B\\\\ & W\\\\ ?) {
149
+ margin - left : auto ! important ;
150
+ margin - right : auto ! important ;
136
151
} ",
137
152
"",
138
153
],
@@ -180,6 +195,11 @@ Array [
180
195
:local(.m_x_\\\\ @) {
181
196
margin - left : auto ! important ;
182
197
margin - right : auto ! important ;
198
+ }
199
+
200
+ :local(.B\\\\ & W\\\\ ?) {
201
+ margin - left : auto ! important ;
202
+ margin - right : auto ! important ;
183
203
} ",
184
204
"",
185
205
],
@@ -227,6 +247,11 @@ Array [
227
247
:local(.m_x_\\\\ @) {
228
248
margin - left : auto ! important ;
229
249
margin - right : auto ! important ;
250
+ }
251
+
252
+ :local(.B\\\\ & W\\\\ ?) {
253
+ margin - left : auto ! important ;
254
+ margin - right : auto ! important ;
230
255
} ",
231
256
"",
232
257
],
@@ -274,6 +299,11 @@ Array [
274
299
:local(.m_x_\\\\ @) {
275
300
margin - left : auto ! important ;
276
301
margin - right : auto ! important ;
302
+ }
303
+
304
+ :local(.B\\\\ & W\\\\ ?) {
305
+ margin - left : auto ! important ;
306
+ margin - right : auto ! important ;
277
307
} ",
278
308
"",
279
309
],
@@ -321,6 +351,11 @@ Array [
321
351
:local(.m_x_\\\\ @) {
322
352
margin - left : auto ! important ;
323
353
margin - right : auto ! important ;
354
+ }
355
+
356
+ :local(.B\\\\ & W\\\\ ?) {
357
+ margin - left : auto ! important ;
358
+ margin - right : auto ! important ;
324
359
} ",
325
360
"",
326
361
],
@@ -329,11 +364,75 @@ Array [
329
364
330
365
exports [` localIdentName option should use hash prefix: warnings 1` ] = ` Array []` ;
331
366
367
+ exports [` localIdentName option should сorrectly replace escaped symbols in selector: errors 1` ] = ` Array []` ;
368
+
369
+ exports [` localIdentName option should сorrectly replace escaped symbols in selector: locals 1` ] = `
370
+ Object {
371
+ " -a0-34a___f" : " -a0-34a___f--2nJ5" ,
372
+ " B&W?" : " B&W?--1s8i" ,
373
+ " _test" : " _test--23te" ,
374
+ " className" : " className--1E8H" ,
375
+ " m_x_@" : " m_x_@--2G3b" ,
376
+ " someId" : " someId--3w7J" ,
377
+ " subClass" : " subClass--3lo0" ,
378
+ " test" : " test--NW9Y" ,
379
+ }
380
+ ` ;
381
+
382
+ exports [` localIdentName option should сorrectly replace escaped symbols in selector: module (evaluated) 1` ] = `
383
+ Array [
384
+ Array [
385
+ 1,
386
+ ".test--NW9Y {
387
+ background : red ;
388
+ }
389
+
390
+ ._test--23te {
391
+ background : blue ;
392
+ }
393
+
394
+ .className--1E8H {
395
+ background : red ;
396
+ }
397
+
398
+ #someId--3w7J {
399
+ background : green ;
400
+ }
401
+
402
+ .className--1E8H .subClass--3lo0 {
403
+ color : green ;
404
+ }
405
+
406
+ #someId--3w7J .subClass--3lo0 {
407
+ color : blue ;
408
+ }
409
+
410
+ .-a0-34a___f--2nJ5 {
411
+ color : red ;
412
+ }
413
+
414
+ .m_x_\\\\ @--2G3b {
415
+ margin - left : auto ! important ;
416
+ margin - right : auto ! important ;
417
+ }
418
+
419
+ .B\\\\ & W\\\\ ?--1s8i {
420
+ margin - left : auto ! important ;
421
+ margin - right : auto ! important ;
422
+ } ",
423
+ "",
424
+ ],
425
+ ]
426
+ ` ;
427
+
428
+ exports [` localIdentName option should сorrectly replace escaped symbols in selector: warnings 1` ] = ` Array []` ;
429
+
332
430
exports [` localIdentName option should сorrectly replace symbol @ in selector: errors 1` ] = ` Array []` ;
333
431
334
432
exports [` localIdentName option should сorrectly replace symbol @ in selector: locals 1` ] = `
335
433
Object {
336
434
" -a0-34a___f" : " -a0-34a___f--2nJ5" ,
435
+ " B&W?" : " B&W?--1s8i" ,
337
436
" _test" : " _test--23te" ,
338
437
" className" : " className--1E8H" ,
339
438
" m_x_@" : " m_x_@--2G3b" ,
@@ -375,7 +474,12 @@ Array [
375
474
color : red ;
376
475
}
377
476
378
- .m_x_@--2G3b {
477
+ .m_x_\\\\ @--2G3b {
478
+ margin - left : auto ! important ;
479
+ margin - right : auto ! important ;
480
+ }
481
+
482
+ .B\\\\ & W\\\\ ?--1s8i {
379
483
margin - left : auto ! important ;
380
484
margin - right : auto ! important ;
381
485
} ",
0 commit comments