Closed
Bug 1584283
Opened 5 years ago
Closed 5 years ago
Stop using xul:wizard as a root element and migrate consumers to xul:window[role=dialog] with the wizard as the only child
Categories
(Toolkit :: UI Widgets, task, P5)
Toolkit
UI Widgets
Tracking
()
RESOLVED
FIXED
mozilla72
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: bgrins, Assigned: bytesized)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
+++ This bug was initially created as a clone of Bug #1583377 +++
Similar to xul:page, I'd like to stop using non-window xul root elements in order to make migration to html roots easier.
There are only two consumers of this element in m-c: https://searchfox.org/mozilla-central/search?q=%3Cwizard&path=.
- There are two places in the platform that treat wizard specially https://searchfox.org/mozilla-central/search?q=%3A%3Awizard&path=. One is just because it's a root element, and the other is an accessible place that I believe can be fixed by using [role=dialog] on the new root: https://searchfox.org/mozilla-central/rev/f1e99da78fe6c3c68696358dac06aed90f8112d3/accessible/generic/RootAccessible.cpp#89.
- There are also hits in JS such as document.documentElement.rewind, document.documentElement.cancel, etc (https://searchfox.org/mozilla-central/rev/f1e99da78fe6c3c68696358dac06aed90f8112d3/toolkit/content/widgets/wizard.js#472) which depend on the documentElement being the <wizard> custom element with these properties. Those calls should be able to switch to
this
within the wizard CE and to a reference to the DOM node from any external callers (if any). - Some of the CSS (when it's treating wizard as a root element) can be removed as well: https://searchfox.org/mozilla-central/search?q=%5Ewizard®exp=true&path=.css.
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → ksteuber
Assignee | ||
Comment 1•5 years ago
|
||
Reporter | ||
Updated•5 years ago
|
Summary: Remove xul:wizard and migrate consumers to xul:window[role=dialog] with the wizard as the only child → Stop using xul:wizard as a root element and migrate consumers to xul:window[role=dialog] with the wizard as the only child
Updated•5 years ago
|
Attachment #9100339 -
Attachment description: Bug 1584283 - Remove xul:wizard and migrate consumers to xul:window[role=dialog] with the wizard as the only child r=bgrins,surkov → Bug 1584283 - Stop using xul:wizard as a root element and migrate consumers to xul:window[role=dialog] with the wizard as the only child r=bgrins,surkov
Pushed by ksteuber@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/01007f3333ea
Stop using xul:wizard as a root element and migrate consumers to xul:window[role=dialog] with the wizard as the only child r=surkov
Comment 3•5 years ago
•
|
||
Backed out changeset 01007f3333ea (bug 1584283) for Browser-chrome failures in widget/tests/browser/browser_test_procinfo.js
Log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=272491127&repo=autoland&lineNumber=926
Backout:
https://hg.mozilla.org/integration/autoland/rev/e9eb4eef6826b6834378edbcc7fd40747c6fc388
The failures didn't actually started with this push, hence it was relaned and NI was canceled.
Flags: needinfo?(ksteuber)
Pushed by dvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/59f238b4844f
Stop using xul:wizard as a root element and migrate consumers to xul:window[role=dialog] with the wizard as the only child r=surkov. On a CLOSED TREE
Updated•5 years ago
|
Flags: needinfo?(ksteuber)
Comment 5•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in
before you can comment on or make changes to this bug.
Description
•