Re: [csswg-drafts] [css-ui] 'input-security' considered harmful (#6788)

The CSS Working Group just discussed `input-security considered harmful`.

<details><summary>The full IRC log of that discussion</summary>
&lt;TabAtkins> Topic: input-security considered harmful<br>
&lt;TabAtkins> github: https://github.com/w3c/csswg-drafts/issues/6788<br>
&lt;TabAtkins> florian: I disagreed with just one of his statements, not all<br>
&lt;TabAtkins> florian: In UI4 we introduced 'input-security: auto | none'<br>
&lt;TabAtkins> florian: 'auto' does nothing by default, but on password fields (and other host-defined "sensitive" things) it obscures the text via *** or whatever<br>
&lt;TabAtkins> florian: 'none' turns that off<br>
&lt;TabAtkins> florian: Mats says this is a useful feature, but shouldn't be under the author's control, needing them to use JS on things.<br>
&lt;TabAtkins> florian: UAs are also much more likely to get a11y right on things like this.<br>
&lt;TabAtkins> dholbert: Also Edge already does this by default with a little button on password fields<br>
&lt;TabAtkins> astearns: Anyone implemented the CSS value?<br>
&lt;TabAtkins> TabAtkins: WebKit did, Chrome inherited it pre-fork<br>
&lt;fantasai> TabAtkins: Not ok to drop without a replacement<br>
&lt;fantasai> TabAtkins: maybe mark as deprecated and that we will remove, once HTML spec is updated to require<br>
&lt;fantasai> TabAtkins: No mandatory UI, but required functionality<br>
&lt;TabAtkins> smfr: I don't have much of an opinion.<br>
&lt;TabAtkins> smfr: If we need it internally we can keep it internally, don't have a strong opinion<br>
&lt;fantasai> florian: Can we not have the dependency on HTML?<br>
&lt;fantasai> TabAtkins: The functionality is useful<br>
&lt;fantasai> TabAtkins: optimal place is not in CSS, but if we don't have the functionality otherwise should leave it in<br>
&lt;fantasai> florian: I'm saying we drop it from CSS now, and encourage browsers to do the right thing<br>
&lt;fantasai> florian: rather than not removing it now<br>
&lt;fantasai> TabAtkins: That falls into the failure mode that's likely, which is that we remove it and nothing happens to HTML<br>
&lt;fantasai> TabAtkins: and I think this is useful enough for users that we shouldn't encourage nothing<br>
&lt;oriol> Firefox also has a UA button to show text (like Edge) behind pref:  layout.forms.input-type-show-password-button.enabled<br>
&lt;fantasai> florian: Chrome has it?<br>
&lt;fantasai> TabAtkins: yeah<br>
&lt;fantasai> florian: Edge has it?<br>
&lt;fantasai> dholbert: Firefox also has it on Nightly<br>
&lt;fantasai> florian: So seems like the scenario of not having it is unlikely<br>
&lt;fantasai> Rossen: talking about the property?<br>
&lt;fantasai> florian: The behavior of being able to reveal the passwrod<br>
&lt;jensimmons> Issue at HTML: https://github.com/whatwg/html/issues/7293<br>
&lt;fantasai> TabAtkins: We don't have it in Chrome<br>
&lt;fantasai> ??: We disabled in Chrome because of compat issues<br>
&lt;fantasai> astearns: Issue in HTML spec?<br>
&lt;fantasai> scribe+<br>
&lt;fantasai> astearns: That issue mentions something I'm concerned about, which is the HTML spec might need a CSS definition in order to say "here's what happens"<br>
&lt;fantasai> astearns: with this attribute or UI<br>
&lt;fantasai> florian: OK, maybe let's go back to what Tab suggests<br>
&lt;fantasai> florian: Resolve, we would like to remove this, would like it to be in HTML<br>
&lt;fantasai> astearns: So adding an issue to draft, we'd like to remove pls don't implement?<br>
&lt;fantasai> dholbert: My concern is that if we leave it, HTML spec might point at CSS for how to do it, and then JS can set in buggy ways<br>
&lt;fantasai> astearns: Note would say we'd like to remove, pls don't implement property, and HTML should define in a way that doesn't depend on CSS<br>
&lt;fantasai> florian: Tess is arguing for what we are saying to not do<br>
&lt;fantasai> astearns: Which is we should make it an issue and get Tess's input<br>
&lt;fantasai> Tim_Nguyen: Issue on our side was that inputs tend to have buttons for e.g. password autocomplete, and would need UI that wouldn't interfere<br>
&lt;fantasai> astearns: Sounds like we're not going to resolve any spec edits today, but let's add an issue to the draft saying we'd like to remove this<br>
&lt;fantasai> astearns: Proposed resolution is to put our recommendation into an issue in the draft, and come back to it later when we can get more discussion on it<br>
&lt;fantasai> astearns: Objections?<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6788#issuecomment-1016634878 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 19 January 2022 16:22:11 UTC