-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS margin/border/padding compatibility #14
Comments
From my investigation (Firefox on Linux), only margin is taken into account for MathML. |
cc @bfgeek |
I think we are now ready to handle this, so I'll put this on the agenda of the nxt MathML CG meeting. Currently, the metrics of the margin/border/padding are defined the same as the content box: I personally think it makes sense to support margin/border/padding my proposal would be to just inflate the content box with the corresponding margin/border/padding in order to deduce the metrics for the margin/border/padding boxes. And define the child offsets within the border box to match the CSS layout API. For MathML-specific metrics:
|
… the corresponding CSS properties. w3c/mathml#14
Consensus from July 8 meeting:
I updated the MathML Core specification to explain how the metrics of the margin/border/padding boxes are deduced from the one of the content box. |
These are very basic tests to check support for w3c/mathml#14 Put in a dedicated folder since it's likely that we need a more lot tests.
These are very basic tests to check support for w3c/mathml#14 Put in a dedicated folder since it's likely that we need a more lot tests.
We have tests for these: They probably need to be refined and extended later but I think we can close this issue. |
… border-width, a=testonly Automatic update from web-platform-tests MathML: Add tests for padding / margin / border-width (#18046) These are very basic tests to check support for w3c/mathml#14 Put in a dedicated folder since it's likely that we need a more lot tests. -- wpt-commits: b9480320a5775a8cbb28725246070273c20cdf83 wpt-pr: 18046
… border-width, a=testonly Automatic update from web-platform-tests MathML: Add tests for padding / margin / border-width (#18046) These are very basic tests to check support for w3c/mathml#14 Put in a dedicated folder since it's likely that we need a more lot tests. -- wpt-commits: b9480320a5775a8cbb28725246070273c20cdf83 wpt-pr: 18046
…ests#18046) These are very basic tests to check support for w3c/mathml#14 Put in a dedicated folder since it's likely that we need a more lot tests.
… border-width, a=testonly Automatic update from web-platform-tests MathML: Add tests for padding / margin / border-width (#18046) These are very basic tests to check support for w3c/mathml#14 Put in a dedicated folder since it's likely that we need a more lot tests. -- wpt-commits: b9480320a5775a8cbb28725246070273c20cdf83 wpt-pr: 18046 UltraBlame original commit: a00d932c57dc1b8797bae222238046e9f96b9ee8
… border-width, a=testonly Automatic update from web-platform-tests MathML: Add tests for padding / margin / border-width (#18046) These are very basic tests to check support for w3c/mathml#14 Put in a dedicated folder since it's likely that we need a more lot tests. -- wpt-commits: b9480320a5775a8cbb28725246070273c20cdf83 wpt-pr: 18046 UltraBlame original commit: a00d932c57dc1b8797bae222238046e9f96b9ee8
… border-width, a=testonly Automatic update from web-platform-tests MathML: Add tests for padding / margin / border-width (#18046) These are very basic tests to check support for w3c/mathml#14 Put in a dedicated folder since it's likely that we need a more lot tests. -- wpt-commits: b9480320a5775a8cbb28725246070273c20cdf83 wpt-pr: 18046 UltraBlame original commit: a00d932c57dc1b8797bae222238046e9f96b9ee8
We need to clarify how CSS margin/border/padding is treated in MathML boxes.
AFAIK, Gecko supports margin/border/padding while WebKit just ignore these values.
Original report: https://gitlab.com/mathml/MathMLinHTML5/issues/9
The text was updated successfully, but these errors were encountered: