Bug 1691792 [wpt PR 27552] - Remove some non-standard test cases from a counter style WPT test, a=testonly

Automatic update from web-platform-tests
Remove some non-standard test cases from a counter style WPT test

WPT css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/redefine-attr-mapping.html
tests the "type" attribute on <ul>, <ol> and <li> tags, which is
non-standard other than values "i", "I", "a" and "A" on <ol> [1].

Firefox and Chrome have implemented different sets of non-standard
type values on these tags. The test is currently asserting Firefox's
behavior.

This patch removes some of the non-standard test cases, and leaves
the common implemented subset between Firefox and Chrome, so that we
can also pass the test.

[1] https://html.spec.whatwg.org/multipage/grouping-content.html#attr-ol-type

Bug: 687225
Change-Id: I855f9d4e50bdc3cae0c03cc87b66081bd39c88a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2684619
Auto-Submit: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#852316}

--

wpt-commits: 08d4723607039bae9981039dd99bf2b0bdd86b78
wpt-pr: 27552
This commit is contained in:
Xiaocheng Hu 2021-02-11 16:47:28 +00:00 коммит произвёл moz-wptsync-bot
Родитель 76e2c9068f
Коммит 292c8d7b88
2 изменённых файлов: 0 добавлений и 34 удалений

Просмотреть файл

@ -17,31 +17,14 @@
</style>
<ul class="triangle"><li></ul>
<ul class="triangle"><li></ul>
<ul class="triangle"><li></ul>
<ul class="hiragana"><li></ul>
<ul class="katakana"><li></ul>
<ul class="hiragana-iroha"><li></ul>
<ul class="katakana-iroha"><li></ul>
<ul class="hiragana"><li></ul>
<ul class="katakana"><li></ul>
<ul class="hiragana-iroha"><li></ul>
<ul class="katakana-iroha"><li></ul>
<ol><li></ol>
<ol class="triangle"><li></ol>
<ol class="triangle"><li></ol>
<ol class="triangle"><li></ol>
<ol class="hiragana"><li></ol>
<ol class="katakana"><li></ol>
<ol class="hiragana-iroha"><li></ol>
<ol class="katakana-iroha"><li></ol>
<ol class="hiragana"><li></ol>
<ol class="katakana"><li></ol>
<ol class="hiragana-iroha"><li></ol>
<ol class="katakana-iroha"><li></ol>
<ul>
<li class="triangle">
<li class="triangle">
<li class="triangle">
<li class="hiragana">

Просмотреть файл

@ -34,33 +34,16 @@
}
</style>
<ul type="circle"><li></ul>
<ul type="round"><li></ul>
<ul type="square"><li></ul>
<ul type="i"><li></ul>
<ul type="I"><li></ul>
<ul type="a"><li></ul>
<ul type="A"><li></ul>
<ul type="lower-roman"><li></ul>
<ul type="upper-roman"><li></ul>
<ul type="lower-alpha"><li></ul>
<ul type="upper-alpha"><li></ul>
<ol><li></ol>
<ol type="circle"><li></ol>
<ol type="round"><li></ol>
<ol type="square"><li></ol>
<ol type="i"><li></ol>
<ol type="I"><li></ol>
<ol type="a"><li></ol>
<ol type="A"><li></ol>
<ol type="lower-roman"><li></ol>
<ol type="upper-roman"><li></ol>
<ol type="lower-alpha"><li></ol>
<ol type="upper-alpha"><li></ol>
<ul>
<li type="circle">
<li type="round">
<li type="square">
<li type="i">
<li type="I">