Hi,

In bug 1694141 I plan to unprefix :-moz-ui-valid and :-moz-ui-invalid pseudo-classes. These are useful pseudo-classes to determine when to show feedback to the user about a form control being invalid.

Standard: https://drafts.csswg.org/selectors/#user-pseudos

Platform coverage: all

Preference: None

Devtools bug: N/A

Other browsers: No signal from other vendors, though we've shipped this functionality for quite a while and the CSS working group considers it useful, see discussions:

 * https://lists.w3.org/Archives/Public/www-style/2012Aug/0749.html
 * https://lists.w3.org/Archives/Public/www-style/2015Sep/0111.html

I'm hoping that unprefixing it in Gecko will serve as a bit of a nag to other browsers.

Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1156069

WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=222267

web-platform-tests: There's a test for :user-invalid in css/selectors. I plan to add a test for :user-valid. There's https://github.com/web-platform-tests/wpt/issues/9346 on file for adding WPTs that test the user-interaction part of this.

Let me know if you have any objections about this change, but I think having a prefixed pseudo-class for this is not a great state of affairs.

 -- Emilio
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to