Closed Bug 1442922 Opened 8 years ago Closed 8 years ago

Developer Tools Inspector Tab Does not respect spacing + new lines inside HTML Comments

Categories

(DevTools :: Inspector, defect)

58 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1422178

People

(Reporter: virgofx, Unassigned)

Details

Attachments

(1 file)

Attached image inspector.PNG
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0 Build ID: 20180206200532 Steps to reproduce: 1. Add HTML comments as follows: <!-- | ---- LINE1 ---- | | ---- LINE2 ---- | | ---- LINE3 ---- | --> 2. View in the DevTools Elements browser. 3. Observe new lines are not respected. This causes issues with comments that require vertical alignment. It also does not appear to respect spacing as well. Actual results: Inspector shows: <!-- | ---- LINE1 ---- || ---- LINE2 ---- || ---- LINE3 ---- | --> Expected results: <!-- | ---- LINE1 ---- | | ---- LINE2 ---- | | ---- LINE3 ---- | -->
OS: Unspecified → All
Hardware: Unspecified → All
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Component: Untriaged → Developer Tools: Inspector
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: