Closed
Bug 1252640
Opened 8 years ago
Closed 8 years ago
Fix overlapping borders in the ruleview-header
Categories
(DevTools :: Inspector: Rules, defect, P3)
DevTools
Inspector: Rules
Tracking
(firefox47 fixed)
RESOLVED
FIXED
Firefox 47
Tracking | Status | |
---|---|---|
firefox47 | --- | fixed |
People
(Reporter: gl, Assigned: gl)
References
Details
Attachments
(4 files, 1 obsolete file)
We can see an overlaying border when we have a couple of situations: (1) The pseudo-elements container is present (Enable Browser Styles) (2) The pseudo-elements container is not expanded and the next element is a ruleview-header
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8725454 -
Flags: review?(pbrosset)
Assignee | ||
Comment 2•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ceb04f578b71
Comment 3•8 years ago
|
||
Comment on attachment 8725454 [details] [diff] [review] 1252640.patch Review of attachment 8725454 [details] [diff] [review]: ----------------------------------------------------------------- So I've got one problem with this patch: today the display between MacOS and Windows is pretty different: - On MacOS, when there are 2 collapsible sections next to each other, they touch, and so you end up with the double border problem that you're aiming at fixing here. - On Windows however, the 2 sections are far apart (like maybe 3 or 4px apart), and so the borders don't touch. Therefore, this patch makes it look a little bit weird on Windows I'd say. I'll attach before/after screenshots. I do think we should have the same display on both OS. ::: devtools/client/inspector/rules/rules.js @@ +1097,3 @@ > */ > + _toggleContainerVisibility: function(twisty, container, isPseudo, > + showPseudo) { super nit: please align showPseudo with twisty. When we wrap long lines, we either indent the second line with 2 extra spaces, or try to find a good place to vertically align the second line. For functions, vertically aligning with the other arguments above is often a good thing: _toggleContainerVisibility: function(twisty, container, isPseudo, showPseudo) {
Attachment #8725454 -
Flags: review?(pbrosset)
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Assignee | ||
Comment 6•8 years ago
|
||
Attachment #8725454 -
Attachment is obsolete: true
Attachment #8726104 -
Flags: review?(pbrosset)
Updated•8 years ago
|
Attachment #8726104 -
Flags: review?(pbrosset) → review+
I had to back this out because it appeared to cause this test failure: https://treeherder.mozilla.org/logviewer.html#?job_id=7758967&repo=fx-team https://hg.mozilla.org/integration/fx-team/rev/4cea7a5931c3
Flags: needinfo?(gl)
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(gl)
That test is still failing, so I'm backing out everything from that original push: https://hg.mozilla.org/integration/fx-team/rev/4d65c8ec069b
Flags: needinfo?(gl)
Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(gl)
Comment 12•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d2a269c7c7bb
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 47
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•