On Tue, Feb 23, 2021 at 9:49 PM fantasai <fantasai.li...@inkedblade.net> wrote:
> We wanted it to be flexible enough that UAs could experiment with behavior and
> improve usability over time, so we locked down the one period in time that we
> felt was not up for debate (between attempted submission and next interaction
> with the invalid input) and left the rest open to interpretation.

I played with this some more and I think that might be a tad too
vague. E.g., if you cancel an invalid event Firefox will no longer
show UI messages to the user about filling in a form control, but
:-moz-ui-invalid still matches (see
https://software.hixie.ch/utilities/js/live-dom-viewer/saved/8957 for
a demo). And flexibility here is tough as web developers likely want
these to be fully deterministic to be able to build consistent
experiences.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to