W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2020

[csswg-drafts] [css-display] math/inline-math (#5385)

From: Brian Kardell via GitHub <sysbot+gh@w3.org>
Date: Mon, 03 Aug 2020 19:37:53 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-672297945-1596483472-sysbot+gh@w3.org>
bkardell has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-display] math/inline-math ==
Mathematical rendering, like other text renderings can happen inline with prose or in the block direction and different elements employ different strategies for layout.  According to common norms, these are treated a little differently.  [MathML Core proposes the introduction of two display types](https://mathml-refresh.github.io/mathml-core/#new-display-math-value):
  
`display: math` and `display: inline-math`

These control box generation and layout according to their tag name.  It shoud be possible for authors to experiment/extend and provide custom layouts for when authors would like to override.  The figure below illustrates differences in standard treatments of mathematical rendering depending on whether it is inline with text, or has a complete space in the block direction, as illustrated in the figure below. 

![illustration of an equation rendered inline with prose and again as a block](https://bkardell.com/media/mathml-inline-and-block.png)

These can be overridden and extended with custom layouts.  `display: contents` computes to ``none`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5385 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 3 August 2020 19:37:55 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:13 UTC