Bug 12328

Summary: editing/pasteboard/4641033 layout test is broken
Product: WebKit Reporter: Adele Peterson <adele>
Component: HTML EditingAssignee: Justin Garcia <justin.garcia>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, mitz
Priority: P1 Keywords: InRadar
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   

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