.tab-text text-align no longer works

RESOLVED INVALID

Status

()

RESOLVED INVALID
2 years ago
2 years ago

People

(Reporter: noel.sanderson, Unassigned)

Tracking

({regression})

53 Branch
regression
Points:
---

Firefox Tracking Flags

(firefox51 unaffected, firefox52 unaffected)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0

Steps to reproduce:

Added to userchrome.css ".tab-text { text-align: center !important; }"



Actual results:

Nothing happened


Expected results:

Tab text alignment should have changed.
(Reporter)

Updated

2 years ago
Severity: normal → critical
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
can you post screenshot for actual result and expected result?
tab text should be centered by default, unless it overflows.
Severity: critical → normal
Flags: needinfo?(noel.sanderson)

Comment 2

2 years ago

Regression range:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=a3945a
f43157bf892bb9415086406774cb380a56&tochange=6fddc51e9d1530484e7875ea6b67141497db
784d

Dão Gottwald — Bug 658467 - Fade out tab label on overflow instead of ellipsis. r=jaws ui-r=shorlander
Blocks: 658467
Status: UNCONFIRMED → NEW
Has Regression Range: --- → yes
Has STR: --- → yes
status-firefox51: --- → unaffected
status-firefox52: --- → unaffected
status-firefox53: --- → affected
status-firefox54: --- → affected
tracking-firefox53: --- → ?
tracking-firefox54: --- → ?
Component: Untriaged → Tabbed Browser
Ever confirmed: true
Flags: needinfo?(dao+bmo)
Keywords: regression
OS: Windows 10 → All
Hardware: x86_64 → All
(Reporter)

Comment 3

2 years ago
(In reply to Tooru Fujisawa [:arai] from comment #1)
> can you post screenshot for actual result and expected result?
> tab text should be centered by default, unless it overflows.

No, it's aligned to the left by default.
FF 51/52: http://i.imgur.com/A5lix0g.jpg
FF 53: http://i.imgur.com/r9HGyyo.jpg
(In reply to noel.sanderson from comment #3)
> (In reply to Tooru Fujisawa [:arai] from comment #1)
> > can you post screenshot for actual result and expected result?
> > tab text should be centered by default, unless it overflows.
> 
> No, it's aligned to the left by default.
> FF 51/52: http://i.imgur.com/A5lix0g.jpg
> FF 53: http://i.imgur.com/r9HGyyo.jpg

sorry, I overlooked that it's specific to windows.
Flags: needinfo?(noel.sanderson)
You want to add -moz-box-flex: 1; for text-align: center to work.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Flags: needinfo?(dao+bmo)
Resolution: --- → INVALID
Updating flags based on Comment 5.
status-firefox53: affected → ---
status-firefox54: affected → ---
tracking-firefox53: ? → ---
tracking-firefox54: ? → ---
You need to log in before you can comment on or make changes to this bug.