MDL-55224 core: Import PHP-CSS-Parser into core

Part of MDL-55071
This commit is contained in:
Frederic Massart
2016-09-23 10:49:49 +01:00
committed by Dan Poltawski
parent e86eb6b80d
commit fbe18cc022
34 changed files with 3307 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
<?php
namespace Sabberworm\CSS\Property;
use Sabberworm\CSS\Renderable;
use Sabberworm\CSS\Comment\Commentable;
interface AtRule extends Renderable, Commentable {
const BLOCK_RULES = 'media/document/supports/region-style/font-feature-values';
// Since there are more set rules than block rules, were whitelisting the block rules and have anything else be treated as a set rule.
const SET_RULES = 'font-face/counter-style/page/swash/styleset/annotation'; //…and more font-specific ones (to be used inside font-feature-values)
public function atRuleName();
public function atRuleArgs();
}