Remove nsResizerFrame.cpp (resizer XUL element)
Categories
(Core :: Layout, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox103 | --- | fixed |
People
(Reporter: ntim, Assigned: MatsPalmgren_bugz)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
This seems bound to the resizer
XUL element, which no longer seems used:
https://searchfox.org/mozilla-central/search?q=%3Cresizer&path=
https://searchfox.org/mozilla-central/search?q=createXULElement%28%22resizer%22&path=
https://searchfox.org/mozilla-central/search?q=createElement%28%22resizer%22&path=
https://searchfox.org/mozilla-central/search?q=createElementNS%28%22http%3A%2F%2Fwww.mozilla.org%2Fkeymaster%2Fgatekeeper%2Fthere.is.only.xul%22%2C+%22resizer%22&path=
I don't see the frame being used elsewhere either: https://searchfox.org/mozilla-central/search?q=NS_NewResizerFrame&path=
Assignee | ||
Comment 1•5 years ago
|
||
I think it's still used by scroll frames:
https://searchfox.org/mozilla-central/rev/55aa17110091deef24b913d033ccaf58f9c6d337/layout/generic/nsGfxScrollFrame.cpp#4922-4926
https://searchfox.org/mozilla-central/rev/55aa17110091deef24b913d033ccaf58f9c6d337/layout/base/nsCSSFrameConstructor.cpp#4136
So I don't think we can remove it.
Reporter | ||
Comment 2•5 years ago
|
||
Ah, good catch. It should probably be moved out of layout/xul
and be de-XULed then, given that the <resizer>
element is only used as anon content in resizable HTML elements. We should also be explicit about not allowing <resizer>
in other cases too.
Assignee | ||
Comment 3•4 years ago
|
||
I'm mostly moving the code verbatim, but I excluded a few bits
that handled resizers inside menu popup frames, e.g.
https://searchfox.org/mozilla-central/rev/7bb1cc6abf6634b2a20f71935e1e519e73402b63/layout/xul/nsResizerFrame.cpp#165-170
I don't think we need that functionallity anymore and it
simplifies the code to exclude it.
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D105926
Comment 5•4 years ago
|
||
There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:mats, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
Updated•2 years ago
|
Comment 8•2 years ago
|
||
Backed out for causing failures at test_resizer_ctrl_click.xhtml.
Backout link: https://hg.mozilla.org/integration/autoland/rev/27ea3966f4c9ab75a4e755ff4a2f8ee01322a427
Failure log: https://treeherder.mozilla.org/logviewer?job_id=380397561&repo=autoland&lineNumber=135942
Updated•2 years ago
|
Updated•2 years ago
|
Comment 10•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8fae0dee3f92
https://hg.mozilla.org/mozilla-central/rev/b11c52596655
Description
•