WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 90335
118604
Bad alignment of formula when vertical-align is specified
https://bugs.webkit.org/show_bug.cgi?id=118604
Summary
Bad alignment of formula when vertical-align is specified
Frédéric Wang (:fredw)
Reported
2013-07-12 07:52:22 PDT
Created
attachment 206547
[details]
testcase Here is a testcase. "blah" should align with the base of the msubsup. See
bug 95015
for a related change.
Attachments
testcase
(552 bytes, text/html)
2013-07-12 07:52 PDT
,
Frédéric Wang (:fredw)
no flags
Details
vertical aligns
(1.13 KB, text/html)
2013-07-13 03:32 PDT
,
zalan
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
zalan
Comment 1
2013-07-13 03:32:55 PDT
Created
attachment 206600
[details]
vertical aligns WebKit rendering looks fine to me. The text is nicely aligned next to the <math> element. (see 2nd testcase)
zalan
Comment 2
2013-07-13 03:40:45 PDT
Though FF renders it differently, but that's because they calculate the <math> element's height differently (they end up with a lot smaller box) which makes the vertical-align property almost non-relevant here.
zalan
Comment 3
2013-07-13 03:42:16 PDT
(In reply to
comment #0
)
> Created an attachment (id=206547) [details] > testcase > > Here is a testcase. "blah" should align with the base of the msubsup. > > See
bug 95015
for a related change.
so I believe 'vertical-align: baseline' should align with the base of the msubsup as opposed to 'bottom' (unless I miss something here)
Frédéric Wang (:fredw)
Comment 4
2013-07-16 02:12:11 PDT
I was considering vertical align for table cells which is interpreted differently than for inline elements:
https://developer.mozilla.org/en-US/docs/Web/CSS/vertical-align
I think my comment on
bug 95015
was misleading. I found the align bug while trying to write reftests for
bug 95015
, but that's probably unrelated since vertical-align is not inherited. Actually, perhaps the bug is not related to MathML at all.
Bug 90335
is a similar issue with HTML-only elements. I'm guessing using a div as a workaround should work for the present bug too. BTW, Gecko's height bug is:
https://bugzilla.mozilla.org/show_bug.cgi?id=415413
Frédéric Wang (:fredw)
Comment 5
2013-07-16 02:14:38 PDT
(In reply to
comment #4
)
> > BTW, Gecko's height bug is:
https://bugzilla.mozilla.org/show_bug.cgi?id=415413
Sorry it is
https://bugzilla.mozilla.org/show_bug.cgi?id=219873
Frédéric Wang (:fredw)
Comment 6
2016-08-03 04:17:45 PDT
*** This bug has been marked as a duplicate of
bug 90335
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug