[Webkit-unassigned] [Bug 44206] Alignment of block MathML differs between WebKit and Firefox
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 2 05:28:07 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=44206
François Sausset <sausset at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sausset at gmail.com
--- Comment #1 from François Sausset <sausset at gmail.com> 2010-09-02 05:28:07 PST ---
The w3c MathML3 recommendation specifies nothing about that.
See: http://www.w3.org/TR/MathML3/chapter2.html#interf.toplevel.atts
Specifically this part: "specifies whether the enclosed MathML expression should be rendered as a separate vertical block (in display style) or inline, aligned with adjacent text. When display="block", displaystyle is initialized to "true", whereas when display="inline", displaystyle is initialized to "false"; in both cases scriptlevel is initialized to 0 (See Section 3.1.6 Displaystyle and Scriptlevel). Moreover, when the math element is embedded in a larger document, a block math element should be treated as a block element as appropriate for the document type (typically as a new vertical block), whereas an inline math element should be treated as inline (typically exactly as if it were a sequence of words in normal text). In particular, this applies to spacing and linebreaking: for instance, there should not be spaces or line breaks inserted between inline math and any immediately following punctuation. When the display attribute is missing, a rendering agent is free to initialize as appropriate to the context."
However, centering the text seems natural in a mathematical context.
For homogeneity with other MathML implementation, we should probably center the text.
--
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