Skip to content
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

[stable26] Ungroup placeholder css rules #38487

Merged
merged 1 commit into from
Jun 7, 2023
Merged

Conversation

susnux
Copy link
Contributor

@susnux susnux commented May 26, 2023

Summary

When rules are grouped using the comma operator and one selector is invalid / unknown then the whole group is invalidated[1]. In this case ::-ms-input-placeholder is unknown to Firefox and Chrome, so the ::placeholder rule is never applied. [1]: https://www.w3.org/TR/selectors-3/#grouping

Checklist

@susnux susnux added the 3. to review Waiting for reviews label May 26, 2023
@susnux susnux added this to the Nextcloud 26.0.3 milestone May 26, 2023
@susnux susnux requested review from a team, Fenn-CS, Pytal and szaimen and removed request for a team May 30, 2023 10:08
Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but didnt test

Copy link
Contributor

@Fenn-CS Fenn-CS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is not happy yet though :)

@susnux
Copy link
Contributor Author

susnux commented May 30, 2023

CI errors are unrelated (there are no PHP code changes)

@susnux susnux added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels May 30, 2023
…emoving all rules

When rules are grouped using the comma operator and one selector is invalid / unknown then the whole group is invalidated[1].
In this case `::-ms-input-placeholder` is unknown to Firefox and Chrome, so the `::placeholder` rule is never applied.
[1]: https://www.w3.org/TR/selectors-3/#grouping

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@susnux susnux enabled auto-merge June 7, 2023 12:31
@susnux susnux merged commit cb5a9fa into stable26 Jun 7, 2023
@susnux susnux deleted the backport/37522/stable26 branch June 7, 2023 13:14
@blizzz blizzz mentioned this pull request Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants