@@ -3241,13 +3241,13 @@ Using CSS Tables does not incur any privacy risk to mitigate.
3241
3241
RULES (part 1/3)
3242
3242
http://codepen.io/FremyCompany/pen/GopJMp
3243
3243
-->
3244
- table:matches ([rules=all i] , [rules=rows i] , [rules=cols i] , [rules=groups i] , [rules=none i] ) {
3244
+ table:is ([rules=all i] , [rules=rows i] , [rules=cols i] , [rules=groups i] , [rules=none i] ) {
3245
3245
border-collapse: collapse;
3246
3246
border-style: hidden;
3247
3247
}
3248
3248
3249
- table:matches ([rules=all i] , [rules=rows i] , [rules=cols i] , [rules=groups i] , [rules=none i] ),
3250
- table:matches ([rules=all i] , [rules=rows i] , [rules=cols i] , [rules=groups i] , [rules=none i] ) > :matches (thead,tbody,tfoot) > tr > :matches (th,td) {
3249
+ table:is ([rules=all i] , [rules=rows i] , [rules=cols i] , [rules=groups i] , [rules=none i] ),
3250
+ table:is ([rules=all i] , [rules=rows i] , [rules=cols i] , [rules=groups i] , [rules=none i] ) > :is (thead,tbody,tfoot) > tr > :is (th,td) {
3251
3251
border-color: black;
3252
3252
}
3253
3253
@@ -3258,28 +3258,28 @@ Using CSS Tables does not incur any privacy risk to mitigate.
3258
3258
table[border=$border] /* if(parseInt($border) > 0) */ {
3259
3259
border: /*(parseInt($border) * 1px)*/ outset rgb(128, 128, 128);
3260
3260
}
3261
- table[border=$border] > :matches (thead,tbody,tfoot) > tr > :matches (th,td) /* if(parseInt($border) > 0) */ {
3261
+ table[border=$border] > :is (thead,tbody,tfoot) > tr > :is (th,td) /* if(parseInt($border) > 0) */ {
3262
3262
border: 1px inset rgb(128, 128, 128);
3263
3263
}
3264
3264
3265
3265
<!--
3266
3266
RULES (part 2/3)
3267
3267
http://codepen.io/FremyCompany/pen/GopJMp
3268
3268
-->
3269
- table[rules=all i] > :matches (thead,tbody,tfoot) > tr > :matches (th,td) {
3269
+ table[rules=all i] > :is (thead,tbody,tfoot) > tr > :is (th,td) {
3270
3270
border: 1px solid grey;
3271
3271
}
3272
- table[rules=rows i] > :matches (thead,tbody,tfoot) > tr > :matches (th,td) {
3272
+ table[rules=rows i] > :is (thead,tbody,tfoot) > tr > :is (th,td) {
3273
3273
border: 1px solid grey;
3274
3274
border-left: none;
3275
3275
border-right: none;
3276
3276
}
3277
- table[rules=cols i] > :matches (thead,tbody,tfoot) > tr > :matches (th,td) {
3277
+ table[rules=cols i] > :is (thead,tbody,tfoot) > tr > :is (th,td) {
3278
3278
border: 1px solid grey;
3279
3279
border-top: none;
3280
3280
border-bottom: none;
3281
3281
}
3282
- table[rules=none i] > :matches (thead,tbody,tfoot) > tr > :matches (th,td) {
3282
+ table[rules=none i] > :is (thead,tbody,tfoot) > tr > :is (th,td) {
3283
3283
border: none;
3284
3284
}
3285
3285
@@ -3288,7 +3288,7 @@ Using CSS Tables does not incur any privacy risk to mitigate.
3288
3288
http://codepen.io/FremyCompany/pen/jWbPXY
3289
3289
https://jsfiddle.net/ewv08n0r/
3290
3290
-->
3291
- table[rules=groups i] > :matches (thead,tbody,tfoot) {
3291
+ table[rules=groups i] > :is (thead,tbody,tfoot) {
3292
3292
border-top-width: 1px; border-top-style: solid;
3293
3293
border-bottom-width: 1px; border-bottom-style: solid;
3294
3294
}
@@ -3320,7 +3320,7 @@ Using CSS Tables does not incur any privacy risk to mitigate.
3320
3320
<!--
3321
3321
Others:
3322
3322
-->
3323
- table[cellpadding=$x] > :matches (thead,tbody,tfoot) > tr > :matches (th,td) /* if(parseInt($x)>0) */ {
3323
+ table[cellpadding=$x] > :is (thead,tbody,tfoot) > tr > :is (th,td) /* if(parseInt($x)>0) */ {
3324
3324
padding: /*(parseInt($x) * 1px)*/;
3325
3325
}
3326
3326
table[cellspacing=$x] /* if(parseInt($x)>0) */ {
@@ -3345,10 +3345,10 @@ Using CSS Tables does not incur any privacy risk to mitigate.
3345
3345
table[bordercolor=$color] {
3346
3346
border-color: /*parseHTMLColor($color)*/;
3347
3347
}
3348
- table[bordercolor] > :matches (tbody, thead, tfoot, tr, colgroup, col),
3349
- table[bordercolor] > :matches (tbody, thead, tfoot) > tr,
3350
- table[bordercolor] > :matches (tbody, thead, tfoot) > tr > :matches (td, th),
3351
- table[bordercolor] > tr > :matches (td, th)
3348
+ table[bordercolor] > :is (tbody, thead, tfoot, tr, colgroup, col),
3349
+ table[bordercolor] > :is (tbody, thead, tfoot) > tr,
3350
+ table[bordercolor] > :is (tbody, thead, tfoot) > tr > :is (td, th),
3351
+ table[bordercolor] > tr > :is (td, th)
3352
3352
table[bordercolor] > colgroup > col
3353
3353
) {
3354
3354
border-color: inherit;
@@ -3371,29 +3371,29 @@ Using CSS Tables does not incur any privacy risk to mitigate.
3371
3371
NON-TABLE ATTRIBUTES:
3372
3372
-->
3373
3373
caption[align=bottom i] { caption-side: bottom; }
3374
- :matches (thead,tbody,tfoot,tr,td,th)[valign=top i] {
3374
+ :is (thead,tbody,tfoot,tr,td,th)[valign=top i] {
3375
3375
vertical-align: top;
3376
3376
}
3377
- :matches (thead,tbody,tfoot,tr,td,th)[valign=middle i] {
3377
+ :is (thead,tbody,tfoot,tr,td,th)[valign=middle i] {
3378
3378
vertical-align: middle;
3379
3379
}
3380
- :matches (thead,tbody,tfoot,tr,td,th)[valign=bottom i] {
3380
+ :is (thead,tbody,tfoot,tr,td,th)[valign=bottom i] {
3381
3381
vertical-align: bottom;
3382
3382
}
3383
- :matches (thead,tbody,tfoot,tr,td,th)[valign=baseline i] {
3383
+ :is (thead,tbody,tfoot,tr,td,th)[valign=baseline i] {
3384
3384
vertical-align: baseline;
3385
3385
}
3386
3386
3387
- :matches (thead,tbody,tfoot,tr,td,th)[align=absmiddle i] {
3387
+ :is (thead,tbody,tfoot,tr,td,th)[align=absmiddle i] {
3388
3388
text-align: center;
3389
3389
}
3390
3390
3391
- :matches (colgroup,col,thead,tbody,tfoot,tr,td,th)[hidden] {
3391
+ :is (colgroup,col,thead,tbody,tfoot,tr,td,th)[hidden] {
3392
3392
visibility: collapse;
3393
3393
}
3394
3394
3395
- :matches (td,th)[nowrap] { white-space: nowrap; }
3396
- :matches (td,th)[nowrap][width=$w] /* if(quirksMode && parseInt($w) > 0) */ {
3395
+ :is (td,th)[nowrap] { white-space: nowrap; }
3396
+ :is (td,th)[nowrap][width=$w] /* if(quirksMode && parseInt($w) > 0) */ {
3397
3397
white-space: normal;
3398
3398
}
3399
3399
0 commit comments