Closed Bug 1350147 Opened 7 years ago Closed 7 years ago

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

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

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.
Attached patch patchSplinter Review
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: 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+
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/1a2765fbc74e
Remove -moz-bound-element pseudo-class. r=xidorn
https://hg.mozilla.org/mozilla-central/rev/1a2765fbc74e
Status: NEW → RESOLVED
Closed: 7 years ago
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.
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
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: