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