Skip to content

Commit 681c469

Browse files
committed
update readme
1 parent ed038d7 commit 681c469

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The resulting data structure consists mainly of five basic types: `CSSList`, `CS
3030

3131
#### CSSList
3232

33-
`CSSList` represents a generic CSS container, most likely containing selectors but it may also contain at-rules, charset declarations, etc. `CSSList` has the following concrete subtypes:
33+
`CSSList` represents a generic CSS container, most likely containing declaration blocks (rule sets with a selector) but it may also contain at-rules, charset declarations, etc. `CSSList` has the following concrete subtypes:
3434

3535
* `CSSDocument` – representing the root of a CSS file.
3636
* `CSSMediaQuery` – represents a subsection of a CSSList that only applies to a output device matching the contained media query.
@@ -67,7 +67,7 @@ If you want to manipulate a `CSSRuleSet`, use the methods `addRule(CSSRule $oRul
6767

6868
There are a few convenience methods on CSSDocument to ease finding, manipulating and deleting rules:
6969

70-
* `getAllDeclarationBlocks()` – does what it says; no matter how deeply nested your selectors are aliased as `getAllSelectors()`.
70+
* `getAllDeclarationBlocks()` – does what it says; no matter how deeply nested your selectors are. Aliased as `getAllSelectors()`.
7171
* `getAllRuleSets()` – does what it says; no matter how deeply nested your rule sets are.
7272
* `getAllValues()` – finds all `CSSValue` objects inside `CSSRule`s.
7373

@@ -355,12 +355,13 @@ To output the entire CSS document into a variable, just use `->__toString()`:
355355
* Named color support (using `CSSColor` instead of an anonymous string literal)
356356
* Test suite
357357
* Adopt lenient parsing rules
358+
* Support for @-rules (other than @media) that are CSSLists (to support @-webkit-keyframes)
358359

359360
## Contributors/Thanks to
360361

361362
* [ju1ius](https://github.com/ju1ius) for the specificity parsing code and the ability to expand/compact shorthand properties.
362363
* [GaryJones](https://github.com/GaryJones) for lots of input and [http://css-specificity.info/](http://css-specificity.info/).
363-
* [docteurklein](https://github.com/docteurklein) for output formatting and CSSList->remove() inspiration.
364+
* [docteurklein](https://github.com/docteurklein) for output formatting and `CSSList->remove()` inspiration.
364365

365366
## License
366367

0 commit comments

Comments
 (0)