|
10 | 10 | zoom: var(--USER__fontSize) !important; |
11 | 11 | } |
12 | 12 |
|
13 | | -:root:--iOS-patch[style*="--USER__fontSize"] body { |
| 13 | +:root:not(:--deprecated-font-size):--iOS-patch[style*="--USER__fontSize"] body { |
14 | 14 | -webkit-text-size-adjust: var(--USER__fontSize) !important; |
15 | 15 | } |
16 | 16 |
|
17 | 17 | @supports selector(figure:has(> img)) { |
18 | | - :root[style*="--USER__fontSize"] figure:has(> img), |
19 | | - :root[style*="--USER__fontSize"] figure:has(> video), |
20 | | - :root[style*="--USER__fontSize"] figure:has(> svg), |
21 | | - :root[style*="--USER__fontSize"] figure:has(> canvas), |
22 | | - :root[style*="--USER__fontSize"] figure:has(> iframe), |
23 | | - :root[style*="--USER__fontSize"] figure:has(> audio), |
24 | | - :root[style*="--USER__fontSize"] div:has(> img), |
25 | | - :root[style*="--USER__fontSize"] div:has(> video), |
26 | | - :root[style*="--USER__fontSize"] div:has(> svg), |
27 | | - :root[style*="--USER__fontSize"] div:has(> canvas), |
28 | | - :root[style*="--USER__fontSize"] div:has(> iframe), |
29 | | - :root[style*="--USER__fontSize"] div:has(> audio), |
30 | | - :root[style*="--USER__fontSize"] table { |
| 18 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] figure:has(> img), |
| 19 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] figure:has(> video), |
| 20 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] figure:has(> svg), |
| 21 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] figure:has(> canvas), |
| 22 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] figure:has(> iframe), |
| 23 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] figure:has(> audio), |
| 24 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] div:has(> img), |
| 25 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] div:has(> video), |
| 26 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] div:has(> svg), |
| 27 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] div:has(> canvas), |
| 28 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] div:has(> iframe), |
| 29 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] div:has(> audio), |
| 30 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] table { |
31 | 31 | zoom: calc(100% / var(--USER__fontSize)) !important; |
32 | 32 | } |
33 | 33 |
|
34 | | - :root[style*="--USER__fontSize"] figcaption, |
35 | | - :root[style*="--USER__fontSize"] caption, |
36 | | - :root[style*="--USER__fontSize"] td, |
37 | | - :root[style*="--USER__fontSize"] th { |
| 34 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] figcaption, |
| 35 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] caption, |
| 36 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] td, |
| 37 | + :root:not(:--deprecated-font-size):not(:--iOS-patch)[style*="--USER__fontSize"] th { |
38 | 38 | zoom: var(--USER__fontSize) !important; |
39 | 39 | } |
40 | 40 | } |
|
0 commit comments