Closed Bug 1920118 Opened 1 month ago Closed 1 month ago

Try to unship moz-user-modify.

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(2 files)

Its only effect is whether we show a caret in content (so you can undisplay the caret on editable stuff or so), but that's not documented (https://developer.mozilla.org/en-US/docs/Web/CSS/user-modify claims it has no effect at all). Let's try to unship it behind a pref.

I think this is trying to make spellcheck work on designmode, but it
never works because getComputedStyle's second argument is a
pseudo-element, not a property name.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

-moz-user-modify is a prefixed CSS property which does almost nothing.

It has some effect on caret painting (as in, you could make a
contenteditable element not paint the caret), but there are better ways
of doing that (caret-color: transparent or so).

It is also documented to do nothing in MDN.

Given that, I plan to try to remove it. Only real risk is that someone
uses for feature detection or so, so I expect the risk to be pretty
minimal.

Keywords: dev-doc-needed
Blocks: 1388910
Attachment #9426204 - Attachment description: Bug 1920118 - Remove noop bit of code in InlineSpellChecker. r=Gijs → Bug 1920118 - Don't look at -moz-user-modify in InlineSpellChecker. r=Gijs
No longer blocks: 1920033
Depends on: 1920033
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4ef7651b6fb9 Don't look at -moz-user-modify in InlineSpellChecker. r=Gijs https://hg.mozilla.org/integration/autoland/rev/91c94dc113f8 Unship -moz-user-modify. r=dholbert
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/c25fb46f44d5 Call SimpleTest.finish() in test_bug442801.html.
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch

Related Pull Requests

Regressions: 1925365
Blocks: 1788820
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: