Update web-platform-tests to revision cf261625e2d230ab219eec966f4abe26e3401b64

This commit is contained in:
WPT Sync Bot 2018-05-29 21:17:45 -04:00
parent 11a89bcc47
commit 8f98acd0e7
297 changed files with 3396 additions and 1555 deletions

View file

@ -15,7 +15,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome reftest 1 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -32,7 +32,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome reftest 2 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -49,7 +49,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome reftest 3 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -66,7 +66,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome reftest 4 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -83,7 +83,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome reftest 5 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -100,7 +100,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome reftest 6 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -117,7 +117,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome reftest 7 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -134,7 +134,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome reftest 8 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -151,7 +151,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome reftest 9 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -168,7 +168,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome reftest 10 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -185,7 +185,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome wdspec 1 1"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -202,7 +202,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 1 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -219,7 +219,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 2 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -236,7 +236,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 3 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -253,7 +253,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 4 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -270,7 +270,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 5 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -287,7 +287,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 6 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -304,7 +304,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 7 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -321,7 +321,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 8 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -338,7 +338,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 9 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -355,7 +355,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 10 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -372,7 +372,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 11 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -389,7 +389,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 12 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -406,7 +406,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 13 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -423,7 +423,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 14 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -440,7 +440,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ chrome testharness 15 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -457,7 +457,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox reftest 1 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -474,7 +474,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox reftest 2 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -491,7 +491,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox reftest 3 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -508,7 +508,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox reftest 4 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -525,7 +525,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox reftest 5 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -542,7 +542,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox reftest 6 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -559,7 +559,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox reftest 7 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -576,7 +576,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox reftest 8 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -593,7 +593,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox reftest 9 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -610,7 +610,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox reftest 10 10"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -627,7 +627,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox wdspec 1 1"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -644,7 +644,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 1 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -661,7 +661,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 2 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -678,7 +678,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 3 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -695,7 +695,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 4 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -712,7 +712,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 5 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -729,7 +729,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 6 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -746,7 +746,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 7 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -763,7 +763,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 8 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -780,7 +780,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 9 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -797,7 +797,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 10 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -814,7 +814,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 11 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -831,7 +831,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 12 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -848,7 +848,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 13 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -865,7 +865,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 14 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker
@ -882,7 +882,7 @@ tasks:
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
\ firefox testharness 15 15"]
image: harjgam/web-platform-tests:0.12
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
provisionerId: aws-provisioner-v1
workerType: wpt-docker-worker

View file

@ -7,7 +7,7 @@
# http://philip.html5.org/tests/canvas/suite/tests/
#
# It has been adapted for use with the Web Platform Test Suite suite at
# https://github.com/w3c/web-platform-tests/
# https://github.com/web-platform-tests/wpt/
#
# The original version had a number of now-removed features (multiple versions of
# each test case of varying verbosity, Mozilla mochitests, semi-automated test

View file

@ -37,6 +37,51 @@ async_test(t => {
});
}, 'Fetching a blob URL immediately before revoking it works in an iframe navigation.');
async_test(t => {
const run_result = 'test_frame_OK';
const blob_contents = '<!doctype html>\n<meta charset="utf-8">\n' +
'<script>window.test_result = "' + run_result + '";</script>';
const blob = new Blob([blob_contents], {type: 'text/html'});
const url = URL.createObjectURL(blob);
const win = window.open(url);
URL.revokeObjectURL(url);
add_completion_callback(() => { win.close(); });
win.onload = t.step_func_done(() => {
assert_equals(win.test_result, run_result);
});
}, 'Opening a blob URL in a new window immediately before revoking it works.');
function receive_message_on_channel(t, channel_name) {
const channel = new BroadcastChannel(channel_name);
return new Promise(resolve => {
channel.addEventListener('message', t.step_func(e => {
resolve(e.data);
}));
});
}
function window_contents_for_channel(channel_name) {
return '<!doctype html>\n' +
'<script>\n' +
'new BroadcastChannel("' + channel_name + '").postMessage("foobar");\n' +
'self.close();\n' +
'</script>';
}
async_test(t => {
const channel_name = 'noopener-window-test';
const blob = new Blob([window_contents_for_channel(channel_name)], {type: 'text/html'});
receive_message_on_channel(t, channel_name).then(t.step_func_done(t => {
assert_equals(t, 'foobar');
}));
const url = URL.createObjectURL(blob);
const win = window.open();
win.opener = null;
win.location = url;
URL.revokeObjectURL(url);
}, 'Opening a blob URL in a noopener about:blank window immediately before revoking it works.');
async_test(t => {
const run_result = 'test_script_OK';
const blob_contents = 'window.script_test_result = "' + run_result + '";';

View file

@ -0,0 +1,36 @@
function blob_url_reload_test(t, revoke_before_reload) {
const run_result = 'test_frame_OK';
const blob_contents = '<!doctype html>\n<meta charset="utf-8">\n' +
'<script>window.test_result = "' + run_result + '";</script>';
const blob = new Blob([blob_contents], {type: 'text/html'});
const url = URL.createObjectURL(blob);
const frame = document.createElement('iframe');
frame.setAttribute('src', url);
frame.setAttribute('style', 'display:none;');
document.body.appendChild(frame);
frame.onload = t.step_func(() => {
if (revoke_before_reload)
URL.revokeObjectURL(url);
assert_equals(frame.contentWindow.test_result, run_result);
frame.contentWindow.test_result = null;
frame.onload = t.step_func_done(() => {
assert_equals(frame.contentWindow.test_result, run_result);
});
// Slight delay before reloading to ensure revoke actually has had a chance
// to be processed.
t.step_timeout(() => {
frame.contentWindow.location.reload();
}, 250);
});
}
async_test(t => {
blob_url_reload_test(t, false);
}, 'Reloading a blob URL succeeds.');
async_test(t => {
blob_url_reload_test(t, true);
}, 'Reloading a blob URL succeeds even if the URL was revoked.');

View file

@ -15,7 +15,7 @@ editors and implementors.
Setting Up the Repo
===================
Clone or otherwise get https://github.com/w3c/web-platform-tests.
Clone or otherwise get https://github.com/web-platform-tests/wpt.
Note: because of the frequent creation and deletion of branches in this
repo, it is recommended to "prune" stale branches when fetching updates,
@ -356,7 +356,7 @@ Issues with web-platform-tests
If you spot an issue with a test and are not comfortable providing a
pull request per above to fix it, please
[file a new issue](https://github.com/w3c/web-platform-tests/issues/new).
[file a new issue](https://github.com/web-platform-tests/wpt/issues/new).
Thank you!
Lint tool
@ -432,11 +432,11 @@ upstream review.
Search filters to find things to review:
* [Open PRs (excluding vendor exports)](https://github.com/w3c/web-platform-tests/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+-label%3A%22mozilla%3Agecko-sync%22+-label%3A%22chromium-export%22+-label%3A%22webkit-export%22+-label%3A%22servo-export%22)
* [Reviewed but still open PRs (excluding vendor exports)](https://github.com/w3c/web-platform-tests/pulls?q=is%3Apr+is%3Aopen+-label%3Amozilla%3Agecko-sync+-label%3Achromium-export+-label%3Awebkit-export+-label%3Aservo-export+review%3Aapproved) (Merge? Something left to fix? Ping other reviewer?)
* [Open PRs without owners](https://github.com/w3c/web-platform-tests/pulls?q=is%3Apr+is%3Aopen+label%3Astatus%3Aneeds-owners)
* [Open PRs with label `infra` (excluding vendor exports)](https://github.com/w3c/web-platform-tests/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+label%3Ainfra+-label%3A%22mozilla%3Agecko-sync%22+-label%3A%22chromium-export%22+-label%3A%22webkit-export%22+-label%3A%22servo-export%22)
* [Open PRs with label `docs` (excluding vendor exports)](https://github.com/w3c/web-platform-tests/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+label%3Adocs+-label%3A%22mozilla%3Agecko-sync%22+-label%3A%22chromium-export%22+-label%3A%22webkit-export%22+-label%3A%22servo-export%22)
* [Open PRs (excluding vendor exports)](https://github.com/web-platform-tests/wpt/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+-label%3A%22mozilla%3Agecko-sync%22+-label%3A%22chromium-export%22+-label%3A%22webkit-export%22+-label%3A%22servo-export%22)
* [Reviewed but still open PRs (excluding vendor exports)](https://github.com/web-platform-tests/wpt/pulls?q=is%3Apr+is%3Aopen+-label%3Amozilla%3Agecko-sync+-label%3Achromium-export+-label%3Awebkit-export+-label%3Aservo-export+review%3Aapproved) (Merge? Something left to fix? Ping other reviewer?)
* [Open PRs without owners](https://github.com/web-platform-tests/wpt/pulls?q=is%3Apr+is%3Aopen+label%3Astatus%3Aneeds-owners)
* [Open PRs with label `infra` (excluding vendor exports)](https://github.com/web-platform-tests/wpt/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+label%3Ainfra+-label%3A%22mozilla%3Agecko-sync%22+-label%3A%22chromium-export%22+-label%3A%22webkit-export%22+-label%3A%22servo-export%22)
* [Open PRs with label `docs` (excluding vendor exports)](https://github.com/web-platform-tests/wpt/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+label%3Adocs+-label%3A%22mozilla%3Agecko-sync%22+-label%3A%22chromium-export%22+-label%3A%22webkit-export%22+-label%3A%22servo-export%22)
Getting Involved
================
@ -449,7 +449,7 @@ The mailing list is [archived][mailarchive].
Join us on irc #testing ([irc.w3.org][ircw3org], port 6665). The channel
is [archived][ircarchive].
[contributing]: https://github.com/w3c/web-platform-tests/blob/master/CONTRIBUTING.md
[contributing]: https://github.com/web-platform-tests/wpt/blob/master/CONTRIBUTING.md
[ircw3org]: https://www.w3.org/wiki/IRC
[ircarchive]: https://w3.logbot.info/testing
[mailarchive]: https://lists.w3.org/Archives/Public/public-test-infra/

View file

@ -52,7 +52,7 @@ Context](JSONtest-v1.jsonld). That context defines the following terms:
|name | string | The name of this test for display purposes
|description | string | A long self-describing paragraph that explains the purpose of the test and the expected input
|ref | URI | An optional reference to the portion of the specification to which the test relates
|testType | `automated`, `manual`, `ref` | The type of test - this informs [WPT](https://github.com/w3c/web-platform-tests) how the test should be controlled and presented
|testType | `automated`, `manual`, `ref` | The type of test - this informs [WPT](https://github.com/web-platform-tests/wpt) how the test should be controlled and presented
|skipFailures | list of strings | An optional list of assertionType values that, if present, should have their test skipped if the result would be "unexpected". Defaults to the empty list.
|assertions | list of URI, List @@@ATRISK@@@, or AssertionObject | The ordered collection of tests the input should be run against. See [JSON Schema Usage](#jsonSchema) for the structure of the objects. URI is relative to the top level folder of the test collection if it has a slash; relative to the current directory if it does not. @@@@ATRISK@@@@ Lists can be nested to define groups of sub-tests. Assertions / groups can be conditionally skipped. See [Assertion Lists](#assertionLists) for more details.
|content | URI or object | An object containing content to be checked against the referenced assertions, or a URI from which to retrieve that content

View file

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
import os
ccdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# based on https://github.com/w3c/web-platform-tests/blob/275544eab54a0d0c7f74ccc2baae9711293d8908/url/urltestdata.txt
# based on https://github.com/web-platform-tests/wpt/blob/275544eab54a0d0c7f74ccc2baae9711293d8908/url/urltestdata.txt
invalid = {
"scheme-trailing-space": "a: foo.com",
"scheme-trailing-tab": "a:\tfoo.com",

View file

@ -14,7 +14,7 @@
<body>
<h1>Introduction to Writing Content Security Policy Tests</h1>
<p>The CSP test suite uses the standard W3C testharness.js framework, but there are a few additional things you'll need to do because of the unique way CSP works, even if you're already an expert at writing W3C tests. These tests require the use of the
<a href="https://github.com/w3c/wptserve">wptserve</a> server (included in the <a href="https://github.com/w3c/web-platform-tests">web-platform-tests repository</a>) to operate correctly.</p>
<a href="https://github.com/w3c/wptserve">wptserve</a> server (included in the <a href="https://github.com/web-platform-tests/wpt">web-platform-tests repository</a>) to operate correctly.</p>
<h2>What's different about writing CSP tests?</h2>

View file

@ -1,7 +1,7 @@
'use strict';
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -1,7 +1,7 @@
'use strict';
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -1,7 +1,7 @@
'use strict';
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -1,7 +1,7 @@
'use strict';
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -1,7 +1,7 @@
'use strict';
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -1,7 +1,7 @@
'use strict';
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -1,7 +1,7 @@
'use strict';
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -1,7 +1,7 @@
'use strict';
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -1,7 +1,7 @@
'use strict';
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -1,7 +1,7 @@
'use strict';
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -1,7 +1,7 @@
'use strict';
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -1,7 +1,7 @@
'use strict';
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -1,7 +1,7 @@
'use strict';
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -9,7 +9,7 @@
'use strict';
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -19,7 +19,7 @@ self.addEventListener('install', (event) => {
});
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -12,7 +12,7 @@ self.addEventListener('install', (event) => {
});
// Workaround because add_cleanup doesn't support async functions yet.
// See https://github.com/w3c/web-platform-tests/issues/6075
// See https://github.com/web-platform-tests/wpt/issues/6075
async function async_cleanup(cleanup_function) {
try {
await cleanup_function();

View file

@ -6,62 +6,41 @@
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#logical-to-physical">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/style-check.js"></script>
<script src="/resources/check-layout-th.js"></script>
<style>
div {
.block {
border: 1px solid #000;
writing-mode: vertical-lr;
}
#div1 {
#block1 {
block-size: 40px;
min-block-size: 50px;
max-block-size: 100px;
}
#div2 {
#block2 {
block-size: 100px;
min-block-size: 50px;
max-block-size: 100px;
}
#div3 {
#block3 {
block-size: 120px;
min-block-size: 50px;
max-block-size: 100px;
}
#ref_div1 {
width: 40px;
min-width: 50px;
max-width: 100px;
}
#ref_div2 {
width: 100px;
min-width: 50px;
max-width: 100px;
}
#ref_div3 {
width: 120px;
min-width: 50px;
max-width: 100px;
}
p {
.override {
border: 1px solid #000;
writing-mode: vertical-lr;
}
#p1 {
#override1 {
block-size: 100px;
width: 50px;
}
#p2 {
#override2 {
width: 50px;
block-size: 100px;
}
#ref_p1 {
width: 50px;
}
#ref_p2 {
width: 100px;
}
.table {
border: 1px solid #000;
@ -70,7 +49,6 @@ p {
}
.tablecell {
display: table-cell;
writing-mode: vertical-lr;
}
#table1_cell {
block-size: 40px;
@ -93,75 +71,52 @@ p {
inline-size: 100px;
background-color: green;
}
#ref_table1_cell {
width: 40px;
min-width: 50px;
max-width: 100px;
height: 100px;
background-color: red;
}
#ref_table2_cell {
width: 100px;
min-width: 50px;
max-width: 100px;
height: 100px;
background-color: blue;
}
#ref_table3_cell {
width: 120px;
min-width: 50px;
max-width: 100px;
height: 100px;
background-color: green;
}
</style>
<div id="div1"></div>
<div id="div2"></div>
<div id="div3"></div>
<div id="ref_div1"></div>
<div id="ref_div2"></div>
<div id="ref_div3"></div>
<div id="log"></div>
<p id="p1"></div>
<p id="p2"></div>
<p id="ref_p1"></div>
<p id="ref_p2"></div>
<h3>Maximum and minimim block sizes in blocks with vertical-lr</h3>
<div>
<p><code>block-size</code> &lt; <code>min-block-size</code></p>
<div class="block" id="block1" data-expected-client-width="50" data-expected-client-height="0"></div>
<div class="table">
<div class="tablecell" id="table1_cell"></div>
<p><code>min-block-size</code> &lt; <code>block-size</code> &le; <code>max-block-size</code></p>
<div class="block" id="block2" data-expected-client-width="100" data-expected-client-height="0"></div>
<p><code>block-size</code> &gt; <code>max-block-size</code></p>
<div class="block" id="block3" data-expected-client-width="100" data-expected-client-height="0"></div>
</div>
<div class="table">
<div class="tablecell" id="table2_cell"></div>
<h3>Overridance of <code>width</code> and <code>block-size</code> in vertical-lr</h3>
<div>
<p>Check that <code>width</code> overrides <code>block-size</code></p>
<div class="override" id="override1" data-expected-client-width="50" data-expected-client-height="0"></div>
<p>Check that <code>block-size</code> overrides <code>width</code></p>
<div class="override" id="override2" data-expected-client-width="100" data-expected-client-height="0"></div>
</div>
<div class="table">
<div class="tablecell" id="table3_cell"></div>
</div>
<div class="table">
<div class="tablecell" id="ref_table1_cell"></div>
</div>
<div class="table">
<div class="tablecell" id="ref_table2_cell"></div>
</div>
<div class="table">
<div class="tablecell" id="ref_table3_cell"></div>
<h3>Maximum and minimim block sizes in table cells with vertical-lr</h3>
<div>
<p><code>block-size</code> &lt; <code>min-block-size</code></p>
<div class="table">
<div class="tablecell" id="table1_cell" data-expected-client-width="40" data-expected-client-height="100"></div>
</div>
<p><code>min-block-size</code> &lt; <code>block-size</code> &le; <code>max-block-size</code></p>
<div class="table">
<div class="tablecell" id="table2_cell" data-expected-client-width="100" data-expected-client-height="100"></div>
</div>
<p><code>block-size</code> &gt; <code>max-block-size</code></p>
<div class="table">
<div class="tablecell" id="table3_cell" data-expected-client-width="120" data-expected-client-height="100"></div>
</div>
</div>
<script>
test(function () {
assert_true(compareWidthHeight("div1", "ref_div1"));
assert_true(compareWidthHeight("div2", "ref_div2"));
assert_true(compareWidthHeight("div3", "ref_div3"));
}, "Check that block-size < min-block-size or min-block-size < block-size <= max-block-size or block-size > max-block-size in vertical-lr");
test(function () {
assert_true(compareWidthHeight("p1", "ref_p1"));
assert_true(compareWidthHeight("p2", "ref_p2"));
}, "Check that width override block-size and vice versa in vertical-lr");
test(function () {
assert_true(compareWidthHeight("table1_cell", "ref_table1_cell"));
assert_true(compareWidthHeight("table2_cell", "ref_table2_cell"));
assert_true(compareWidthHeight("table3_cell", "ref_table3_cell"));
}, "Check that block-size < min-block-size or min-block-size < block-size <= max-block-size or block-size > max-block-size in table vertical-lr");
checkLayout(".block", false);
checkLayout(".override", false);
checkLayout(".tablecell", false);
done();
</script>

View file

@ -6,60 +6,43 @@
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#logical-to-physical">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/style-check.js"></script>
<script src="/resources/check-layout-th.js"></script>
<style>
div {
.tests {
width: 600px;
}
.block {
border: 1px solid #000;
}
#div1 {
#block1 {
block-size: 40px;
min-block-size: 50px;
max-block-size: 100px;
}
#div2 {
#block2 {
block-size: 100px;
min-block-size: 50px;
max-block-size: 100px;
}
#div3 {
#block3 {
block-size: 120px;
min-block-size: 50px;
max-block-size: 100px;
}
#ref_div1 {
height: 40px;
min-height: 50px;
max-height: 100px;
}
#ref_div2 {
height: 100px;
min-height: 50px;
max-height: 100px;
}
#ref_div3 {
height: 120px;
min-height: 50px;
max-height: 100px;
}
p {
.override {
border: 1px solid #000;
}
#p1 {
#override1 {
block-size: 100px;
height: 50px;
}
#p2 {
#override2 {
height: 50px;
block-size: 100px;
}
#ref_p1 {
height: 50px;
}
#ref_p2 {
height: 100px;
}
.table {
border: 1px solid #000;
@ -89,75 +72,52 @@ p {
inline-size: 100px;
background-color: green;
}
#ref_table1_cell {
height: 40px;
min-height: 50px;
max-height: 100px;
width: 100px;
background-color: red;
}
#ref_table2_cell {
height: 100px;
min-height: 50px;
max-height: 100px;
width: 100px;
background-color: blue;
}
#ref_table3_cell {
height: 120px;
min-height: 50px;
max-height: 100px;
width: 100px;
background-color: green;
}
</style>
<div id="div1"></div>
<div id="div2"></div>
<div id="div3"></div>
<div id="ref_div1"></div>
<div id="ref_div2"></div>
<div id="ref_div3"></div>
<div id="log"></div>
<p id="p1"></div>
<p id="p2"></div>
<p id="ref_p1"></div>
<p id="ref_p2"></div>
<h3>Maximum and minimim block sizes in blocks</h3>
<div class="tests">
<p><code>block-size</code> &lt; <code>min-block-size</code></p>
<div class="block" id="block1" data-expected-width="600" data-expected-client-height="50"></div>
<div class="table">
<div class="tablecell" id="table1_cell"></div>
<p><code>min-block-size</code> &lt; <code>block-size</code> &le; <code>max-block-size</code></p>
<div class="block" id="block2" data-expected-width="600" data-expected-client-height="100"></div>
<p><code>block-size</code> &gt; <code>max-block-size</code></p>
<div class="block" id="block3" data-expected-width="600" data-expected-client-height="100"></div>
</div>
<div class="table">
<div class="tablecell" id="table2_cell"></div>
<h3>Overridance of <code>height</code> and <code>block-size</code></h3>
<div class="tests">
<p>Check that <code>height</code> overrides <code>block-size</code></p>
<div class="override" id="override1" data-expected-width="600" data-expected-client-height="50"></div>
<p>Check that <code>block-size</code> overrides <code>height</code></p>
<div class="override" id="override2" data-expected-width="600" data-expected-client-height="100"></div>
</div>
<div class="table">
<div class="tablecell" id="table3_cell"></div>
</div>
<div class="table">
<div class="tablecell" id="ref_table1_cell"></div>
</div>
<div class="table">
<div class="tablecell" id="ref_table2_cell"></div>
</div>
<div class="table">
<div class="tablecell" id="ref_table3_cell"></div>
<h3>Maximum and minimim block sizes in table cells</h3>
<div class="tests">
<p><code>block-size</code> &lt; <code>min-block-size</code></p>
<div class="table">
<div class="tablecell" id="table1_cell" data-expected-client-width="100" data-expected-client-height="40"></div>
</div>
<p><code>min-block-size</code> &lt; <code>block-size</code> &le; <code>max-block-size</code></p>
<div class="table">
<div class="tablecell" id="table2_cell" data-expected-client-width="100" data-expected-client-height="100"></div>
</div>
<p><code>block-size</code> &gt; <code>max-block-size</code></p>
<div class="table">
<div class="tablecell" id="table3_cell" data-expected-client-width="100" data-expected-client-height="120"></div>
</div>
</div>
<script>
test(function () {
assert_true(compareWidthHeight("div1", "ref_div1"));
assert_true(compareWidthHeight("div2", "ref_div2"));
assert_true(compareWidthHeight("div3", "ref_div3"));
}, "Check that block-size < min-block-size or min-block-size < block-size <= max-block-size or block-size > max-block-size");
test(function () {
assert_true(compareWidthHeight("p1", "ref_p1"));
assert_true(compareWidthHeight("p2", "ref_p2"));
}, "Check that height override block-size and vice versa");
test(function () {
assert_true(compareWidthHeight("table1_cell", "ref_table1_cell"));
assert_true(compareWidthHeight("table2_cell", "ref_table2_cell"));
assert_true(compareWidthHeight("table3_cell", "ref_table3_cell"));
}, "Check that block-size < min-block-size or min-block-size < block-size <= max-block-size or block-size > max-block-size in table");
checkLayout(".block", false);
checkLayout(".override", false);
checkLayout(".tablecell", false);
done();
</script>

View file

@ -6,62 +6,41 @@
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#logical-to-physical">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/style-check.js"></script>
<script src="/resources/check-layout-th.js"></script>
<style>
div {
.block {
border: 1px solid #000;
writing-mode: vertical-lr;
}
#div1 {
#block1 {
inline-size: 40px;
min-inline-size: 50px;
max-inline-size: 100px;
}
#div2 {
#block2 {
inline-size: 100px;
min-inline-size: 50px;
max-inline-size: 100px;
}
#div3 {
#block3 {
inline-size: 120px;
min-inline-size: 50px;
max-inline-size: 100px;
}
#ref_div1 {
height: 40px;
min-height: 50px;
max-height: 100px;
}
#ref_div2 {
height: 100px;
min-height: 50px;
max-height: 100px;
}
#ref_div3 {
height: 120px;
min-height: 50px;
max-height: 100px;
}
p {
.override {
border: 1px solid #000;
writing-mode: vertical-lr;
}
#p1 {
#override1 {
inline-size: 100px;
height: 50px;
}
#p2 {
#override2 {
height: 50px;
inline-size: 100px;
}
#ref_p1 {
height: 50px;
}
#ref_p2 {
height: 100px;
}
.table {
border: 1px solid #000;
@ -70,7 +49,6 @@ p {
}
.tablecell {
display: table-cell;
writing-mode: vertical-lr;
}
#table1_cell {
inline-size: 40px;
@ -93,75 +71,52 @@ p {
block-size: 100px;
background-color: green;
}
#ref_table1_cell {
height: 40px;
min-height: 50px;
max-height: 100px;
width: 100px;
background-color: red;
}
#ref_table2_cell {
height: 100px;
min-height: 50px;
max-height: 100px;
width: 100px;
background-color: blue;
}
#ref_table3_cell {
height: 120px;
min-height: 50px;
max-height: 100px;
width: 100px;
background-color: green;
}
</style>
<div id="div1"></div>
<div id="div2"></div>
<div id="div3"></div>
<div id="ref_div1"></div>
<div id="ref_div2"></div>
<div id="ref_div3"></div>
<div id="log"></div>
<p id="p1"></div>
<p id="p2"></div>
<p id="ref_p1"></div>
<p id="ref_p2"></div>
<h3>Maximum and minimim inline sizes in blocks with vertical-lr</h3>
<div>
<p><code>inline-size</code> &lt; <code>min-inline-size</code></p>
<div class="block" id="block1" data-expected-client-width="0" data-expected-client-height="50"></div>
<div class="table">
<div class="tablecell" id="table1_cell"></div>
<p><code>min-inline-size</code> &lt; <code>inline-size</code> &le; <code>max-inline-size</code></p>
<div class="block" id="block2" data-expected-client-width="0" data-expected-client-height="100"></div>
<p><code>inline-size</code> &gt; <code>max-inline-size</code></p>
<div class="block" id="block3" data-expected-client-width="0" data-expected-client-height="100"></div>
</div>
<div class="table">
<div class="tablecell" id="table2_cell"></div>
<h3>Overridance of <code>height</code> and <code>inline-size</code> in vertical-lr</h3>
<div>
<p>Check that <code>height</code> overrides <code>inline-size</code></p>
<div class="override" id="override1" data-expected-client-width="0" data-expected-client-height="50"></div>
<p>Check that <code>inline-size</code> overrides <code>height</code></p>
<div class="override" id="override2" data-expected-client-width="0" data-expected-client-height="100"></div>
</div>
<div class="table">
<div class="tablecell" id="table3_cell"></div>
</div>
<div class="table">
<div class="tablecell" id="ref_table1_cell"></div>
</div>
<div class="table">
<div class="tablecell" id="ref_table2_cell"></div>
</div>
<div class="table">
<div class="tablecell" id="ref_table3_cell"></div>
<h3>Maximum and minimim inline sizes in table cells with vertical-lr</h3>
<div>
<p><code>inline-size</code> &lt; <code>min-inline-size</code></p>
<div class="table">
<div class="tablecell" id="table1_cell" data-expected-client-width="100" data-expected-client-height="50"></div>
</div>
<p><code>min-inline-size</code> &lt; <code>inline-size</code> &le; <code>max-inline-size</code></p>
<div class="table">
<div class="tablecell" id="table2_cell" data-expected-client-width="100" data-expected-client-height="100"></div>
</div>
<p><code>inline-size</code> &gt; <code>max-inline-size</code></p>
<div class="table">
<div class="tablecell" id="table3_cell" data-expected-client-width="100" data-expected-client-height="100"></div>
</div>
</div>
<script>
test(function () {
assert_true(compareWidthHeight("div1", "ref_div1"));
assert_true(compareWidthHeight("div2", "ref_div2"));
assert_true(compareWidthHeight("div3", "ref_div3"));
}, "Check that inline-size < min-inline-size or min-inline-size < inline-size <= max-inline-size or inline-size > max-inline-size in vertical-lr");
test(function () {
assert_true(compareWidthHeight("p1", "ref_p1"));
assert_true(compareWidthHeight("p2", "ref_p2"));
}, "Check that height override inline-size and vice versa in vertical-lr");
test(function () {
assert_true(compareWidthHeight("table1_cell", "ref_table1_cell"));
assert_true(compareWidthHeight("table2_cell", "ref_table2_cell"));
assert_true(compareWidthHeight("table3_cell", "ref_table3_cell"));
}, "Check that inline-size < min-inline-size or min-inline-size < inline-size <= max-inline-size or inline-size > max-inline-size in table vertical-lr");
checkLayout(".block", false);
checkLayout(".override", false);
checkLayout(".tablecell", false);
done();
</script>

