Re: CSS layout and line breaking
David Carlisle <[email protected]> Mon, 04 Mar 2013 09:29:33 +0000
| Newsgroups | gmane.comp.mozilla.devel.mathml |
|---|---|
| Organization | NAG |
| Message-ID | <[email protected]> |
On 04/03/2013 06:37, Karl Tomlinson wrote: >> <mpadded width="height">...</mpadded> >>> >>> can make width depends on height is a problem with our curent >>> approach but that could probably be removed from the MathML spec >>> (I don't think computing horizontal metrics from vertical metrics >>> is used in practice). > Yes, this adds considerable complexity to the algorithm. > In some layout systems (TeX for example) this is no complexity at all and is exactly the same as accessing the width, similarly in the spec it just fell out naturally by giving all "length" based attributes the same syntax. That said, it is I would guess, never used in real documents other than test files. It really is not worth adding any complexity to support this. I don't think there is any issue really once the gecko and webkit implementations have shaken out what works and what doesn't work so well in a css/browser based context that we publish some kind of note or profile or whatever detailing any darker corners like this. Whether you should ignore width="height" or (perhaps better just say height means "current baseline spacing" or something) could be decided later. David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________