In the CSSOM, style declarations only ever have rules as parents. Reflecting this in WebKit would reduce the complexity of CSSStyleDeclaration.
Created attachment 116723 [details] Patch
Comment on attachment 116723 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=116723&action=review r=me, with some comments > Source/WebCore/svg/SVGFontFaceElement.cpp:51 > +class FontFaceStyleDeclaration : public CSSElementStyleDeclaration { > +public: > + FontFaceStyleDeclaration(SVGFontFaceElement* element) To stick with the coding style, you should have create() for construction. You should add a comment here explaining why this class is needed and how we can eventually get rid of it.
Committed r101250: <http://trac.webkit.org/changeset/101250>