Bug caused by css writing errors

excuse me:

  1. Will the

    css code report an error? For example, a property name or attribute value is miswritten, or the style is not written in the selector

    1.
    div{
       width:pink;
       display:noner;
    }
    
    2.
    overflow:hidden;
    div{
       width:100px;
    }
  2. does the console prompt if there is an error in css?
  3. There is an error in
  4. css. Will all the code after the error be terminated?
< hr >

the result of my test is:

  1. if there is only a writing error in the property in the selector, the error will not be reported. The following code executes normally
  2. if the property is not written in the selector, the error will not be reported, the code inside the next selector of the error code will not be executed, and the rest will be normal.

I hope someone can help me analyze and analyze the underlying foundation of this css.

Css
Mar.06,2021

will report an error. There will be an exclamation point on the right side of style. An attribute or value in a {} is miswritten. If there is a semicolon, only the semicolon cannot be rendered. If the semicolon is not written, it cannot be rendered from the beginning of the wrong semicolon to the next semicolon. Writing the attribute outside {} will affect the next {}, while others have no effect

.
Menu