1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Browser Issue Invalid CSS property

Discussion in 'Resolved Bug Reports' started by batpool52!, Jan 19, 2015.

  1. batpool52!

    batpool52! Well-Known Member

    Under template "form.css"
    .ctrlUnit > dd .explain
        /*TODO:max-width: auto;*/
    The TODO comment is creating invalid property warn under the inspector on the sign up page.

  2. Lawrence

    Lawrence Well-Known Member

    It happens on Chrome (and Opera IIRC) when there is no space separating the /* from the actual comment
    /* TODO: Something */
    batpool52! likes this.
  3. Mike

    Mike XenForo Developer Staff Member

    It happens with the spaces. It's just how the Chrome developer tools parse a comment that it thinks looks like property. This would be an issue within the dev tools.

    Note that it isn't giving a warning indication -- it's just saying the rule hasn't been applied (or has been overwritten).

Share This Page