Closed Bug 270023 Opened 20 years ago Closed 19 years ago

DOM Node view should show namespace uri of attributes

Categories

(Other Applications :: DOM Inspector, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Biesinger, Assigned: vhaarr+bmo)

Details

Attachments

(1 file, 1 obsolete file)

currently, it only shows the qualified name and the value of an attribute; showing the namespace uri too would be useful (it should be at least available in the column picker)
Product: Core → Other Applications
Assignee: dom-inspector → ajvincent
Attached patch version 0.1 (obsolete) — Splinter Review
Attachment #197688 - Flags: review?(caillon)
Comment on attachment 197688 [details] [diff] [review] version 0.1 shrug. ok.
Attachment #197688 - Flags: review?(caillon) → review+
biesi: Do you know if DOMi requires sr? If not, could you help me check this in? I wasn't very reassured as to the quality of the patch by that "shrug" :-P Could it be done otherwise?
Status: NEW → ASSIGNED
Assignee: ajvincent → vhaarr+bmo
Status: ASSIGNED → NEW
Inspector typically does require sr.
Attachment #197688 - Flags: superreview?(jst)
Attachment #197688 - Flags: superreview?(jst) → superreview?(neil)
Comment on attachment 197688 [details] [diff] [review] version 0.1 >+ <treecol id="colNamespaceURI" hidden="true" label="namespaceURI" persist="width,hidden,ordinal" flex="1"/> The style of dom.xul is to have the hidden="true" attribute after the label attribute, plus it also puts this column in between the node name and value by default; sr=me with these fixed. caillon's comment suggests that he's not convinced that the namespace uri is necessary while I wonder whether we should add the local name and prefix too.
Attachment #197688 - Flags: superreview?(neil) → superreview+
Attached patch v.2Splinter Review
r=caillon, sr=neil I only fixed the bit rot and line wrapped at 80 characters.
Attachment #197688 - Attachment is obsolete: true
Attachment #230669 - Flags: superreview+
Attachment #230669 - Flags: review+
Status: NEW → ASSIGNED
Whiteboard: [checkin needed]
Checked in by timeless: patch by vhaarr+bmo@gmail.com r=caillon sr=neil
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
reopening, the patch as checked in didn't have sr. note "sr=me with these fixed."
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to comment #6) >I only fixed the bit rot and line wrapped at 80 characters. When instead you should have addressed the review comments :-P
(In reply to comment #9) > When instead you should have addressed the review comments :-P *hangs head in shame* Not sure how I missed that... (In reply to comment #5) > caillon's comment suggests that he's not convinced that the namespace uri is > necessary while I wonder whether we should add the local name and prefix too. The nodeName, which is currently displayed is (as I recall) actually composed of the both the prefix and the local name like so: {prefix}:{local name} > plus it also puts this column in between the node name and value by default I can't fix this because I'm not sure what you mean. The column is the left most column and is on top of the list of columns to hide/show. Do you mean you want it between nodeName and nodeValue?
Closing - will be resolved with Bug 348668 as per Comment 4 from Neil.
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
QA Contact: timeless → dom-inspector
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: