X
點擊此處開啟此網站的行動版。

技術支援討論區

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?

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

更多資訊

jscher2000
  • Top 10 Contributor
8635 個解決方法 70627 個答案

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/
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題