Open Bug 1800848 Opened 3 years ago Updated 8 months ago

Consider highlighting style, meta, ... elements in the markup view

Categories

(DevTools :: Inspector, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

Details

From https://discourse.mozilla.org/t/lack-of-colors/107794

We don't apply the regular syntax highlighting hidden elements. This also applies to elements which will never be displayed. regardless of their styling, eg <style> tags.

For those elements, the lack of syntax highlighting doesn't really bring any additional information, and makes reading them in the markup view more complicated than needed.

Alternatively we could also have a preference to highlight all elements regardless of their visibility.

Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.