WIP: Add html validation using css (development only)

Open username-removed-408677 requested to merge css-html-validator into master

What does this MR do?

Use CSS to validate HTML by highlighting bad HTML and painting their background red.

The idea is for this to be a visual cue for developers to catch bad html during development because not everyone is aware of what HTML attributes they should be adding (Such as adding attribute type in <input> - which I am guilty of). We currently use bootlint to do some of these HTML linting but since they are logged in the console, developers tend to gloss over them as it is not always overtly obvious where the offending HTML element is at.

Inspired by





Are there points in the code the reviewer needs to double check?

Feel free to suggest more rules in validator.scss

Why was this MR needed?

Decrease the use of bad HTML using visual cues when developing GitLab

Screenshots (if relevant)

Without CSS validate With CSS validate
Screen_Shot_2017-04-08_at_1.45.16_PM Screen_Shot_2017-04-08_at_1.44.53_PM

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?