Closed
Bug 941607
Opened 11 years ago
Closed 11 years ago
Incorrect preferred width of script l in <mi>
Categories
(Core :: MathML, defect, P4)
Core
MathML
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: fredw, Assigned: fredw)
References
Details
Attachments
(5 files, 5 obsolete files)
Follow-up of bug 415413. In the attach testcases, no linebreak should occur inside the table cells. With the patch of bug 415413, all but the first case are fixed. It seems that it has something to do with the fact that we are using an <mi> with a letter that is already italic. I'm curious to see the result after James' patch for bug 114365.
Assignee | ||
Comment 1•11 years ago
|
||
Here is how it renders on Linux.
Assignee | ||
Comment 2•11 years ago
|
||
(... after application of the patch from bug 415413)
Depends on: mathml-in-mathjax
Assignee | ||
Updated•11 years ago
|
Blocks: mathml-in-mathjax
No longer depends on: mathml-in-mathjax
Updated•11 years ago
|
Priority: -- → P4
Assignee | ||
Comment 3•11 years ago
|
||
Jacques' testcase (attachment 301094 [details]) looks much better with the mathvariant patches on Linux.
Assignee | ||
Comment 4•11 years ago
|
||
For the testcase, the last one still fails. I suspect there is something wrong in the italic correction or the width measurement ; where the italic l is used instead of the transformed script l.
Assignee | ||
Comment 5•11 years ago
|
||
There were invalid "font-family: italic" in the initial testcase. I fixed that and also force the use of STIX fonts so that we get consistent rendering.
Attachment #8336031 -
Attachment is obsolete: true
Attachment #8336036 -
Attachment is obsolete: true
Attachment #8338469 -
Attachment is obsolete: true
Assignee | ||
Comment 6•11 years ago
|
||
Assignee | ||
Comment 7•11 years ago
|
||
So attachment 301094 [details] and the testcase of this bug renders correctly for me on Windows and Linux with my latest try build. @Jacques: can you try the Mac try build? http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/fred.wang@free.fr-51ab041e5ec1/try-macosx64/
Flags: needinfo?(distler)
Assignee | ||
Comment 9•11 years ago
|
||
(In reply to distler from comment #8) > Created attachment 8338999 [details] > Testcase in Frederic's try build > > Better ... OK, I think the remaining failure is bug 941611, which seems platform dependent. I'm guessing attachment 301094 [details] now works for you? BTW, I think the try build will also fix your bug 518592...
Assignee | ||
Comment 10•11 years ago
|
||
So this is fixed per the patch of bug 114365.
Assignee: nobody → fred.wang
Status: NEW → ASSIGNED
Assignee | ||
Comment 11•11 years ago
|
||
Attachment #8341648 -
Attachment is obsolete: true
Attachment #8341917 -
Flags: review?(karlt)
Comment 12•11 years ago
|
||
Comment on attachment 8341917 [details] [diff] [review] Patch (tests) - V2 >+fails-if((OSX&&(OSX!=10.8))||/^Windows\x20NT\x206\.[12]/.test(http.oscpu)||Android) == table-width-4.html table-width-4-ref.html I'm not sure it makes sense to add this test yet, given the number of platforms on which it fails, but perhaps someone will notice a failure on Linux that can be reproduced, making this easier to fix. Can (OSX<10.8) be used instead of (OSX!=10.8)? There will be 10.9 tests soon, and 10.9 is more likely to be similar to 10.8 than older versions. (I don't know whether OSX is an integer or string.)
Attachment #8341917 -
Flags: review?(karlt) → review+
Comment 13•11 years ago
|
||
Similarly, unless this already passes on windows 8.1, the corresponding check should try to include future versions. Something like /^Windows\x20NT\x206\.[^0]/
Assignee | ||
Comment 14•11 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=b13e85baf9a1
Attachment #8341917 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 15•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9b14d922a514
Flags: in-testsuite+
Keywords: checkin-needed
Comment 16•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9b14d922a514
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
You need to log in
before you can comment on or make changes to this bug.
Description
•