You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unknown at-rules stil get to be `RuleSet`s but block rules like document/supports/region-style/font-feature-values
are now supported via the AtRuleBlockList class.
Also, all at rules now implement the Sabberworm\CSS\Property\AtRule interface.
MediaQuery has been removed as its functionality is included fully in the AtRuleBlockList class.
ClosesMyIntervals#53 as fixed
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ The resulting data structure consists mainly of five basic types: `CSSList`, `Ru
51
51
52
52
`RuleSet` is a container for individual rules. The most common form of a rule set is one constrained by a selector. The following concrete subtypes exist:
53
53
54
-
*`AtRule` – for generic at-rules which do not match the ones specifically mentioned like @import, @charset or @media. A common example for this is @font-face.
54
+
*`AtRuleSet` – for generic at-rules which do not match the ones specifically mentioned like @import, @charset or @media. A common example for this is @font-face.
55
55
*`DeclarationBlock` – a RuleSet constrained by a `Selector`; contains an array of selector objects (comma-separated in the CSS) as well as the rules to be applied to the matching elements.
56
56
57
57
Note: A `CSSList` can contain other `CSSList`s (and `Import`s as well as a `Charset`) while a `RuleSet` can only contain `Rule`s.
0 commit comments