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)

task
Not set
normal

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 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)
Depends on: 1411640
(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
Blocks: 1412369
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)
(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
Whiteboard: [xbl-flatten-inheritance]
Rebased and updated now that we have a unified radio binding after bug 1411640
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
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 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+
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
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Depends on: 1420287
Type: enhancement → task
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: