| @@ -7,8 +7,10 @@ | ||
| 7 | 7 | * @author Florian Schmitz, Brett Zamir, Nikolay Matsievsky, Cedric Morin, Christopher Finke, Mark Scherer, Tobias Bäthge |
| 8 | 8 | * @since 1.0.0 |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | +declare(strict_types=1); | |
| 12 | + | |
| 11 | 13 | // Prohibit direct script loading. |
| 12 | 14 | defined( 'ABSPATH' ) || die( 'No direct script access allowed!' ); |
| 13 | 15 | |
| 14 | 16 | /** |
| @@ -72,8 +74,9 @@ | ||
| 72 | 74 | '-webkit-viewport' => 'at', |
| 73 | 75 | '-moz-viewport' => 'at', |
| 74 | 76 | '-ms-viewport' => 'at', |
| 75 | 77 | 'supports' => 'at', |
| 78 | + 'container' => 'at', | |
| 76 | 79 | ); |
| 77 | 80 | |
| 78 | 81 | /** |
| 79 | 82 | * Properties that need a value with unit. |
| @@ -682,8 +685,9 @@ | ||
| 682 | 685 | $data['csstidy']['all_properties']['width'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0'; |
| 683 | 686 | $data['csstidy']['all_properties']['word-break'] = 'CSS3.0'; |
| 684 | 687 | $data['csstidy']['all_properties']['word-spacing'] = 'CSS1.0,CSS2.0,CSS2.1,CSS3.0'; |
| 685 | 688 | $data['csstidy']['all_properties']['word-wrap'] = 'CSS3.0'; |
| 689 | +$data['csstidy']['all_properties']['writing-mode'] = 'CSS3.0'; | |
| 686 | 690 | $data['csstidy']['all_properties']['z-index'] = 'CSS2.0,CSS2.1,CSS3.0'; |
| 687 | 691 | $data['csstidy']['all_properties']['zoom'] = 'CSS3.0'; |
| 688 | 692 | $data['csstidy']['all_properties']['--custom'] = 'CSS3.0'; // Placeholder for custom properties, used in TablePress_CSSTidy::property_is_valid(). |
| 689 | 693 | |
| @@ -838,6 +842,13 @@ | ||
| 838 | 842 | $data['csstidy']['all_properties']['-webkit-backdrop-filter'] = 'CSS3.0'; |
| 839 | 843 | $data['csstidy']['all_properties']['backdrop-filter'] = 'CSS3.0'; |
| 840 | 844 | $data['csstidy']['all_properties']['-webkit-box-orient'] = 'CSS3.0'; |
| 841 | 845 | $data['csstidy']['all_properties']['-webkit-line-clamp'] = 'CSS3.0'; |
| 846 | +$data['csstidy']['all_properties']['-webkit-box-orient'] = 'CSS3.0'; | |
| 847 | +$data['csstidy']['all_properties']['contain'] = 'CSS3.0'; | |
| 848 | +$data['csstidy']['all_properties']['contain-intrinsic-size'] = 'CSS3.0'; | |
| 849 | +$data['csstidy']['all_properties']['container'] = 'CSS3.0'; | |
| 850 | +$data['csstidy']['all_properties']['container-name'] = 'CSS3.0'; | |
| 851 | +$data['csstidy']['all_properties']['container-type'] = 'CSS3.0'; | |
| 852 | +$data['csstidy']['all_properties']['content-visibility'] = 'CSS3.0'; | |
| 842 | 853 | |
| 843 | 854 | return $data; |