Closed
Bug 274857
Opened 20 years ago
Closed 20 years ago
Pressing Ctrl+Backspace twice in an RTL textarea crashes the browser
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bugzillamozilla, Assigned: ginnchen+exoracle)
References
()
Details
(Keywords: crash, regression, rtl)
Attachments
(2 files)
|
58.90 KB,
application/x-zip-compressed
|
Details | |
|
924 bytes,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
To reproduce: 1. Open http://oren.gomen.org/mozilla/blank_textareas.html 2. Place the caret in the RTL textarea (upper one) 3. Press Ctrl+Backspace twice Result: Mozilla crashes. UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20041215 This bug doesn't occur with v1.7.x nor with FF 1.x. I'll try to find the exact build where it regressed a bit later today. Crash dump coming. Prog.
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Updated•20 years ago
|
Flags: blocking1.8a6?
Comment 2•20 years ago
|
||
Backing out bug 256252 prevents the crash.
This is Ginn's...
Updated•20 years ago
|
It seems there's a dead circle in nsTextFrame::PeekOffset when pressing ctrl+left/right arrow or ctrl+backspace. I'll look into it.
Status: NEW → ASSIGNED
back out one line for RTL, now ctrl+left/right/backspace does same behaviour with Mozilla 1.4. For LTR, we should not set mAmount to eSelectNoAmount, otherwise it will break linux/unix testcase 1 and windows testcase 2 in bug 256252.
Assignee: mkaply → ginn.chen
Attachment #168929 -
Flags: superreview?(roc)
Attachment #168929 -
Flags: review?(roc)
Attachment #168929 -
Flags: superreview?(roc)
Attachment #168929 -
Flags: superreview+
Attachment #168929 -
Flags: review?(roc)
Attachment #168929 -
Flags: review+
Checking in nsFrame.cpp; /cvsroot/mozilla/layout/generic/nsFrame.cpp,v <-- nsFrame.cpp new revision: 3.532; previous revision: 3.531 done I think we may remove these lines, after solving Bug 207186.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Flags: blocking1.8a6?
Resolution: --- → FIXED
Comment 8•17 years ago
|
||
Mass-assigning the new rtl keyword to RTL-related (see bug 349193).
Keywords: rtl
Component: Layout: BiDi Hebrew & Arabic → Layout: Text
QA Contact: zach → layout.fonts-and-text
You need to log in
before you can comment on or make changes to this bug.
Description
•