PHP CSS Parser v5.2.0 Release Notes

Release Date: 2014-06-30 // almost 10 years ago
    • 👌 Support removing a selector from a declaration block using $oBlock->removeSelector($mSelector)
    • 📜 Introduce a specialized exception (Sabberworm\CSS\Parsing\OuputException) for exceptions during output rendering

    • 🗄 No deprecations

    Backwards-incompatible changes

    • Outputting a declaration block that has no selectors throws an OuputException instead of outputting an invalid {…} into the CSS document.