Bug 75187 - Decouple CSSMappedAttributeDeclaration from element completely.
Summary: Decouple CSSMappedAttributeDeclaration from element completely.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-23 21:24 PST by Andreas Kling
Modified: 2011-12-24 13:25 PST (History)
3 users (show)

See Also:


Attachments
Patcharoo (32.96 KB, patch)
2011-12-23 22:07 PST, Andreas Kling
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2011-12-23 21:24:31 PST
CSSMappedAttributeDeclaration currently inherits from CSSElementStyleDeclaration, but we only setElement() on it while adding properties. We should refactor so CSSMappedAttributeDeclaration never needs to store an element.
Comment 1 Andreas Kling 2011-12-23 22:07:34 PST
Created attachment 120487 [details]
Patcharoo

Something like this perhaps.
Comment 2 Andreas Kling 2011-12-24 13:25:16 PST
Committed r103663: <http://trac.webkit.org/changeset/103663>