Open Bug 982145 Opened 10 years ago Updated 2 years ago

Stop assuming that we have a frame around for the input/textarea selection APIs

Categories

(Core :: DOM: Core & HTML, defect, P5)

x86
macOS
defect

Tracking

()

People

(Reporter: ehsan.akhgari, Unassigned, Mentored)

References

Details

(Whiteboard: [lang=c++])

Follow-up from bug 981652.

We should store the selection information in the nsTextEditorState's selection cache even if we start off without a frame, and make sure that nsTextEditorState will properly restore that information if we gain a frame in the future (that part should work fine already.)

We should also ensure that we never throw an exception from the selection APIs because we don't have a frame around.
Blocks: 981652
This will be a good bug for someone who has experience hacking on Gecko.  Ideally you should be familiar with what the DOM tree and the frame tree are, what reframing means, what it means for an element to not have a frame, etc.  This is not suitable as a first bug.
Whiteboard: [mentor=ehsan][lang=c++]
Mentor: ehsan
Whiteboard: [mentor=ehsan][lang=c++] → [lang=c++]
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.