Can't add a class attribute to a tag
Categories
(DevTools :: Inspector, enhancement, P3)
Tracking
(firefox130 fixed)
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: canuckistani, Assigned: nchevobbe)
References
()
Details
(Whiteboard: [btpp-backlog])
Attachments
(1 file)
Comment 1•9 years ago
|
||
Updated•6 years ago
|
Updated•2 years ago
|
Comment 2•4 months ago
|
||
This behavior led me to believe that somethin’s wrong with MathML’s support, but it wasn’t the case.
The quickest way to add/remove an attribute is to double-click the tag name, type a space, and start typing your attribute. I learned this behavior from Chrome DevTools and my code editor and expect this simplicity everywhere. It kind of makes sense. The UI doesn’t differentiate between two cases: when you double-click the attribute to modify/remove it and when you double-click the tag name. Since there’s a clear space between the tag name and whatever I’m typing, I expect it to be parsed as an attribute.
Assignee | ||
Comment 3•4 months ago
|
||
When double clicking the tag name in the markup view, people can edit the tag,
but they might want to add attributes at the same time, and we didn't allow that.
This patch makes it possible, parsing the input to check for any attributes in
it, and in such case, setting them on the node before changing the tag name.
Updated•4 months ago
|
Comment 5•4 months ago
|
||
Backed out for causing devtools failures in browser_markup_tag_edit_03.js.
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | devtools/client/inspector/markup/test/browser_markup_tag_edit_03.js | Found markup-container for selector: #retag-me -
Comment 8•4 months ago
|
||
bugherder |
Description
•