Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

difference between Safari web inspector strike throughs

In the below picture, the -webkit-box-shadow rule is crossed out in red while the -moz-box-shadow rule is crossed out in black.

What does each mean? (E.g. what is the difference between red and black strike through?)

Web Inspector crosses out different rules in different ways

like image 706
Joe Hansen Avatar asked Mar 10 '14 17:03

Joe Hansen


1 Answers

A red strike through indicates an error, such as an invalid value or a syntax error, and a black strike through means that the rule is ignored, usually because it has been overridden.

In your example, the -webkit-box-shadow rule is crossed out in red because of an invalid value (rbga instead of rgba).

like image 102
Alex Avatar answered Oct 11 '22 14:10

Alex