Closed
Bug 1410540
Opened 7 years ago
Closed 7 years ago
Remove the 'viewbutton' XBL binding and pageInfo.xml
Categories
(Firefox :: Page Info Window, task)
Firefox
Page Info Window
Tracking
()
RESOLVED
FIXED
Firefox 58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: bgrins, Assigned: bgrins)
References
Details
(Whiteboard: [xbl-flatten-inheritance])
Attachments
(2 files)
The viewbutton binding seems to be a way to control the display of the radiogroup radio headers in the page info window (i.e. "General", "Media", "Security", etc).
We used to support extensions injecting new headers through an overlay (https://dxr.mozilla.org/mozilla-central/source/browser/base/content/pageinfo/pageInfo.xul#84). Since that's not needed anymore, I'm assuming we can remove the XBL binding and modify the markup as needed in the radiogroup to keep things looking the same.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8920708 [details]
Bug 1410540 - Remove the 'viewbutton' XBL binding and pageInfo.xml;
https://reviewboard.mozilla.org/r/191706/#review198060
::: commit-message-d1e99:4
(Diff revision 3)
> +Bug 1410540 - Remove the 'viewbutton' XBL binding and pageInfo.xml;r=dao
> +
> +Instead of creating a new binding that extends the radio binding to remove the actual
> +radio input from the DOM, with this change we use the platform-specific radio bindings
Hmm, we should get rid of the platform-specific bindings, which should simplify this patch. I did that for <checkbox/> in bug 1345432. Mind doing the same here?
Attachment #8920708 -
Flags: review?(dao+bmo)
Assignee | ||
Comment 7•7 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #6)
> Comment on attachment 8920708 [details]
> Bug 1410540 - Remove the 'viewbutton' XBL binding and pageInfo.xml;
>
> https://reviewboard.mozilla.org/r/191706/#review198060
>
> ::: commit-message-d1e99:4
> (Diff revision 3)
> > +Bug 1410540 - Remove the 'viewbutton' XBL binding and pageInfo.xml;r=dao
> > +
> > +Instead of creating a new binding that extends the radio binding to remove the actual
> > +radio input from the DOM, with this change we use the platform-specific radio bindings
>
> Hmm, we should get rid of the platform-specific bindings, which should
> simplify this patch. I did that for <checkbox/> in bug 1345432. Mind doing
> the same here?
That sounds like a good idea and should ultimately make migration to a Custom Element for radios easier - I filed Bug 1411640 for that
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8921182 [details]
Bug 1410540 - Merge viewbutton.css into pageInfo.css for osx;
https://reviewboard.mozilla.org/r/192170/#review200412
not sure if this patch is still relevant on its own
Attachment #8921182 -
Flags: review?(dao+bmo)
Assignee | ||
Comment 9•7 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #8)
> not sure if this patch is still relevant on its own
It's not - this is blocked on Bug 1411640
Assignee | ||
Updated•7 years ago
|
Whiteboard: [xbl-flatten-inheritance]
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 12•7 years ago
|
||
Rebased and updated now that we have a unified radio binding after bug 1411640
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Comment 13•7 years ago
|
||
mozreview-review |
Comment on attachment 8920708 [details]
Bug 1410540 - Remove the 'viewbutton' XBL binding and pageInfo.xml;
https://reviewboard.mozilla.org/r/191706/#review202848
::: commit-message-d1e99:4
(Diff revision 4)
> +Bug 1410540 - Remove the 'viewbutton' XBL binding and pageInfo.xml;r=dao
> +
> +Instead of creating a new binding that extends the radio binding to remove the actual
> +radio input from the DOM, with this change we use the platform-specific radio bindings
s/platform-specific radio bindings/default radio binding/
Attachment #8920708 -
Flags: review?(dao+bmo) → review+
Comment 14•7 years ago
|
||
mozreview-review |
Comment on attachment 8921182 [details]
Bug 1410540 - Merge viewbutton.css into pageInfo.css for osx;
https://reviewboard.mozilla.org/r/192170/#review202850
Attachment #8921182 -
Flags: review?(dao+bmo) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 17•7 years ago
|
||
Pushed by bgrinstead@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/765f81d5cd73
Remove the 'viewbutton' XBL binding and pageInfo.xml;r=dao
https://hg.mozilla.org/integration/autoland/rev/f1b40946cdbe
Merge viewbutton.css into pageInfo.css for osx;r=dao
![]() |
||
Comment 18•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/765f81d5cd73
https://hg.mozilla.org/mozilla-central/rev/f1b40946cdbe
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Updated•6 years ago
|
Type: enhancement → task
You need to log in
before you can comment on or make changes to this bug.
Description
•