Closed Bug 58121 Opened 24 years ago Closed 24 years ago

select all and changing style on this document causes blue boxes everywhere

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9

People

(Reporter: sujay, Assigned: sfraser_bugs)

References

()

Details

Attachments

(1 file)

using 10/26 build of netscape

1) launch netscape
2) jump to URL above
3) open in composer
4) Edit | Select All
5) change to either bold/italic

notice the blue rectangles everywhere around the text.
This was a side-effect of the form editing changes I landed ages ago.
Assignee: beppe → sfraser
Target Milestone: --- → mozilla0.9
moving this out to future -- we will try and resolve this when we can
Target Milestone: mozilla0.9 → Future
this bug really fries my bacon.  can we moz 0.9 it?  why is it p3?
Bring back to .9
Status: NEW → ASSIGNED
Target Milestone: Future → mozilla0.9
The fix is to not have nsHTMLContainerFrame::Paint call nsFrame::Paint, which was 
added so that some kinds of form control get blue boxes when selected in editor 
(but bug 48716 has an alternative fix for that).

Looking for r=/sr=
i can r this if no one else will, but i'd prefer mike or someone more familiar 
with this stuff to look at it.  I really want it to land though!  
Thanks for fixing this simon, you can have my r=/sr= depending on what you need 
if you can get either atinassi or rods to sign off on it.
I like the change - I don't want all container frames calling nsFrame::Paint, in
fact, I'm not even sure I like what nsFrame::Paint is doing at all, but then
several other frames are relying on it to do this. I'd prefer for nsFrame to
have a different method that takes care of the blue-box painting, and have that
method get called only when appropriate, like when in composer. Maybe mjudge
should check this out, he added that code I think.

Anyway, the change seems fine: [s]r=attinasi
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
did those squares look anything like the ones in right-hand column at
http://www.dn.no ?
I see no squares in the RH column at that site, and this bug fix only affects 
composer.
wohoo!!!
verified in 4/19 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: