innerHTML bug
Maksim Orlovich
mo85 at cornell.edu
Wed Aug 8 15:35:24 BST 2007
> I don't remember but I think someone worked on innerHTML recently?
> It doesn't seem to reflect changes made to the render tree like it does
> with other browsers,
> I can't log into ingdirect.fr.
>
> Testcase attached.
>
> Basically foo.style.color = "#101065"; works but later on innerHTML
> doesn't show that new color.
> Any ideas? I'm not sure how CSS changes are applied to both trees...
It's a super-weird quirk we don't really implement... When you do this
construct it actually changes the style attribute (!). Unfortunately I
can't think of a nice way of implementing this :( Obviously special-casing
access to ATTR_STYLE over the place would suck, since the attribute code
is way complex as-is, and updating the string form would be expensive.
Urgh. This needs a notion of a special computed attribute type or
something.
P.S. Allan: this seems related to what you told me you were planning, no?
More information about the kfm-devel
mailing list