@@ -6514,8 +6514,10 @@ test('place-content', async () => {
6514
6514
expect (
6515
6515
await run ( [
6516
6516
'place-content-center' ,
6517
+ 'place-content-center-safe' ,
6517
6518
'place-content-start' ,
6518
6519
'place-content-end' ,
6520
+ 'place-content-end-safe' ,
6519
6521
'place-content-between' ,
6520
6522
'place-content-around' ,
6521
6523
'place-content-evenly' ,
@@ -6539,10 +6541,18 @@ test('place-content', async () => {
6539
6541
place-content: center;
6540
6542
}
6541
6543
6544
+ .place-content-center-safe {
6545
+ place-content: safe center;
6546
+ }
6547
+
6542
6548
.place-content-end {
6543
6549
place-content: end;
6544
6550
}
6545
6551
6552
+ .place-content-end-safe {
6553
+ place-content: safe end;
6554
+ }
6555
+
6546
6556
.place-content-evenly {
6547
6557
place-content: evenly;
6548
6558
}
@@ -6583,7 +6593,9 @@ test('place-items', async () => {
6583
6593
await run ( [
6584
6594
'place-items-start' ,
6585
6595
'place-items-end' ,
6596
+ 'place-items-end-safe' ,
6586
6597
'place-items-center' ,
6598
+ 'place-items-center-safe' ,
6587
6599
'place-items-baseline' ,
6588
6600
'place-items-stretch' ,
6589
6601
] ) ,
@@ -6596,10 +6608,18 @@ test('place-items', async () => {
6596
6608
place-items: center;
6597
6609
}
6598
6610
6611
+ .place-items-center-safe {
6612
+ place-items: safe center;
6613
+ }
6614
+
6599
6615
.place-items-end {
6600
6616
place-items: end;
6601
6617
}
6602
6618
6619
+ .place-items-end-safe {
6620
+ place-items: safe end;
6621
+ }
6622
+
6603
6623
.place-items-start {
6604
6624
place-items: start;
6605
6625
}
@@ -6630,8 +6650,10 @@ test('align-content', async () => {
6630
6650
await run ( [
6631
6651
'content-normal' ,
6632
6652
'content-center' ,
6653
+ 'content-center-safe' ,
6633
6654
'content-start' ,
6634
6655
'content-end' ,
6656
+ 'content-end-safe' ,
6635
6657
'content-between' ,
6636
6658
'content-around' ,
6637
6659
'content-evenly' ,
@@ -6655,10 +6677,18 @@ test('align-content', async () => {
6655
6677
align-content: center;
6656
6678
}
6657
6679
6680
+ .content-center-safe {
6681
+ align-content: safe center;
6682
+ }
6683
+
6658
6684
.content-end {
6659
6685
align-content: flex-end;
6660
6686
}
6661
6687
6688
+ .content-end-safe {
6689
+ align-content: safe flex-end;
6690
+ }
6691
+
6662
6692
.content-evenly {
6663
6693
align-content: space-evenly;
6664
6694
}
@@ -6701,8 +6731,17 @@ test('align-content', async () => {
6701
6731
} )
6702
6732
6703
6733
test ( 'items' , async ( ) => {
6704
- expect ( await run ( [ 'items-start' , 'items-end' , 'items-center' , 'items-baseline' , 'items-stretch' ] ) )
6705
- . toMatchInlineSnapshot ( `
6734
+ expect (
6735
+ await run ( [
6736
+ 'items-start' ,
6737
+ 'items-end' ,
6738
+ 'items-end-safe' ,
6739
+ 'items-center' ,
6740
+ 'items-center-safe' ,
6741
+ 'items-baseline' ,
6742
+ 'items-stretch' ,
6743
+ ] ) ,
6744
+ ) . toMatchInlineSnapshot ( `
6706
6745
".items-baseline {
6707
6746
align-items: baseline;
6708
6747
}
@@ -6711,10 +6750,18 @@ test('items', async () => {
6711
6750
align-items: center;
6712
6751
}
6713
6752
6753
+ .items-center-safe {
6754
+ align-items: safe center;
6755
+ }
6756
+
6714
6757
.items-end {
6715
6758
align-items: flex-end;
6716
6759
}
6717
6760
6761
+ .items-end-safe {
6762
+ align-items: safe flex-end;
6763
+ }
6764
+
6718
6765
.items-start {
6719
6766
align-items: flex-start;
6720
6767
}
@@ -6746,7 +6793,9 @@ test('justify', async () => {
6746
6793
'justify-normal' ,
6747
6794
'justify-start' ,
6748
6795
'justify-end' ,
6796
+ 'justify-end-safe' ,
6749
6797
'justify-center' ,
6798
+ 'justify-center-safe' ,
6750
6799
'justify-between' ,
6751
6800
'justify-around' ,
6752
6801
'justify-evenly' ,
@@ -6765,10 +6814,18 @@ test('justify', async () => {
6765
6814
justify-content: center;
6766
6815
}
6767
6816
6817
+ .justify-center-safe {
6818
+ justify-content: safe center;
6819
+ }
6820
+
6768
6821
.justify-end {
6769
6822
justify-content: flex-end;
6770
6823
}
6771
6824
6825
+ .justify-end-safe {
6826
+ justify-content: safe flex-end;
6827
+ }
6828
+
6772
6829
.justify-evenly {
6773
6830
justify-content: space-evenly;
6774
6831
}
@@ -6813,18 +6870,28 @@ test('justify-items', async () => {
6813
6870
await run ( [
6814
6871
'justify-items-start' ,
6815
6872
'justify-items-end' ,
6873
+ 'justify-items-end-safe' ,
6816
6874
'justify-items-center' ,
6875
+ 'justify-items-center-safe' ,
6817
6876
'justify-items-stretch' ,
6818
6877
] ) ,
6819
6878
) . toMatchInlineSnapshot ( `
6820
6879
".justify-items-center {
6821
6880
justify-items: center;
6822
6881
}
6823
6882
6883
+ .justify-items-center-safe {
6884
+ justify-items: safe center;
6885
+ }
6886
+
6824
6887
.justify-items-end {
6825
6888
justify-items: end;
6826
6889
}
6827
6890
6891
+ .justify-items-end-safe {
6892
+ justify-items: safe end;
6893
+ }
6894
+
6828
6895
.justify-items-start {
6829
6896
justify-items: start;
6830
6897
}
@@ -7728,7 +7795,9 @@ test('place-self', async () => {
7728
7795
'place-self-auto' ,
7729
7796
'place-self-start' ,
7730
7797
'place-self-end' ,
7798
+ 'place-self-end-safe' ,
7731
7799
'place-self-center' ,
7800
+ 'place-self-center-safe' ,
7732
7801
'place-self-stretch' ,
7733
7802
] ) ,
7734
7803
) . toMatchInlineSnapshot ( `
@@ -7740,10 +7809,18 @@ test('place-self', async () => {
7740
7809
place-self: center;
7741
7810
}
7742
7811
7812
+ .place-self-center-safe {
7813
+ place-self: safe center;
7814
+ }
7815
+
7743
7816
.place-self-end {
7744
7817
place-self: end;
7745
7818
}
7746
7819
7820
+ .place-self-end-safe {
7821
+ place-self: safe end;
7822
+ }
7823
+
7747
7824
.place-self-start {
7748
7825
place-self: start;
7749
7826
}
@@ -7775,7 +7852,9 @@ test('self', async () => {
7775
7852
'self-auto' ,
7776
7853
'self-start' ,
7777
7854
'self-end' ,
7855
+ 'self-end-safe' ,
7778
7856
'self-center' ,
7857
+ 'self-center-safe' ,
7779
7858
'self-stretch' ,
7780
7859
'self-baseline' ,
7781
7860
] ) ,
@@ -7792,10 +7871,18 @@ test('self', async () => {
7792
7871
align-self: center;
7793
7872
}
7794
7873
7874
+ .self-center-safe {
7875
+ align-self: safe center;
7876
+ }
7877
+
7795
7878
.self-end {
7796
7879
align-self: flex-end;
7797
7880
}
7798
7881
7882
+ .self-end-safe {
7883
+ align-self: safe flex-end;
7884
+ }
7885
+
7799
7886
.self-start {
7800
7887
align-self: flex-start;
7801
7888
}
@@ -7829,7 +7916,9 @@ test('justify-self', async () => {
7829
7916
'justify-self-auto' ,
7830
7917
'justify-self-start' ,
7831
7918
'justify-self-end' ,
7919
+ 'justify-self-end-safe' ,
7832
7920
'justify-self-center' ,
7921
+ 'justify-self-center-safe' ,
7833
7922
'justify-self-stretch' ,
7834
7923
'justify-self-baseline' ,
7835
7924
] ) ,
@@ -7842,10 +7931,18 @@ test('justify-self', async () => {
7842
7931
justify-self: center;
7843
7932
}
7844
7933
7934
+ .justify-self-center-safe {
7935
+ justify-self: safe center;
7936
+ }
7937
+
7845
7938
.justify-self-end {
7846
7939
justify-self: flex-end;
7847
7940
}
7848
7941
7942
+ .justify-self-end-safe {
7943
+ justify-self: safe flex-end;
7944
+ }
7945
+
7849
7946
.justify-self-start {
7850
7947
justify-self: flex-start;
7851
7948
}
0 commit comments