Open Bug 1636881 Opened 6 years ago Updated 1 year ago

Show an indicator when attributes are truncated in Inspector

Categories

(DevTools :: Inspector, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: rcaliman, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Long attribute values in the markup view are truncated if the corresponding pref devtools.markup.collapseAttributes is set to true (available as an option in DevTools settings: "Truncate DOM attributes").

https://searchfox.org/mozilla-central/rev/fa52bedc4b401c12251513fa1c9df1753a29abb2/devtools/client/inspector/markup/views/element-editor.js#650-653

It would help developers to show an indicator when truncation is applied so they don't get confused when the attribute value they expect shows up incomplete.

Perhaps it could be made interactive and replace the truncated attribute value with the full value. But just the indicator itself is a first step in reducing confusion (See bug 1632824#).

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

Attachment

General

Created:
Updated:
Size: