-
Notifications
You must be signed in to change notification settings - Fork 708
[css-ui-3] Remove outline-color: invert #423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What other means? Without proof, this seems like an invalid statement. How would you go about achieving this on an inline element that breaks into fragments (like a link in a document often does)? |
Sorry, I was too hasty in my bug. I agree that there are some use cases. Nevertheless I think |
I see your point. We would need to remove it before going to REC because that needs two implementations anyway. I think a fair first step would be to "mark it as risk". It can always be brought back in a future level if we have to remove it before going to REC. |
I understand that the invert option is difficult to implement performantly in many modern browser architectures. However:
So, browsers who do not want to implement that value are not forced to do so in order to claim compliance, and the spec can go to REC with this value in it. It seems to me we don't actually have a problem. Now, I agree that Presto isn't particularly relevant these days, and I am only raising it as something we can use to reach REC if we keep the value, not as a proof that this is useful. I think the original justification for the value is still valid (“ensure the focus border is visible, regardless of color background.”), and so long as at least one current browser (plus Presto, for REC purposes) supports it, I'd rather keep it in the spec. If everybody except historical browsers removed it, we could probably re-consider, but for now, it looks harmless. If you think that would help, I would be fine with rephrasing the criteria that allows browsers to opt out of supporting this value (“on platforms that do not support color inversion of the pixels”) to make it a bit looser / clearer so that browsers that could theoretically do it but for which it would be highly inconvenient / costly to do so are included. |
@chrishtr: in light of comment #423 (comment), are you comfortable with the spec staying as it is? Do you want a clarifying note / rephrasing? Do you still think a normative change is needed? |
I'd prefer to at least mark it as at risk, as Chrome does not intend to implement it at this time. |
While the justification for |
If microsoft wants to drop it from their implementation, I will have no qualms about dropping it from the spec as well. If they don't, I don't really see what harm it does to others: the spec gives implementer an opt out, and we have enough implementations for TR progression purposes. |
I don't mind doing so, but I don't see the benefit. At risk doesn't mean "not sure this is a good idea", it means "might drop if we don't have sufficient implementations to move along TR". We do have two implementations. Even if one isn't particularly relevant in terms of market share or market traction, it is as far as I know valid for demonstrating implementabilty. Ironically, process wise, I believe we would need to take the draft out of CR and to CR again to add the "at risk" mark, which would cause more delays than doing nothing. I don't mind adding "at risk" (since I don't think it makes a difference) if we end up publishing a new CR for some other reason, but process churn just for that reason seams overkill. |
Sorry for the late update. The CSSWG resolved a while back to reject the proposal to drop this from the spec (to be revisited if Edge decided to drop the feature) @chrishtr I'd appreciate if you could look at the meeting minutes linked to above, and let us know if you accept this conclusion |
Hi Florian, I think the conclusion is reasonable & acceptable. Thanks for the discussion. |
It's only implemented in Edge, and the effect can be achieved by other means. It should be removed from the spec.
https://drafts.csswg.org/css-ui-3/#outline-color
https://bugs.chromium.org/p/chromium/issues/detail?id=620391
The text was updated successfully, but these errors were encountered: