• bdakin's avatar
    Reviewed by Maciej. · eb2c2042
    bdakin authored
            Fix for <rdar://problem/4610314> Support the CSS3 content property 
            for images
            This patch provides initial support for the CSS3 content property. 
            It lacks support for any content other than images, and only allows 
            content for elements that seemed safe for now.
            * css/cssstyleselector.cpp:
            (WebCore::CSSStyleSelector::applyProperty): Remove restrictions for 
            just :before and :after
            * html/HTMLBRElement.cpp:
            * html/HTMLFrameSetElement.cpp:
            * html/HTMLImageElement.cpp:
            * html/HTMLLegendElement.cpp:
            * rendering/RenderImage.cpp:
            (WebCore::RenderImage::setCachedImage): Don't allow the image to be 
            set this way ...