← All changes
|
back/Libraries/Sabberworm/CSS/src/Property/AtRule.php
+29
-0
10.2.0
→
11.1.0
View file →
| @@ -1,0 +1,29 @@ | ||
| 1 | +<?php | |
| 2 | + | |
| 3 | +declare(strict_types=1); | |
| 4 | + | |
| 5 | +namespace AcyMailing\Libraries\Sabberworm\CSS\Property; | |
| 6 | + | |
| 7 | +use AcyMailing\Libraries\Sabberworm\CSS\CSSList\CSSListItem; | |
| 8 | + | |
| 9 | +/** | |
| 10 | + * Note that `CSSListItem` extends both `Commentable` and `Renderable`, | |
| 11 | + * so concrete classes implementing this interface must also implement those. | |
| 12 | + */ | |
| 13 | +interface AtRule extends CSSListItem | |
| 14 | +{ | |
| 15 | + /** | |
| 16 | + * Since there are more set rules than block rules, | |
| 17 | + * we’re whitelisting the block rules and have anything else be treated as a set rule. | |
| 18 | + * | |
| 19 | + * @var non-empty-string | |
| 20 | + * | |
| 21 | + * @internal since 8.5.2 | |
| 22 | + */ | |
| 23 | + public const BLOCK_RULES = 'media/document/supports/region-style/font-feature-values'; | |
| 24 | + | |
| 25 | + /** | |
| 26 | + * @return non-empty-string | |
| 27 | + */ | |
| 28 | + public function atRuleName(): string; | |
| 29 | +} | |