AtRule.php
7 months ago
CSSNamespace.php
7 months ago
Charset.php
7 months ago
Import.php
7 months ago
KeyframeSelector.php
7 months ago
Selector.php
7 months ago
AtRule.php
39 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Automattic\WooCommerce\Vendor\Sabberworm\CSS\Property; |
| 4 | |
| 5 | use Automattic\WooCommerce\Vendor\Sabberworm\CSS\Comment\Commentable; |
| 6 | use Automattic\WooCommerce\Vendor\Sabberworm\CSS\Renderable; |
| 7 | |
| 8 | interface AtRule extends Renderable, Commentable |
| 9 | { |
| 10 | /** |
| 11 | * Since there are more set rules than block rules, |
| 12 | * we’re whitelisting the block rules and have anything else be treated as a set rule. |
| 13 | * |
| 14 | * @var string |
| 15 | * |
| 16 | * @internal since 8.5.2 |
| 17 | */ |
| 18 | const BLOCK_RULES = 'media/document/supports/region-style/font-feature-values'; |
| 19 | |
| 20 | /** |
| 21 | * … and more font-specific ones (to be used inside font-feature-values) |
| 22 | * |
| 23 | * @var string |
| 24 | * |
| 25 | * @internal since 8.5.2 |
| 26 | */ |
| 27 | const SET_RULES = 'font-face/counter-style/page/swash/styleset/annotation'; |
| 28 | |
| 29 | /** |
| 30 | * @return string|null |
| 31 | */ |
| 32 | public function atRuleName(); |
| 33 | |
| 34 | /** |
| 35 | * @return string|null |
| 36 | */ |
| 37 | public function atRuleArgs(); |
| 38 | } |
| 39 |