View file

@ -6,60 +6,39 @@
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#logical-to-physical">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/style-check.js"></script>
<script src="/resources/check-layout-th.js"></script>
<style>
div {
.block {
border: 1px solid #000;
}
#div1 {
#block1 {
inline-size: 40px;
min-inline-size: 50px;
max-inline-size: 100px;
}
#div2 {
#block2 {
inline-size: 100px;
min-inline-size: 50px;
max-inline-size: 100px;
}
#div3 {
#block3 {
inline-size: 120px;
min-inline-size: 50px;
max-inline-size: 100px;
}
#ref_div1 {
width: 40px;
min-width: 50px;
max-width: 100px;
}
#ref_div2 {
width: 100px;
min-width: 50px;
max-width: 100px;
}
#ref_div3 {
width: 120px;
min-width: 50px;
max-width: 100px;
}
p {
.override {
border: 1px solid #000;
}
#p1 {
#override1 {
inline-size: 100px;
width: 50px;
}
#p2 {
#override2 {
width: 50px;
inline-size: 100px;
}
#ref_p1 {
width: 50px;
}
#ref_p2 {
width: 100px;
}
.table {
border: 1px solid #000;
@ -89,75 +68,52 @@ p {
block-size: 100px;
background-color: green;
}
#ref_table1_cell {
width: 40px;
min-width: 50px;
max-width: 100px;
height: 100px;
background-color: red;
}
#ref_table2_cell {
width: 100px;
min-width: 50px;
max-width: 100px;
height: 100px;
background-color: blue;
}
#ref_table3_cell {
width: 120px;
min-width: 50px;
max-width: 100px;
height: 100px;
background-color: green;
}
</style>
<div id="div1"></div>
<div id="div2"></div>
<div id="div3"></div>
<div id="ref_div1"></div>
<div id="ref_div2"></div>
<div id="ref_div3"></div>
<div id="log"></div>
<p id="p1"></div>
<p id="p2"></div>
<p id="ref_p1"></div>
<p id="ref_p2"></div>
<h3>Maximum and minimim inline sizes in blocks</h3>
<div>
<p><code>inline-size</code> &lt; <code>min-inline-size</code></p>
<div class="block" id="block1" data-expected-client-width="50" data-expected-client-height="0"></div>
<div class="table">
<div class="tablecell" id="table1_cell"></div>
<p><code>min-inline-size</code> &lt; <code>inline-size</code> &le; <code>max-inline-size</code></p>
<div class="block" id="block2" data-expected-client-width="100" data-expected-client-height="0"></div>
<p><code>inline-size</code> &gt; <code>max-inline-size</code></p>
<div class="block" id="block3" data-expected-client-width="100" data-expected-client-height="0"></div>
</div>
<div class="table">
<div class="tablecell" id="table2_cell"></div>
<h3>Overridance of <code>width</code> and <code>inline-size</code></h3>
<div>
<p>Check that <code>width</code> overrides <code>inline-size</code></p>
<div class="override" id="override1" data-expected-client-width="50" data-expected-client-height="0"></div>
<p>Check that <code>inline-size</code> overrides <code>width</code></p>
<div class="override" id="override2" data-expected-client-width="100" data-expected-client-height="0"></div>
</div>
<div class="table">
<div class="tablecell" id="table3_cell"></div>
</div>
<div class="table">
<div class="tablecell" id="ref_table1_cell"></div>
</div>
<div class="table">
<div class="tablecell" id="ref_table2_cell"></div>
</div>
<div class="table">
<div class="tablecell" id="ref_table3_cell"></div>
<h3>Maximum and minimim inline sizes in table cells</h3>
<div>
<p><code>inline-size</code> &lt; <code>min-inline-size</code></p>
<div class="table">
<div class="tablecell" id="table1_cell" data-expected-client-width="50" data-expected-client-height="100"></div>
</div>
<p><code>min-inline-size</code> &lt; <code>inline-size</code> &le; <code>max-inline-size</code></p>
<div class="table">
<div class="tablecell" id="table2_cell" data-expected-client-width="100" data-expected-client-height="100"></div>
</div>
<p><code>inline-size</code> &gt; <code>max-inline-size</code></p>
<div class="table">
<div class="tablecell" id="table3_cell" data-expected-client-width="100" data-expected-client-height="100"></div>
</div>
</div>
<script>
test(function () {
assert_true(compareWidthHeight("div1", "ref_div1"));
assert_true(compareWidthHeight("div2", "ref_div2"));
assert_true(compareWidthHeight("div3", "ref_div3"));
}, "Check that inline-size < min-inline-size or min-inline-size < inline-size <= max-inline-size or inline-size > max-inline-size");
test(function () {
assert_true(compareWidthHeight("p1", "ref_p1"));
assert_true(compareWidthHeight("p2", "ref_p2"));
}, "Check that width override inline-size and vice versa");
test(function () {
assert_true(compareWidthHeight("table1_cell", "ref_table1_cell"));
assert_true(compareWidthHeight("table2_cell", "ref_table2_cell"));
assert_true(compareWidthHeight("table3_cell", "ref_table3_cell"));
}, "Check that inline-size < min-inline-size or min-inline-size < inline-size <= max-inline-size or inline-size > max-inline-size in table");
checkLayout(".block", false);
checkLayout(".override", false);
checkLayout(".tablecell", false);
done();
</script>

