-
darin authored
Reviewed by Hyatt. - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=3379 attr(X) does not work * fast/css-generated-content/016-expected.checksum: Added. * fast/css-generated-content/016-expected.png: Added. * fast/css-generated-content/016-expected.txt: Added. * fast/css-generated-content/016.html: Added. WebCore: Reviewed by Hyatt. - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3379 attr(X) does not work Test: fast/css-generated-content/016.html * css/cssstyleselector.cpp: (WebCore::CSSStyleSelector::canShareStyleWithElement): Don't share style if the unique bit is set. (WebCore::CSSStyleSelector::applyProperty): When applying the "attr" property, set the unique bit and add to m_selectorAttrs. * rendering/render_style.cpp: Did a lot of reformatting, and this one real change. (WebCore::RenderStyle::RenderStyle): Initialize m_unique to false. * rendering/render_style.h: (WebCore::RenderStyle::unique): Added. Returns value of m_unique. (WebCore::RenderStyle::setUnique): Added. Sets m_unique. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@14687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d8c28ba8