Closed
Bug 188165
Opened 23 years ago
Closed 20 years ago
caret gets stuck at invisible whitespace between tags
Categories
(Core :: DOM: Selection, defect)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: jruderman, Assigned: mjudge)
References
()
Details
(Keywords: access, testcase)
Attachments
(1 file)
|
728 bytes,
text/xml
|
Details |
The caret gets stuck after the space between "foo" and "bar" in the HTML
<p>foo <b> <i>bar</i></b></p>
Neither right, ctrl+right, left, nor ctrl+left can get past an invisible "wall"
just after the space. I noticed this on mozilla.org, where the caret gets stuck
just before italicized links in articles. (On mozilla.org, the tags involved
are <a> and <i>.)
This bug only happens when there is whitespace both before and after the <b> --
that is, when the whitespace after the <b> is invisible. This bug affects both
composer and caret browsing.
--> mjudge (caret/selection navigation)
Assignee: jfrancis → mjudge
Component: Editor: Core → Selection
Comment 2•23 years ago
|
||
This is the same problem I reported in Bug 130889, comment #3. Happily, my
fix given in comment #4 still works. (In 1.4a, it's line 4235 in nsFrame.cpp)
Comment 3•23 years ago
|
||
HTML testcase includes the original construction, as well as some other cases
I looked at.
Comment 4•21 years ago
|
||
test case WFM Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2)
Gecko/20050307 Firefox/1.0+ (w2k and XP)
anyone else agree it got fixed somewhere along the way?
Comment 5•20 years ago
|
||
(In reply to comment #4)
> anyone else agree it got fixed somewhere along the way?
Yes. The testcase also WFM on a recent OS X build. Resolving WFM.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
| Reporter | ||
Comment 6•20 years ago
|
||
WFM Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051005
Firefox/1.6a1
Status: RESOLVED → VERIFIED
Keywords: testcase
You need to log in
before you can comment on or make changes to this bug.
Description
•