Why do you only support text-stroke with the -webkit prefix i.e. -webkit-text-stroke
It is not generally know that you can use -webkit-text-stroke in firefox. -moz-text-stroke does not work. Why is this and how many other css rules are like this? Is this documented anywhere?
由 info325 於 修改
- User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Safari/605.1.15
Hi info325, there is documentation on the MDN site:
-moz-text-stroke does not work. Why is this and how many other css rules are like this? Is this documented anywhere?
Vendor-prefixed properties usually get standardized eventually. It appears that text-stroke is one of a number of exceptions that is NOT going to be standardized, and will always be a webkit property. It's on a list of webkit properties that other browsers are supposed to support for compatibility: