Bug 1688776 [wpt PR 27317] - Change whitespace collapsing in Mozilla counter style...
commitac66eaf2b4c7b2f11751c4cb86de0d6f8571daa9
authorBlink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Tue, 2 Feb 2021 09:12:43 +0000 (2 09:12 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 2 Feb 2021 17:08:01 +0000 (2 17:08 +0000)
treef02eb3ce29b9921d0acf3e562ebe2ad45f94806b
parentfde89fd57de7d9e42ae86cae1b44119d0e612a69
Bug 1688776 [wpt PR 27317] - Change whitespace collapsing in Mozilla counter style WPT tests so that Blink can pass, a=testonly

Automatic update from web-platform-tests
Change whitespace collapsing in Mozilla counter style WPT tests so that Blink can pass (#27317)

In Firefox, white spaces in list marker text are never collapsed [1],
which can be a either bug or just a UA-defined behavior. The Mozilla
WPT tests currently assume this behavior. Blink doesn't have this
behavior, and therefore is currently failing on these tests.

For now, we modify the tests by adding 'white-space: pre' to list
markers, so that Blink can also pass them.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1688769

Bug: 687225
Change-Id: I5b1e244a963e7454231d2d674950485fc8a06ffd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2648650
Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org>
Reviewed-by: Chris Harrelson <chrishtr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#847925}

Co-authored-by: Xiaocheng Hu <xiaochengh@chromium.org>
--

wpt-commits: 9cdaa1607511824df0c9ae77f6b60d0b23f24d04
wpt-pr: 27317
testing/web-platform/tests/css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/support/test-common.css