Problem/Motivation
We have a number of -ms- prefixed CSS properties:
-ms-animation
-ms-backface-visibility
-ms-check
-ms-clear
-ms-expand
-ms-fullscreen
-ms-grid-row
-ms-grid-row-align
-ms-hyphens
-ms-ime-align
-ms-keyframes
-ms-linear-gradient
-ms-touch-action
-ms-transform
-ms-transition
-ms-transition-property
-ms-user-select
We no longer support IE11 so we should be able to drop many if not all of these.
Steps to reproduce
Proposed resolution
Remaining tasks
Decide whether to do the same for -webkit- and -moz- properties.
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 3321006-9.patch | 21.6 KB | longwave |
| #5 | interdiff_3-4.txt | 436 bytes | nivethasubramaniyan |
| #5 | 3321006-4.patch | 16.21 KB | nivethasubramaniyan |
| #3 | 3321006-3.patch | 16.28 KB | longwave |
Comments
Comment #2
longwaveComment #3
longwaveComment #4
longwaveComment #5
nivethasubramaniyan commentedFixing CCF
Comment #6
longwaveThanks.
Not sure if we can remove this as well?
Comment #7
andypostThere's' a bunch of them could be greped in
core/.stylelintrc.jsonComment #8
smustgrave commentedThink this missed the 10.0 window
Patch #5 does not apply to 10.1
Is there additional work for #6 or #7?
Comment #9
longwaveRerolled and addressed #7.
#6 is still an open question but we could handle testing all the remaining
-ms-high-contrastrules in a followup?Comment #10
smustgrave commentedOpened up #3327405: Convert -ms-high-contrast to forced-colors for a follow up
Good to mark this one.
Comment #11
alexpottI've checked out the css properties on https://caniuse.com/ and edge supports the unprefixed version on all the removed -ms- properties.
We definitely should do the same for -moz- and -webkit- - we could also update the stylelintrc rule to prevent us adding them by accident in the future... https://stylelint.io/user-guide/rules/property-no-vendor-prefix/
Committed 2d12ec2 and pushed to 10.1.x. Thanks!