Closed
Bug 1198236
Opened 9 years ago
Closed 9 years ago
Pinned tab separators shouldn't touch the toolbar
Categories
(Firefox :: Theme, defect)
Firefox
Theme
Tracking
()
RESOLVED
FIXED
Firefox 43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
Details
(Keywords: regression)
Attachments
(1 file, 2 obsolete files)
3.34 KB,
patch
|
Details | Diff | Splinter Review |
Just noticed that bug 1189212 made pinned tab separators touch the toolbar. The margin-top seems to work as expected in that context but margin-bottom doesn't.
Comment 1•9 years ago
|
||
Are there specific circumstances under which this happens? (windows-only? something else?) I tested on several platforms and missed this. :-\
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8652297 -
Flags: review?(gijskruitbosch+bugs)
Comment 3•9 years ago
|
||
Comment on attachment 8652297 [details] [diff] [review] patch I still don't see this even without the patch, which means I can't really adequately review what you're doing here. Can you provide more details / STR for how to reproduce the issue?
Attachment #8652297 -
Flags: review?(gijskruitbosch+bugs)
Comment 4•9 years ago
|
||
Comment on attachment 8652297 [details] [diff] [review] patch Review of attachment 8652297 [details] [diff] [review]: ----------------------------------------------------------------- Ah, so I raced your explanation in #fx-team, which was that this shows up when the tabstrip is overflown. That also means I know why: overflown tabs are position:fixed . Changing the padding wfm. An alternative, if you prefer, would be changing the position / height in this case, but I don't know how easy it'd be to make that work with e.g. larger tab bars or whatever.
Attachment #8652297 -
Flags: review+
Comment 6•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ad5c087d617b
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8652297 [details] [diff] [review] patch Approval Request Comment [Feature/regressing bug #]: bug 1189212 (pending approval) [User impact if declined]: pinned tab separators are inconsistent with normal tab separators (taller than intended) [Describe test coverage new/current, TreeHerder]: [Risks and why]: low; very simple CSS patch [String/UUID change made/needed]:
Attachment #8652297 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 9•9 years ago
|
||
It looks like my patch is ineffective and this is still broken, albeit I'm sure I tested it at the time I wrote it...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•9 years ago
|
Attachment #8652297 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 10•9 years ago
|
||
Backed out: https://hg.mozilla.org/integration/fx-team/rev/e96b718a8ad2
Assignee | ||
Comment 11•9 years ago
|
||
Resorting to background-image. var() doesn't seem to work within linear-gradient, so I also had to get rid of --tab-separator-margin, but I've made it so that we don't need to repeat the logic for when to show the separator all over the place.
Attachment #8652297 -
Attachment is obsolete: true
Attachment #8653361 -
Flags: review?(gijskruitbosch+bugs)
Comment 12•9 years ago
|
||
Comment on attachment 8653361 [details] [diff] [review] patch Review of attachment 8653361 [details] [diff] [review]: ----------------------------------------------------------------- Code looks fine to me, though I am confused, too, because I tested the backed-out patch, too, plus I don't understand why it wouldn't have worked...
Attachment #8653361 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 13•9 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #12) > Comment on attachment 8653361 [details] [diff] [review] > patch > > Review of attachment 8653361 [details] [diff] [review]: > ----------------------------------------------------------------- > > Code looks fine to me, though I am confused, too, because I tested the > backed-out patch, too, plus I don't understand why it wouldn't have worked... I think it's some weird XUL layout bug, (randomly?) making the frame taller than it should be, such that it stretches beyond the tabs toolbar and behind the nav bar...
Comment 14•9 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #11) > Created attachment 8653361 [details] [diff] [review] > patch > > Resorting to background-image. var() doesn't seem to work within > linear-gradient Are you sure ? We've been using color variables with linear-gradients. https://dxr.mozilla.org/mozilla-central/source/browser/themes/shared/devtools/toolbars.inc.css#553 You may want to file a bug for your case.
Comment 15•9 years ago
|
||
Comment on attachment 8653361 [details] [diff] [review] patch Review of attachment 8653361 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/themes/shared/tabs.inc.css @@ -11,5 @@ > } > -#TabsToolbar { > - --tab-separator-opacity: 0.2; > - --tab-separator-margin: 4px; > - --tab-stroke-background-size: auto 100%; This patch accidently removes tab stroke background size.
Attachment #8653361 -
Flags: feedback-
Assignee | ||
Comment 16•9 years ago
|
||
> This patch accidently removes tab stroke background size.
thanks, fixed
Attachment #8653361 -
Attachment is obsolete: true
Attachment #8653399 -
Flags: superreview-
Assignee | ||
Updated•9 years ago
|
Attachment #8653399 -
Flags: superreview-
Assignee | ||
Comment 17•9 years ago
|
||
(In reply to Tim Nguyen [:ntim] from comment #14) > (In reply to Dão Gottwald [:dao] from comment #11) > > Created attachment 8653361 [details] [diff] [review] > > patch > > > > Resorting to background-image. var() doesn't seem to work within > > linear-gradient > Are you sure ? We've been using color variables with linear-gradients. > https://dxr.mozilla.org/mozilla-central/source/browser/themes/shared/ > devtools/toolbars.inc.css#553 > You may want to file a bug for your case. Maybe it's the combination of linear-gradient(), calc(100% - ...) and var(). Not sure what's going on, but I tested this quite a bit with a few variations.
Comment 18•9 years ago
|
||
Merge of backout: https://hg.mozilla.org/mozilla-central/rev/e96b718a8ad2
status-firefox43:
fixed → ---
Target Milestone: Firefox 43 → ---
Comment 20•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/cbb955b0495c
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
You need to log in
before you can comment on or make changes to this bug.
Description
•