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

[stable25] Ungroup placeholder css rules to prevent browsers from removing all rules #37829

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Apr 19, 2023

Backport of #37522

…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 <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
@susnux susnux added bug design Design, UI, UX, etc. 3. to review Waiting for reviews labels Apr 19, 2023
@susnux susnux requested review from szaimen, skjnldsv and Pytal April 19, 2023 22:35
@szaimen szaimen added this to the Nextcloud 25.0.7 milestone Apr 19, 2023
@skjnldsv skjnldsv merged commit 4dbb31a into stable25 Apr 20, 2023
@skjnldsv skjnldsv deleted the backport/stable25-37522 branch April 20, 2023 06:37
@blizzz blizzz mentioned this pull request May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug design Design, UI, UX, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants