Last Comment Bug 674484 - Move form controls' selection handling (Get/SetSelectionStart/End) from layout to content
: Move form controls' selection handling (Get/SetSelectionStart/End) from layou...
Status: NEW
:
Product: Core
Classification: Components
Component: Layout: Form Controls (show other bugs)
: Trunk
: All All
: -- normal with 1 vote (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
: Jet Villegas (:jet)
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-27 03:07 PDT by Olli Pettay [:smaug]
Modified: 2011-07-28 08:48 PDT (History)
4 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Olli Pettay [:smaug] 2011-07-27 03:07:57 PDT
Looks like the methods in nsHTML***Element calls nsTextControlFrame
which gets editor from nsHTML***Element and takes the necessary data from
the editor.
There shouldn't be no need for the nsTextControlFrame part
Comment 1 :Ehsan Akhgari 2011-07-28 08:48:44 PDT
Hmm, well, the editor gets the selection information from layout.  Does bug 674820 cover what you were aiming for here?

Note You need to log in before you can comment on or make changes to this bug.