Closed Bug 1926031 Opened 1 year ago Closed 1 year ago

clean up selection scrollIntoView native callers

Categories

(Core :: DOM: Selection, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(7 files)

No description provided.
Flags: needinfo?(emilio)

The mix of 2, 3, and 4-space indent really was throwing me off.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Flags: needinfo?(emilio)

Note that the casts are ugly but they will go away sooner rather than
later.

No point in keeping the code around.

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/59dfc493f109 Fix whitespace in nsISelectionController.idl. r=jjaschke,masayuki https://hg.mozilla.org/integration/autoland/rev/036afe7c5b49 Remove unused NS_ISELECTIONCONTROLLER_CID. r=jjaschke,masayuki
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9531eaa37dc2 Use the actual flags to define ScrollFlags::AnchorScrollFlags. r=jjaschke,masayuki
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/525527d1b275 Use a cenum for selection controller scroll flags. r=jjaschke,masayuki https://hg.mozilla.org/integration/autoland/rev/517a92aa9abc Remove unused SCROLL_FOR_CARET_MOVE. r=jjaschke,masayuki https://hg.mozilla.org/integration/autoland/rev/32246e2df565 apply code formatting via Lando
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c68a7cef14a Make Selection::ScrollIntoView take ScrollFlags. r=jjaschke,masayuki https://hg.mozilla.org/integration/autoland/rev/0ea5694ab077 Add a more c++-friendly nsISelectionController::ScrollSelectionIntoView. r=jjaschke,masayuki

FYI, while looking into this I found a bunch of JS callers still using true as the third argument, which I guess works, but doesn't feel right.

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

Attachment

General

Created:
Updated:
Size: