Commit b7f18e98 authored by Rob Buis's avatar Rob Buis Committed by Commit Bot

[mathml] Fix displaystyle-011.html

mtable sets displaystyle to false [1] so add an
appropriate stylesheet entry for it, i.e.
math-style: compact. This makes displaystyle-011.html
pass.

[1] https://mathml-refresh.github.io/mathml-core/#table-or-matrix-mtable

Bug: 6606
Change-Id: I376698e43153d6893b5bd826bb7625563cbab030
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2464269Reviewed-by: default avatarFrédéric Wang <fwang@igalia.com>
Commit-Queue: Rob Buis <rbuis@igalia.com>
Cr-Commit-Position: refs/heads/master@{#816249}
parent 38c6473a
...@@ -74,6 +74,11 @@ mi { ...@@ -74,6 +74,11 @@ mi {
text-transform: math-auto; text-transform: math-auto;
} }
/* Tables */
mtable {
math-style: compact;
}
/* Fractions */ /* Fractions */
mfrac { mfrac {
padding-inline-start: 1px; padding-inline-start: 1px;
...@@ -121,4 +126,3 @@ mover[accent="true" i] > :first-child, ...@@ -121,4 +126,3 @@ mover[accent="true" i] > :first-child,
munderover[accent="true" i] > :first-child { munderover[accent="true" i] > :first-child {
math-shift: compact; math-shift: compact;
} }
...@@ -1193,7 +1193,6 @@ crbug.com/6606 external/wpt/mathml/presentation-markup/tables/table-001.html [ F ...@@ -1193,7 +1193,6 @@ crbug.com/6606 external/wpt/mathml/presentation-markup/tables/table-001.html [ F
crbug.com/6606 external/wpt/mathml/presentation-markup/tables/table-002.html [ Failure ] crbug.com/6606 external/wpt/mathml/presentation-markup/tables/table-002.html [ Failure ]
crbug.com/6606 external/wpt/mathml/presentation-markup/tables/table-axis-height.html [ Failure ] crbug.com/6606 external/wpt/mathml/presentation-markup/tables/table-axis-height.html [ Failure ]
crbug.com/6606 external/wpt/mathml/relations/css-styling/attribute-mapping-002.html [ Failure ] crbug.com/6606 external/wpt/mathml/relations/css-styling/attribute-mapping-002.html [ Failure ]
crbug.com/6606 external/wpt/mathml/relations/css-styling/displaystyle-011.html [ Failure ]
crbug.com/6606 external/wpt/mathml/relations/css-styling/displaystyle-1.html [ Failure ] crbug.com/6606 external/wpt/mathml/relations/css-styling/displaystyle-1.html [ Failure ]
crbug.com/6606 external/wpt/mathml/relations/css-styling/displaystyle-2.html [ Failure ] crbug.com/6606 external/wpt/mathml/relations/css-styling/displaystyle-2.html [ Failure ]
crbug.com/6606 external/wpt/mathml/relations/css-styling/ignored-properties-001.html [ Failure Timeout ] crbug.com/6606 external/wpt/mathml/relations/css-styling/ignored-properties-001.html [ Failure Timeout ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment