Closed Bug 753313 Opened 12 years ago Closed 12 years ago

Some divs and spans are created dynamically in debugger-view

Categories

(DevTools :: Debugger, defect, P2)

12 Branch
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 15

People

(Reporter: vporof, Assigned: vporof)

References

Details

(Whiteboard: [fixed-in-fx-team])

Attachments

(2 files, 2 obsolete files)

That's bad.
Blocks: 722317, minotaur
Priority: -- → P2
THIS IS HARD.
Attached patch v1 (obsolete) — Splinter Review
I'm sorry.
Attachment #622784 - Flags: review?(rcampbell)
Depends on: 753651
Blocks: 752834
Attached patch v2 (obsolete) — Splinter Review
Rebased already.
quit it!
Attached patch v3Splinter Review
Fixed invalid css we discussed about.
You knew this was going to happen.
Attachment #622784 - Attachment is obsolete: true
Attachment #622797 - Attachment is obsolete: true
Attachment #622784 - Flags: review?(rcampbell)
Attachment #622822 - Flags: review?(rcampbell)
Comment on attachment 622797 [details] [diff] [review]
v2

in debugger-view.js

-    item.className = "empty list-item";
+    item.className = "list-item empty";

quibble: why the reordering?

looks good. See? That wasn't so hard!
Attachment #622797 - Attachment is obsolete: false
Attachment #622797 - Flags: review+
Attachment #622797 - Attachment is obsolete: true
Attachment #622822 - Flags: review?(rcampbell) → review+
(In reply to Rob Campbell [:rc] (:robcee) from comment #7)
> Comment on attachment 622797 [details] [diff] [review]
> v2
> 
> in debugger-view.js
> 
> -    item.className = "empty list-item";
> +    item.className = "list-item empty";
> 
> quibble: why the reordering?
> 

Just consistency, we always use .major-selector .detail in debugger view. Doesn't affect UI.

> looks good. See? That wasn't so hard!

This should've been much easier.
Don't get me started on how .value is totally different for buttons, labels, and with virtually every XUL widget, plus how set/getAttribute("value") doesn't work as you would expect. I like XUL it's nice.
(In reply to Victor Porof from comment #8)
> This should've been much easier.
> Don't get me started on how .value is totally different for buttons, labels,
> and with virtually every XUL widget, plus how set/getAttribute("value")
> doesn't work as you would expect. I like XUL it's nice.

I so loooooove that part of XUL...
it's like I've stumbled into a thread on mozillazine.
Whiteboard: [land-in-fx-team]
sorry. spamming whiteboard comments now.
Whiteboard: [land-in-fx-team]
(In reply to Rob Campbell [:rc] (:robcee) from comment #11)
> sorry. spamming whiteboard comments now.

This won't be ready to land for a while.
Attached patch v3.1Splinter Review
Rebased.
No longer blocks: 752834
Blocks: 752834
https://hg.mozilla.org/mozilla-central/rev/c66729ab079f
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 15
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: