Display grid-template-areas value on multiple lines in the rules view

UNCONFIRMED
Unassigned

Status

enhancement
P3
normal
UNCONFIRMED
Last year
Last year

People

(Reporter: mike, Unassigned)

Tracking

(Blocks 1 bug)

58 Branch
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

Last year
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

Steps to reproduce:

The CSS Grid spec allows for you to create grid-template-areas in an ascii-art style matrix.


Actual results:

The issue is that when displaying the value for this property, devtools will output this onto one line. The same problem can also be caused by CSS minification . 
  


Expected results:

A proper solution would be to show each string on its own line, when displaying rules for grid-template-areas.
Reporter

Comment 1

Last year
Helpful links:
MDN Docs for grid-template-areas: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-areas
Codepen to mess around with: https://codepen.io/rachelandrew/pen/oXKgoQ
Severity: normal → enhancement
Component: Untriaged → Developer Tools: CSS Rules Inspector
Blocks: dt-grid
Priority: -- → P3
Summary: [Feature Request DevTools] Display grid-template-areas value on multiple lines in dev tools → Display grid-template-areas value on multiple lines in the rules view

Updated

Last year
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.