Closed
Bug 607163
Opened 14 years ago
Closed 14 years ago
webConsole.css should be in browser.xul
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: pcwalton, Assigned: pcwalton)
References
Details
Attachments
(3 files)
(deleted),
patch
|
dao
:
review+
msucan
:
feedback+
Gavin
:
approval2.0+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
dao
:
review+
msucan
:
feedback+
Gavin
:
approval2.0+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
dao
:
review+
msucan
:
feedback+
Gavin
:
approval2.0+
|
Details | Diff | Splinter Review |
Currently, the Web Console's CSS styling is done using an agent sheet. This causes it to be placed at the bottom of the CSS cascade and has led to an unfortunate proliferation of "!important".
Per Dão's suggestion in bug 601667, I'd like to add a reference to the Web Console's style sheet to browser.xul. As part of this, we need to clean up the CSS from a performance perspective to avoid regressions.
Assignee | ||
Comment 1•14 years ago
|
||
Requesting blocking status for this bug, as it blocks a UI overhaul that I believe we need to make for Firefox 4.
blocking2.0: --- → ?
Assignee | ||
Comment 2•14 years ago
|
||
Proposed patch part 1 makes the Console CSS conform to the efficient CSS guidelines [1].
[1]: https://developer.mozilla.org/en/Writing_Efficient_CSS
Attachment #485938 -
Flags: feedback?(mihai.sucan)
Comment 3•14 years ago
|
||
Comment on attachment 485938 [details] [diff] [review]
[checked-in] Proposed patch, part 1: Efficiency improvements.
The patch looks fine.
Attachment #485938 -
Flags: feedback?(mihai.sucan) → feedback+
Assignee | ||
Updated•14 years ago
|
Attachment #485938 -
Flags: review?(dao)
Updated•14 years ago
|
Attachment #485938 -
Flags: review?(dao) → review+
Updated•14 years ago
|
Blocks: devtools4b8
Comment 4•14 years ago
|
||
What is the bug for the UI overhaul you mention? Why is that being done so late in cycle, and why should we hold the release for it, and this bug?
Comment 5•14 years ago
|
||
We're addressing UI polish in bug 599498. It makes the Web Console look considerably more, well, polished. Functionally, we can ship the Web Console without these appearance changes, but I think it improves the product a great deal.
Assignee | ||
Comment 6•14 years ago
|
||
(In reply to comment #4)
> What is the bug for the UI overhaul you mention?
Bug 599498 is the metabug. Bug 601667 is the toolbar styling, which is blocked by this bug in particular.
> Why is that being done so late in cycle
Because the mockups from the UX team were not complete until 10/06. I apologize for being late on implementing the design. My patches were posted on 10/19.
> and why should we hold the release for it
It improves the look of the Web Console significantly. It also adds more functionality, such as the ability to filter JavaScript warnings and errors and to separate out network errors from logging. And it fixes a usability issue with the discoverability of the Clear Console function.
> and this bug?
Because the review comments for the patches in bug 601667 were concerned with the proliferation of !important in the CSS styles. This is the correct (IMHO) way to fix this issue.
Assignee | ||
Updated•14 years ago
|
Attachment #485938 -
Flags: approval2.0?
Assignee | ||
Comment 7•14 years ago
|
||
Patch part 2 moves the CSS to browser.xul. The resulting change in position in the CSS cascade made one rule that was previously overridden suddenly apply and break the styling, so I removed it. Feedback requested.
Attachment #486214 -
Flags: feedback?(mihai.sucan)
Assignee | ||
Comment 8•14 years ago
|
||
Patch part 3 removes !important from the CSS.
Attachment #486221 -
Flags: feedback?(mihai.sucan)
Assignee | ||
Comment 9•14 years ago
|
||
These three patches should be sufficient to fix this issue.
Comment 10•14 years ago
|
||
Comment on attachment 486214 [details] [diff] [review]
[checked-in] Proposed patch, part 2: Move the Web Console CSS to browser.xul.
Patch looks fine. There seem to be no test regressions, and no obvious UI regressions (quick user testing).
Let's hope this change won't have a negative impact on performance tests ... on the build servers.
Attachment #486214 -
Flags: feedback?(mihai.sucan) → feedback+
Comment 11•14 years ago
|
||
Comment on attachment 486221 [details] [diff] [review]
[checked-in] Proposed patch, part 3: Remove !important.
Nice cleanup!
Attachment #486221 -
Flags: feedback?(mihai.sucan) → feedback+
Assignee | ||
Updated•14 years ago
|
Attachment #486214 -
Flags: review?(dao)
Assignee | ||
Updated•14 years ago
|
Attachment #486221 -
Flags: review?(dao)
Updated•14 years ago
|
Attachment #486214 -
Flags: review?(dao) → review+
Updated•14 years ago
|
Attachment #486221 -
Flags: review?(dao) → review+
Assignee | ||
Updated•14 years ago
|
Attachment #486214 -
Flags: approval2.0?
Assignee | ||
Updated•14 years ago
|
Attachment #486221 -
Flags: approval2.0?
Assignee | ||
Comment 12•14 years ago
|
||
Requesting b7 approval, because this blocks a beta7 blocker.
Assignee | ||
Comment 13•14 years ago
|
||
(In reply to comment #12)
> Requesting b7 approval, because this blocks a beta7 blocker.
Actually, it isn't a b7 blocker anymore. Carry on.
Updated•14 years ago
|
Attachment #485938 -
Flags: approval2.0? → approval2.0+
Updated•14 years ago
|
Attachment #486214 -
Flags: approval2.0? → approval2.0+
Updated•14 years ago
|
Attachment #486221 -
Flags: approval2.0? → approval2.0+
Updated•14 years ago
|
blocking2.0: ? → ---
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 14•14 years ago
|
||
Comment on attachment 485938 [details] [diff] [review]
[checked-in] Proposed patch, part 1: Efficiency improvements.
http://hg.mozilla.org/mozilla-central/rev/7780f04b558b
Attachment #485938 -
Attachment description: Proposed patch, part 1: Efficiency improvements. → [checked-in] Proposed patch, part 1: Efficiency improvements.
Comment 15•14 years ago
|
||
Comment on attachment 486214 [details] [diff] [review]
[checked-in] Proposed patch, part 2: Move the Web Console CSS to browser.xul.
http://hg.mozilla.org/mozilla-central/rev/84ab587e7615
Attachment #486214 -
Attachment description: Proposed patch, part 2: Move the Web Console CSS to browser.xul. → [checked-in] Proposed patch, part 2: Move the Web Console CSS to browser.xul.
Comment 16•14 years ago
|
||
Comment on attachment 486221 [details] [diff] [review]
[checked-in] Proposed patch, part 3: Remove !important.
http://hg.mozilla.org/mozilla-central/rev/14710b1bd29d
Attachment #486221 -
Attachment description: Proposed patch, part 3: Remove !important. → [checked-in] Proposed patch, part 3: Remove !important.
Updated•14 years ago
|
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•