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