[webkit-reviews] Patch for bug 3379 (attr(X) does not work)

Rémi Zara remi_zara at mac.com
Fri Jun 10 14:08:48 PDT 2005


Hi,

I've attached a patch and associated test case to bug 3379 (http:// 
bugzilla.opendarwin.org/show_bug.cgi?id=3379).

The bug is that generated content with attr(X) does not work when  
multiple elements share the declaration.

The patch detects if a declaration with a content property is  
present, and if so, disables the  
CSSStyleSelector::canShareStyleWithElement(NodeImpl* n) optimisation.

All regession tests pass with the patch.

Regards,

Rémi Zara
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2363 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/webkit-reviews/attachments/20050610/a9dae32a/smime.bin


More information about the webkit-reviews mailing list