Closed
Bug 1121350
Opened 10 years ago
Closed 10 years ago
`text-align: justify;` with `inline-block` causes extra space on right from whitespace
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
VERIFIED
FIXED
mozilla36
Tracking | Status | |
---|---|---|
firefox35 | --- | unaffected |
firefox36 | + | verified |
firefox37 | --- | unaffected |
firefox38 | --- | unaffected |
People
(Reporter: madlittlemods, Assigned: xidorn)
References
()
Details
(Keywords: regression, reproducible, testcase)
Attachments
(2 files)
749 bytes,
text/html
|
Details | |
2.02 KB,
patch
|
roc
:
review+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 Steps to reproduce: Demo: http://jsfiddle.net/ufy3f5tt/ Actual results: There is an extra space on the right that messes with `text-align: justify;`. Expected results: The space shouldn't be there and the two elements should be on opposite sides(justified) of the wrapper. The problem occurs with multiple elements as well. You can get the proper layout by removing the whitespace at the end of the wrapper and the last element: http://jsfiddle.net/ufy3f5tt/2/
Reporter | ||
Comment 1•10 years ago
|
||
I forgot to add that I can only reproduce this bug in Firefox developer Edition 36.0a2.
Reporter | ||
Updated•10 years ago
|
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
status-firefox35:
--- → unaffected
status-firefox36:
--- → affected
status-firefox37:
--- → ?
status-firefox38:
--- → fixed
Component: Untriaged → Layout: Block and Inline
Ever confirmed: true
Product: Firefox → Core
Comment 2•10 years ago
|
||
[Tracking Requested - why for this release]: web layout regression that looks like it will be hitting the new betas (haven't checked yet) this week
tracking-firefox36:
--- → ?
Updated•10 years ago
|
OS: Windows 8.1 → All
Hardware: x86_64 → All
Comment 3•10 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #2) > [Tracking Requested - why for this release]: > web layout regression that looks like it will be hitting the new betas > (haven't checked yet) this week Still broken on 36 beta 1.
On trunk (on Linux) I don't see the difference between the two cases. Is it something already fixed on trunk? In any case, regressionwindow-wanted stands.
Er, Gijs already marked it as such.
![]() |
||
Comment 7•10 years ago
|
||
Regression pushlog: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=6592c05a4bb2&tochange=8fd4e3a06f17 Regressed by: Bug 1063857 Fixed pushlog: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=36ff8406cca7&tochange=c1cba30ef56f
Assignee | ||
Comment 8•10 years ago
|
||
The first part and the third part of patch for bug 1116635 fix this problem.
Depends on: 1116635
Flags: needinfo?(quanxunzhen)
Assignee | ||
Comment 9•10 years ago
|
||
Let me fetch the beta repo and work on this.
Assignee: nobody → quanxunzhen
Assignee | ||
Comment 10•10 years ago
|
||
What should I do now? This patch has previously been reviewed by roc, and should probably be good. Should I directly request for uplift to mozilla-beta? Also, this patch will definitely cause conflict when beta is merged to later branches. Do we need to leave any special note somewhere for people about this?
Flags: needinfo?(dbaron)
Assignee | ||
Comment 11•10 years ago
|
||
Comment on attachment 8549442 [details] [diff] [review] patch backported from bug 1116635 It was reviewed, but since there was some refactor before the reviewed patch in this part, I guess it is probably better to be reviewed again.
Flags: needinfo?(dbaron)
Attachment #8549442 -
Flags: review?(roc)
Attachment #8549442 -
Flags: review?(roc) → review+
Assignee | ||
Comment 12•10 years ago
|
||
Comment on attachment 8549442 [details] [diff] [review] patch backported from bug 1116635 Approval Request Comment [Feature/regressing bug #]: bug 1063857, fixed in bug 1116635 [User impact if declined]: may see unwanted space at the end of some lines when justified [Describe test coverage new/current, TBPL]: there is a test in bug 1116635, but no test is backported because that test relies on css ruby which may not work properly in the current beta [Risks and why]: not sure, but I don't see risks with fixing this [String/UUID change made/needed]: n/a
Attachment #8549442 -
Flags: approval-mozilla-beta?
Updated•10 years ago
|
Attachment #8549442 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 13•10 years ago
|
||
checkin-needed is not necessary. sheriff are scanning for approval-mozilla-beta+ ;)
Keywords: checkin-needed
Assignee | ||
Comment 14•10 years ago
|
||
Gotcha :)
Comment 15•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/598cd9c2e480
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Updated•10 years ago
|
Flags: qe-verify+
Comment 16•10 years ago
|
||
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:36.0) Gecko/20100101 Firefox/36.0 Reproduced the issue on Firefox 36 beta 1, build ID: 20150114125146. Confirming the fix on Firefox 36 beta 2, build ID: 20150120155007.
Updated•10 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•