Steps to replicate the issue
- Edit de:Template:MediaWiki-Button/styles.css
- Try to assign any var() to border-color (see lines 105, 115).
- Especially border-color: var(--border-color-progressive--hover,#447ff5);
What happens?:
- Sanitizer refuses publishing, complaining about such lines.
- Sanitizer will accept assignment to various other properties.
- Sanitizer does accept background-color: var(--border-color-progressive,#3366cc);
- Sanitizer does accept color: var(--color-progressive--hover,#447ff5);
What should have happened instead?:
- Sanitizer should accept border-color: var();
- There is no higher risk of border-color rather than background-color