View file

@ -1,9 +0,0 @@
"use strict";
function compareWidthHeight(id1, id2) {
var element1 = document.getElementById(id1);
var style1 = getComputedStyle(element1);
var element2 = document.getElementById(id2);
var style2 = getComputedStyle(element2);
return (style1.width == style2.width) &&
(style1.height == style2.height)
}

View file

@ -163,7 +163,7 @@
<h3>Big number of tests required</h3>
<div class="note">
Add here the estimation of tests required produced by
<a href="https://github.com/w3c/web-platform-tests/tree/master/tools/coverage" target="_blank">W3C test coverage</a>
<a href="https://github.com/web-platform-tests/wpt/tree/master/tools/coverage" target="_blank">W3C test coverage</a>
tool. If possible, provide a better informed guess on the number of tests.
</div>
<p>

View file

@ -0,0 +1,5 @@
:host {
background: green;
width: 100px;
height: 100px;
}

View file

@ -0,0 +1,13 @@
<!doctype html>
<title>CSS Test: @import in Shadow DOM</title>
<link rel="help" href="https://drafts.csswg.org/css-cascade/#at-import">
<link rel="match" href="reference/green-box.html"/>
<p>Test passes if you see a single 100px by 100px green box below.</p>
<div id="host">FAIL</div>
<script>
host.attachShadow({ mode: "open" }).innerHTML = `
<style>
@import url("resources/host-green-box.css");
</style>
`;
</script>

View file

@ -0,0 +1 @@
@tantek

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<meta charset="UTF-8">
<style>
body {
scrollbar-track-color: blue;
scrollbar-face-color: yellow;
}
html, body {
margin: 0;
padding: 0;
}
#inner {
width: 400px;
height: 400px;
}
</style>
<body>
<div id="inner"></div>
</body>

Some files were not shown because too many files have changed in this diff Show more