Bug 20159
Summary: | [XBL] XBLElement inheritance issue | ||
---|---|---|---|
Product: | WebKit | Reporter: | Julien Chaffraix <jchaffraix> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | dglazkov, ml |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Julien Chaffraix
As mentioned in bug 20029, there is an issue with XBLElement inheriting from StyledElement only because XBLDivElement (class associated with the <xbl:div> tag) needs that. XBLElement should inherits from Element and XBLDivElement should be the only one inheriting from StyledElement.
Currently this is tricky to do because we need XBLDivElement to inherit also from XBLElement.
A way of solving this is by turning StyledElement to a mix-in.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Dimitri Glazkov (Google)
We ripped this code out and a new implementation is under way.