Files
firefox/testing/web-platform/tests/css/css-pseudo
Oriol Brufau ee20551f7a Bug 1602427 [wpt PR 20679] - [css-pseudo] Fix WPT test mismatch expectations for ::marker, a=testonly
Automatic update from web-platform-tests
[css-pseudo] Fix WPT test mismatch expectations for ::marker

In some tests I added both "match" and "mismatch" conditions, expecting
both of them to hold since that's how Chromium treats that.

However, according to the docs, if a test has multiple conditions, they
should be treated as an OR operator. This makes a test pass in Firefox
even if the rendering is wrong. The proper way to check multiple
conditions with the AND operator is adding the extra ones in the
references.

Spec: https://web-platform-tests.org/writing-tests/reftests.html#complex-pass-conditions
Change-Id: Idb737e2486f2155f05a09a2c88bc1094c1b603e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1958128
Reviewed-by: Rune Lillesveen <[email protected]>
Commit-Queue: Oriol Brufau <[email protected]>
Cr-Commit-Position: refs/heads/master@{#723296}

--

wpt-commits: bf028a7fa1d2edd9c4e6aa780d3844554eefbde1
wpt-pr: 20679
2019-12-11 10:30:34 +00:00
..
…