Closed
Bug 727804
Opened 13 years ago
Closed 10 years ago
height of brackets generated by mfenced doesn't match height of separators
Categories
(Core :: MathML, defect)
Tracking
()
RESOLVED
FIXED
mozilla36
People
(Reporter: adam.slaski, Assigned: jkitch)
References
Details
(Keywords: testcase)
Attachments
(2 files, 3 obsolete files)
267 bytes,
text/html
|
Details | |
4.11 KB,
patch
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0.1) Gecko/20100101 Firefox/10.0.1
Build ID: 20120210025125
Steps to reproduce:
I used '&' (an ampersand) as a separator in mfenced
Actual results:
height of brackets match height of the highest element and disregard the height of the separator
Expected results:
height of brackets should match both height of the highest element and the height of the separator
Updated•13 years ago
|
Attachment #597788 -
Attachment mime type: text/plain → text/html
Comment 1•11 years ago
|
||
Confirmed with 2013-08-22-03-02-04-mozilla-central-firefox-26.0a1.en-US.linux-x86_64
Status: UNCONFIRMED → NEW
Component: Untriaged → MathML
Ever confirmed: true
Keywords: testcase
Product: Firefox → Core
Comment 2•10 years ago
|
||
Can you test in a recent nightly build? (see bug 670334 comment 20)
Flags: needinfo?(adam.slaski)
Assignee | ||
Comment 3•10 years ago
|
||
By redacting everything except the fences, I've been able to get an automated test that passes all try platforms.
Assignee | ||
Comment 4•10 years ago
|
||
Oops. Wrongly flagged Windows as failing.
Attachment #8510007 -
Attachment is obsolete: true
Attachment #8510007 -
Flags: review?(fred.wang)
Attachment #8510008 -
Flags: review?(fred.wang)
Comment 5•10 years ago
|
||
Comment on attachment 8510008 [details] [diff] [review]
testcase
Review of attachment 8510008 [details] [diff] [review]:
-----------------------------------------------------------------
You can use style="visibility: none;" for the <mn>'s, so that it's clearer that we want to hide them. Actually, I wonder if you just want to use <mspace width="10px"/>, so that their heights are not involved at all in the computation.
To be more reliable about the <math> position and to avoid issue with the top/left border, you can absolutely position the <math> to (10px, 10px) too. Then for the div I would do "top: 0px; height: 120px;" (height = 4 times the font-size + 10px above/below) so that we are very sure the ampersand is covered.
Attachment #8510008 -
Flags: review?(fred.wang) → review+
Assignee | ||
Comment 6•10 years ago
|
||
The <mspace/> change wasn't adopted as there are positioning differences between the <mfenced> and <mrow>+<mo> cases.
Attachment #8510008 -
Attachment is obsolete: true
Assignee | ||
Comment 7•10 years ago
|
||
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=26fb9f23f6d8
Adam: Reopen if this is still a problem.
Depends on: 670334
Keywords: checkin-needed
Comment 8•10 years ago
|
||
Comment on attachment 8510997 [details] [diff] [review]
testcase
Review of attachment 8510997 [details] [diff] [review]:
-----------------------------------------------------------------
::: layout/reftests/mathml/mfenced-12.html
@@ +1,5 @@
> +<!doctype html>
> +<html class="reftest-wait">
> +
> +<math style="font-size:25px; position: absolute; top: 10px; left:10px;">
> + <mfenced id="outer" separators="&">
BTW, here and in the ref, this should really &
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 9•10 years ago
|
||
Attachment #8510997 -
Attachment is obsolete: true
Assignee | ||
Comment 10•10 years ago
|
||
Keywords: checkin-needed
Comment 11•10 years ago
|
||
Keywords: checkin-needed
Comment 12•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Updated•10 years ago
|
Flags: needinfo?(adam.slaski)
Updated•10 years ago
|
QA Whiteboard: [good first verify]
You need to log in
before you can comment on or make changes to this bug.
Description
•