Skip to content

Commit

Permalink
fix(core): Ungroup placeholder css rules to prevent browsers from r…
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
susnux authored and backportbot-nextcloud[bot] committed Apr 18, 2023
1 parent e0a6006 commit 95829c7
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
Loading

0 comments on commit 95829c7

Please sign in to comment.