Bug 12328
Summary: | editing/pasteboard/4641033 layout test is broken | ||
---|---|---|---|
Product: | WebKit | Reporter: | Adele Peterson <adele> |
Component: | HTML Editing | Assignee: | 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 |
Adele Peterson
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
mitz
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.
Darin Adler
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
Mark Rowe (bdash)
<rdar://problem/4944770>
Justin Garcia
r19036