Bug 9982 - Document in designMode has cyan background (debug only)
Summary: Document in designMode has cyan background (debug only)
Status: RESOLVED DUPLICATE of bug 8535
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-18 03:58 PDT by David Kilzer (:ddkilzer)
Modified: 2006-07-18 12:06 PDT (History)
0 users

See Also:


Attachments
Support page for test (339 bytes, text/html)
2006-07-18 03:58 PDT, David Kilzer (:ddkilzer)
no flags Details
Test case (originally from Bug 8497) (1.44 KB, text/html)
2006-07-18 04:00 PDT, David Kilzer (:ddkilzer)
no flags Details
Snapshot of cyan background (80.30 KB, image/png)
2006-07-18 04:04 PDT, David Kilzer (:ddkilzer)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2006-07-18 03:58:18 PDT
In the test for Bug 8497, I noticed that selecting text and moving the cursor repaints the background as with white instead of the blue/green color that it starts with.  (I also can't figure out why the background is blue/green in the first place--is this the real bug?)
Comment 1 David Kilzer (:ddkilzer) 2006-07-18 03:58:54 PDT
Created attachment 9542 [details]
Support page for test
Comment 2 David Kilzer (:ddkilzer) 2006-07-18 04:00:07 PDT
Created attachment 9543 [details]
Test case (originally from Bug 8497)
Comment 3 David Kilzer (:ddkilzer) 2006-07-18 04:04:22 PDT
Created attachment 9544 [details]
Snapshot of cyan background
Comment 4 David Kilzer (:ddkilzer) 2006-07-18 04:13:51 PDT
Steps to reproduce:

1. Open test case (Attachment 9543 [details]) in Safari.

Expected results:

The background of the iframe should be white.

Actual results:

The background of the iframe is blue/green (see Attachment 9544 [details]).

Regression:

The expected results are seen with production Safari 2.0.4 (419.3).

Notes:

Tested on Mac OS X 10.4.7 (8J135/PowerPC).

Comment 5 Darin Adler 2006-07-18 08:34:28 PDT
The cyan background almost certainly the one painted by debug-only code in -[WebFrameView drawRect:]. It's likely it doesn't represent a real problem in release builds.
Comment 6 David Kilzer (:ddkilzer) 2006-07-18 09:12:40 PDT
(In reply to comment #5)
> The cyan background almost certainly the one painted by debug-only code in
> -[WebFrameView drawRect:]. It's likely it doesn't represent a real problem in
> release builds.

Well that would explain it!  I'll test with a local release build tonight unless someone else wants to close this before then.
Comment 7 Alexey Proskuryakov 2006-07-18 12:06:09 PDT
Yes, from the code it looks like this shouldn't cause any problems in release builds - but this is a bug anyway IMO, as it gives a false suggestion of repaint problems.

*** This bug has been marked as a duplicate of 8535 ***