Bug 77827 - Remove mapped vs non-mapped attribute distinction.
Summary: Remove mapped vs non-mapped attribute distinction.
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: 2012-02-05 01:06 PST by Andreas Kling
Modified: 2012-02-06 15:21 PST (History)
1 user (show)

See Also:


Attachments
Possibly a patch (13.92 KB, patch)
2012-02-05 01:13 PST, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2012-02-05 01:06:02 PST
This stuff is confusing at best.
Comment 1 Andreas Kling 2012-02-05 01:13:15 PST
Created attachment 125522 [details]
Possibly a patch
Comment 2 Antti Koivisto 2012-02-05 01:15:18 PST
Comment on attachment 125522 [details]
Possibly a patch

r=me
Comment 3 Andreas Kling 2012-02-05 01:26:12 PST
Comment on attachment 125522 [details]
Possibly a patch

Clearing flags on attachment: 125522

Committed r106757: <http://trac.webkit.org/changeset/106757>
Comment 4 Andreas Kling 2012-02-05 01:26:20 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Alexey Proskuryakov 2012-02-06 15:05:25 PST
> Previously, StyledElement would generate mapped
> attributes and plain Element would generate non-mapped ones.

Somehow I thought that mapped attributes were ones that were mapped to CSS (like "dir"), in contrast to ones like "onload". Was I horribly confused (at best)?
Comment 6 Andreas Kling 2012-02-06 15:21:07 PST
(In reply to comment #5)
> > Previously, StyledElement would generate mapped
> > attributes and plain Element would generate non-mapped ones.
> 
> Somehow I thought that mapped attributes were ones that were mapped to CSS (like "dir"), in contrast to ones like "onload". Was I horribly confused (at best)?

Yeah, I think both of us were. I suspect that was the intended meaning back in KHTML times. Mapped attributes have been coming out of StyledElement::createAttribute() and non-mapped ones from Element::createAttribute().

It made a bit more sense before Attribute and MappedAttribute were merged into one class by Anders (IIRC) some years ago, since before then only a MappedAttribute had a style declaration.