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
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.
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
<rdar://problem/4944770>
r19036