[Webkit-unassigned] [Bug 93358] New: inline-block span positioned "relative" inside foreignObject are not scaled correctly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 7 05:33:28 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=93358
Summary: inline-block span positioned "relative" inside
foreignObject are not scaled correctly
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: fred.wang at free.fr
Created an attachment (id=156918)
--> (https://bugs.webkit.org/attachment.cgi?id=156918&action=review)
testcase
A MathJax user reported that the HTML+CSS code generated by MathJax to display mathematical formulas is not rendered correctly in Webkit when scaled inside SVG:
https://github.com/mathjax/MathJax/issues/279
The code generated by MathJax contains many <span>'s and it's hard to say what the problem is. However, I think I have isolated one issue with <span style="display: inline-block; position: relative;">, which are used everywhere in the generated code.
In the attached testcase, such a span is used to draw a 50x50 red rectangle. I use SVG to scale it by a factor of 2. In Firefox, it thus fits in the 100x100 black frame. However in Webkit this rectangle is still rendered with a size of 50x50. Note that if you use "position: static;", it is correctly scaled.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list