-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mathml] Update WPT tests that assume CSS width/height are ignored
Math WG decided that width/height should be taken into account on all MathML elements [1]. This CL updates the following legacy tests that assume the properties are actually ignored [2]: * `ignored-properties-001.html`: This test was checking the properties are ignored. Remove these checks. * `width-height-001.html`: This test was checking the elements keep the same dimension with or without specifying width, height, inline-size or block-size. Change it to actually verify it does take the specified dimensions. * `display-1.html`: This test was checking that the content of a `<math display=block>` with a specified width is horizontally centered inside a parent div. Now that the width is no longer ignored, instead check that it is horizontally centered within the `math` element. More tests will be added in follow-up CLs to further check the effect of specifying width/height on elements. [1] w3c/mathml-core#75 [2] web-platform-tests/interop#197 (comment) Bug: 6606 Change-Id: I6ff46b7589f27cc16ba81db126a4ceaa3a31ef61
- Loading branch information
1 parent
e021431
commit 56ade71
Showing
3 changed files
with
28 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters