Closed
Bug 200027
Opened 23 years ago
Closed 1 year ago
home and end snap inside of links when link is the first of last thing on the line
Categories
(Core :: DOM: Selection, defect)
Core
DOM: Selection
Tracking
()
RESOLVED
DUPLICATE
of bug 1357365
mozilla1.5alpha
People
(Reporter: mjudge, Unassigned)
References
Details
(Keywords: topembed+, Whiteboard: editorbase+)
Attachments
(2 files, 1 obsolete file)
|
16.50 KB,
patch
|
KaiE
:
review-
|
Details | Diff | Splinter Review |
|
5.26 KB,
patch
|
Details | Diff | Splinter Review |
open composer, drop link. click somewhere on page. hit home, type. see how the
link is continued and you cannot get out of the link without clicking.
patch that stops getcontentandoffsetsfrompoint from traversing children of a
frame that is a link. ONLY if the point passed in is outside of that frame.
marking editorbase for someone to + it
Status: NEW → ASSIGNED
Whiteboard: editorbase
Updated•23 years ago
|
re did patch. previous patch was confusing with the cvs diff options. this
basically shows the new GetContentOffsetsFromPoint method.
Attachment #118999 -
Attachment is obsolete: true
Attachment #120635 -
Flags: review?(kaie)
Comment 4•23 years ago
|
||
Comment on attachment 120635 [details] [diff] [review]
nicer patch for nsFrame.cpp
1)
You do
result = GetRect(thisRect);
but you are not checking result. Should you?
2)
You are calling GetClosestViewForFrame() (existing call)
and directly after it you are you calling GetOffsetFromView().
Might you be able to get rid of the call to GetClosesViewForFrame(),
and check the view returned from GetOffsetFromView for being not null?
3)
What about renaming "isLink" to "pointIsOutsideLink"?
Attachment #120635 -
Flags: review?(kaie) → review-
Comment 5•23 years ago
|
||
just have to fixup possibly bitrotted code and resubmit patch for review.
Target Milestone: --- → mozilla1.5alpha
Updated•16 years ago
|
Assignee: mjudge → nobody
Status: ASSIGNED → NEW
QA Contact: pmac → selection
Mass-removing myself from cc; search for 12b9dfe4-ece3-40dc-8d23-60e179f64ac1 or any reasonable part thereof, to mass-delete these notifications (and sorry!)
Updated•3 years ago
|
Severity: normal → S3
Now, Home and End should put caret before/after the first/last link.
You need to log in
before you can comment on or make changes to this bug.
Description
•