搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

In Inspector, Computed tab only some properties have strikethrough

  • 無回覆
  • 0 有這個問題
  • 11 次檢視
more options

I'm looking in Web Developer Tools> Inspector> Layout Pane> Computed View at a specific CSS property. Expanding the property shows all the rules that tried to set the property, I suppose in decreasing order of CSS priority. Why do some of those rules have a strikethrough, and others not?

I know that a strikethrough often indicates that a rule has been superseded. But in this case, all of the rules (except for the topmost one) have been superseded. And yet, only some of those overridden rules have a strikethrough, and sometimes none of them do. So what does the strikethrough indicate?

I've attached a screenshot with an example.

I'm looking in Web Developer Tools> Inspector> Layout Pane> Computed View at a specific CSS property. Expanding the property shows all the rules that tried to set the property, I suppose in decreasing order of CSS priority. Why do some of those rules have a strikethrough, and others not? I know that a strikethrough often indicates that a rule has been superseded. But in this case, ''all'' of the rules (except for the topmost one) have been superseded. And yet, only some of those overridden rules have a strikethrough, and sometimes none of them do. So what does the strikethrough indicate? I've attached a screenshot with an example.
附加的畫面擷圖

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題