Summary: | REGRESSION (NativeTextField): New text fields don't scroll to the beginning when losing focus | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | mitz | ||||||
Component: | Forms | Assignee: | Darin Adler <darin> | ||||||
Status: | VERIFIED FIXED | ||||||||
Severity: | Normal | Keywords: | Regression | ||||||
Priority: | P1 | ||||||||
Version: | 420+ | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.4 | ||||||||
Attachments: |
|
Description
mitz
2006-03-31 09:51:28 PST
I've got a fix for this one. Created attachment 7437 [details]
patch with detailed change log and a layout test
Comment on attachment 7437 [details]
patch with detailed change log and a layout test
r=me
RTL fields should scroll all the way to the right. The patch made them scroll to the left :-\ (In reply to comment #4) > RTL fields should scroll all the way to the right. The patch made them scroll > to the left :-\ I have to admit I even thought of that, but I wasn't sure how to code that correctly. I think I have the code right to handle RTL correctly now, but only for the "blur" case, not for text fields that never had focus in the first place. By the way, Firefox does not have this behavior for text fields. You could even consider this an anomaly of AppKit text fields. The reason they scroll to the beginning when they lose focus is that the base field has no scrolling capability, only the field editor does. So I'm not entirely sure it was a good idea for me to have fixed this! Created attachment 7456 [details]
patch to handle RTL case, including adding it to the test case
These are all text field regressions so they should all be P1. |