[Webkit-unassigned] [Bug 115787] New: Implement MathML spacing around operators
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 8 03:03:25 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=115787
Summary: Implement MathML spacing around operators
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: MathML
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: fred.wang at free.fr
The WebCore/css/mathml.css stylesheet contains the following comment:
/* FIXME: For a RenderMathMLOperator's margin-start and margin-end, or for a MathML "embellished operator", check the operator's lspace and rspace attributes,
and the MathML operator dictionary. */
math > mo, mrow > mo, msqrt > mo, mtd > mo {
-webkit-margin-start: 0.2em;
-webkit-margin-end: 0.2em;
}
basically, we always add .2em before and after the <mo> element. We should use the default lspace/rspace values given in MathML operator dictionary instead:
http://www.w3.org/TR/MathML/appendixc.html#oper-dict.entries-table
which are multiple of 1/18em:
http://www.w3.org/TR/MathML/appendixc.html#oper-dict.space
Also, the we could use the lspace/rspace attribute valus when specified:
http://www.w3.org/TR/MathML/chapter3.html#presm.mo.attrs
In theory, the spacing should be added to around the whole embellished operators not necessarily to the core mo, but I'm not sure how much Webkit implements about the embellished operator hierarchy.
--
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