Commit 8ba2d9ea authored by Xiaocheng Hu's avatar Xiaocheng Hu Committed by Commit Bot

Do not test `font-display: auto` in WPT

The spec (*) intentionally leaves the behavior of `font-display: auto` as
user-agent-defined, allowing different browsers to use different
strategies. Therefore, the behavior will not be interoperable and should
not be tested in WPT.

This patch removes the related tests from
css/css-fonts/font-display/font-display.html

(*) https://drafts.csswg.org/css-fonts-4/#valdef-font-face-font-display-auto

Bug: 1132458
Change-Id: Ia48d4e36f3bf619d384b262b2978040865eca694
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2450748Reviewed-by: default avatarKunihiko Sakamoto <ksakamoto@chromium.org>
Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#814227}
parent 56fa6cc8
......@@ -1919,9 +1919,6 @@ crbug.com/752449 [ Mac10.12 ] external/wpt/css/css-fonts/matching/style-ranges-o
crbug.com/450619 external/wpt/css/css-fonts/font-feature-resolution-001.html [ Failure ]
crbug.com/450619 external/wpt/css/css-fonts/font-feature-resolution-002.html [ Failure ]
# The WPT asserts browser-specific behavior. Need to modify the test.
crbug.com/1132458 external/wpt/css/css-fonts/font-display/font-display.html [ Failure ]
# These need a rebaseline due crbug.com/504745 on Windows when they are activated again.
crbug.com/521124 crbug.com/410145 [ Win7 ] fast/css/font-weight-1.html [ Pass Failure ]
......
......@@ -14,7 +14,6 @@
<tr>
<th>T[sec]</th>
<th>delay[sec]</th>
<th>auto</th>
<th>block</th>
<th>swap</th>
<th>fallback</th>
......@@ -24,7 +23,6 @@
<td>0</td>
<td>1</td>
<td></td>
<td></td>
<td class="arial">a</td>
<td></td>
<td class="arial">a</td>
......@@ -36,7 +34,6 @@
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
</tr>
<tr>
<td>1</td>
......@@ -44,14 +41,12 @@
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="arial">a</td>
</tr>
<tr>
<td>1</td>
<td>3</td>
<td></td>
<td></td>
<td class="arial">a</td>
<td class="arial">a</td>
<td class="arial">a</td>
......@@ -62,7 +57,6 @@
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="arial">a</td>
</tr>
<tr>
......@@ -70,7 +64,6 @@
<td>4</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="arial">a</td>
<td class="arial">a</td>
</tr>
......@@ -81,6 +74,5 @@
<td class="arial">a</td>
<td class="arial">a</td>
<td class="arial">a</td>
<td class="arial">a</td>
</tr>
</table>
......@@ -13,7 +13,6 @@
<tr>
<th>T[sec]</th>
<th>delay[sec]</th>
<th>auto</th>
<th>block</th>
<th>swap</th>
<th>fallback</th>
......@@ -21,7 +20,7 @@
</tr>
</table>
<script>
var fontDisplayValues = ['auto', 'block', 'swap', 'fallback', 'optional'];
var fontDisplayValues = ['block', 'swap', 'fallback', 'optional'];
var configs = [{time: 0, delay: 1000},
{time: 1000, delay: 0},
{time: 1000, delay: 500},
......
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