MartijnW wrote:
Well, I was looking at the cause for:
http://bugzilla.mozilla.org/show_bug.cgi?id=253078 - [Midas] Drag
handles of image are drawed on the wrong location
I see that the anonymous elements get created in the body element.
That's why they become susceptible to style changes when the position of
the body element becomes relative.
Isn't it better when all anonymous content (drag handles, shadowimage,
resizing info box) gets created in the root content?
I completely removed the parameter (parentContent) in several functions
inside nsHTMLAnonymousUtils.cpp.
I just tried this in my debug build (of Firefox). It seems to work well,
and it solves this bug.
But maybe I am creating new bugs? Or removing functionality that's needed?
The problem is the following one : you can't add a span as child of the root
element of an HTML document, that's invalid markup, and I don't want to run
into bad side effects just because we create an invalid document instance...
</Daniel>
_______________________________________________
mozilla-editor mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-editor