Closed
Bug 1380375
Opened 7 years ago
Closed 7 years ago
Free up element bit used by scrollgrab
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
References
Details
Attachments
(1 file)
5.59 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
Now that B2G is gone there's no code in tree that actually modifies the scrollgrab flag on Element. We can remove some of this code and free up the flag for other purposes.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → bugmail
Assignee | ||
Comment 1•7 years ago
|
||
(I'm working on the patch for this. It's good free up the bit even if we don't use it for keyboard scrolling in bug 1379280).
Assignee | ||
Comment 2•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3173ca66e96902bccd8c5c9afcb1ee0122fa032a
Assignee | ||
Comment 3•7 years ago
|
||
Attachment #8885841 -
Flags: review?(bugs)
Comment 4•7 years ago
|
||
Comment on attachment 8885841 [details] [diff] [review] Patch > >- // Set if this element is marked as 'scrollgrab' (see bug 912666) >- ELEMENT_HAS_SCROLLGRAB = ELEMENT_FLAG_BIT(5), >- > // Remaining bits are for subclasses > ELEMENT_TYPE_SPECIFIC_BITS_OFFSET = NODE_TYPE_SPECIFIC_BITS_OFFSET + 6 Not sure whether we want to move the extra bit to nsINode or whether we should have ELEMENT_TYPE_SPECIFIC_BITS_OFFSET = NODE_TYPE_SPECIFIC_BITS_OFFSET + 5. But at least add a comment in place of ELEMENT_HAS_SCROLLGRAB that bit 5 is unused.
Attachment #8885841 -
Flags: review?(bugs) → review+
Pushed by kgupta@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/61c6ddbcf8a9 Remove the DOM bindings for the unused scrollgrab feature. r=smaug
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/61c6ddbcf8a9
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•