Consider removing the -moz-bound-element pseudo-class.

RESOLVED FIXED in Firefox 55

Status

()

Core
CSS Parsing and Computation
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: emilio, Assigned: emilio)

Tracking

(Blocks: 1 bug, {dev-doc-complete})

unspecified
mozilla55
dev-doc-complete
Points:
---

Firefox Tracking Flags

(firefox55 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

a year ago
I was going through pseudo-classes for bug 1350140, and leaving comments with the missing ones, when I saw the :-moz-bound-element pseudo-class.

This is somewhat tricky to implement in Stylo (doable still, I guess), but it seems completely unused, both in mozilla-central and in the addons code.

We should consider removing support for it.
(Assignee)

Comment 1

a year ago
Created attachment 8850793 [details] [diff] [review]
patch

Not sure if I should ask for review... Should I send an intent-to-unship or something?
Since this is something exposed to web content, we probably should have an intend to unship.
(Assignee)

Updated

a year ago
Assignee: nobody → emilio+bugs
So this was added in bug 71261 (quite old, hmmm)

Given it is not used anywhere, I think it's okay to remove.
Attachment #8850793 - Flags: review?(xidorn+moz) → review+

Comment 5

a year ago
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1a2765fbc74e
Remove -moz-bound-element pseudo-class. r=xidorn

Comment 6

a year ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/1a2765fbc74e
Status: NEW → RESOLVED
Last Resolved: a year ago
status-firefox55: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
I'd like to document it's removal at https://developer.mozilla.org/en-US/docs/Web/CSS/:-moz-bound-element, though first need to create that page.

Jean-Yves, do you believe it's worth the effort or should we rather remove references to it from MDN?
Emilio, what was the pseudo-class actually meant for?

Sebastian
Flags: needinfo?(jypenator)
Flags: needinfo?(emilio+bugs)
Keywords: dev-doc-needed
If it wasn't documented already, it seems better to just leave it undocumented.
(Assignee)

Comment 9

a year ago
Right, I agree with David.

I haven't seen any reference in MDN apart from the one at https://developer.mozilla.org/en-US/docs/Web/CSS/Mozilla_Extensions#Pseudo-elements_and_pseudo-classes.
Flags: needinfo?(emilio+bugs)
Ok, I've removed it from the reference page.

Sebastian
Flags: needinfo?(jypenator)
For completeness I've mentioned its removal in the 55 developer release notes:
https://developer.mozilla.org/en-US/Firefox/Releases/55#CSS

Sebastian
Keywords: dev-doc-needed → dev-doc-complete
You need to log in before you can comment on or make changes to this bug.