X
Tryk her for at gå til webstedets mobilversion.

Supportforum

Why do you only support text-stroke with the -webkit prefix i.e. -webkit-text-stroke

Skrevet

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?

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?

Ændret af info325 den

Citér

Yderligere systemdetaljer

Program

  • 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

Yderligere information

Luk
jscher2000
  • Top 10 Contributor
8639 løsninger 70667 svar

Hi info325, there is documentation on the MDN site:

https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke

-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:

https://compat.spec.whatwg.org/

Hi info325, there is documentation on the MDN site: https://developer.mozilla.org/docs/Web/CSS/-webkit-text-stroke <blockquote> -moz-text-stroke does not work. Why is this and how many other css rules are like this? Is this documented anywhere? </blockquote> 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: https://compat.spec.whatwg.org/
Fandt du dette nyttigt?
Citér
Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.