Bug 12328 - editing/pasteboard/4641033 layout test is broken
Summary: editing/pasteboard/4641033 layout test is broken
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 420+
Hardware: Macintosh OS X 10.4
: P1 Normal
Assignee: Justin Garcia
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2007-01-18 17:32 PST by Adele Peterson
Modified: 2007-01-22 17:49 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adele Peterson 2007-01-18 17:32:09 PST
editing/pasteboard/4641033 layout test is broken

This occurred after checkin r18913 to fix http://bugs.webkit.org/show_bug.cgi?id=11278
REGRESSION: Popup width doesn't change to accommodate dynamic changes to options
Comment 1 mitz 2007-01-19 02:20:48 PST
Fixing bug 11278 exposed an existing problem in the code, which is that the selection granularity maintained in the Frame is not reset properly when the selection is cleared (as happens when navigating to this test from the preceding one) and in other situations where it should be reset. This makes copy and paste behave differently in this test depending on what happened in previous tests, resulting in an extra space being pasted inside the last <option> in the <select> (where this should happen under any circumstances is also questionable). Now that <select>s resize properly, the extra space is reflected in the width of the popup.
Comment 2 Darin Adler 2007-01-21 18:06:34 PST
We should fix both things:

    1) lets not leave the granularity around when the selection is cleared
    2) lets not insert whitespace inside <option> elements
Comment 3 Mark Rowe (bdash) 2007-01-21 19:53:39 PST
<rdar://problem/4944770>
Comment 4 Justin Garcia 2007-01-22 17:49:33 PST
r19036