mirror of
https://github.com/servo/servo.git
synced 2025-07-13 18:33:40 +01:00
Update web-platform-tests to revision 3f9178031eec5374c9a7d5709a7e11ba4a1955ed
This commit is contained in:
parent
4997ec26c2
commit
a5af9a106a
192 changed files with 3943 additions and 1927 deletions
File diff suppressed because it is too large
Load diff
|
@ -1,2 +0,0 @@
|
||||||
[overflow-wrap-break-word-004.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[word-break-break-all-010.html]
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[word-break-break-all-011.html]
|
|
||||||
expected: FAIL
|
|
|
@ -34,3 +34,5 @@
|
||||||
[windows-1254: iso_8859-9:1989 (XMLHttpRequest)]
|
[windows-1254: iso_8859-9:1989 (XMLHttpRequest)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[single-byte-decoder.html?TextDecoder]
|
||||||
|
|
|
@ -24,3 +24,5 @@
|
||||||
[A Keep-Alive fetch() with a body over the Quota Limit should reject.]
|
[A Keep-Alive fetch() with a body over the Quota Limit should reject.]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[request-keepalive-quota.html?include=slow-1]
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[idlharness.html]
|
|
||||||
[Gamepad IDL tests]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
4
tests/wpt/metadata/gamepad/idlharness.window.js.ini
Normal file
4
tests/wpt/metadata/gamepad/idlharness.window.js.ini
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[idlharness.window.html]
|
||||||
|
[idlharness]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -30,3 +30,6 @@
|
||||||
[Set HTTP URL frame location.protocol to data]
|
[Set HTTP URL frame location.protocol to data]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[Set HTTP URL frame location.protocol to x]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -292,3 +292,7 @@
|
||||||
[<meta>: "1\\furl=foo"]
|
[<meta>: "1\\furl=foo"]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
||||||
|
[parsing.html?131-last]
|
||||||
|
|
||||||
|
[parsing.html?81-90]
|
||||||
|
|
|
@ -172,63 +172,3 @@
|
||||||
[XHTML img usemap="http://example.org/#garbage-before-hash-id"]
|
[XHTML img usemap="http://example.org/#garbage-before-hash-id"]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTML (quirks) IMG usemap="no-hash-name"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTML (quirks) IMG usemap="no-hash-id"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTML (quirks) IMG usemap="hash-last#"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTML (quirks) IMG usemap=""]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTML (quirks) IMG usemap="#"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTML (quirks) IMG usemap="#percent-escape-name-%41"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTML (quirks) IMG usemap="#percent-escape-id-%41"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTML (quirks) IMG usemap="#no-such-map"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTML (quirks) IMG usemap="#different-CASE-name"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTML (quirks) IMG usemap="#different-CASE-id"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XHTML img usemap="no-hash-name"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XHTML img usemap="no-hash-id"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XHTML img usemap="hash-last#"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XHTML img usemap=""]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XHTML img usemap="#"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XHTML img usemap="#percent-escape-name-%41"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XHTML img usemap="#percent-escape-id-%41"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XHTML img usemap="#no-such-map"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XHTML img usemap="#different-CASE-name"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[XHTML img usemap="#different-CASE-id"]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[image-decode-with-quick-attach.html]
|
||||||
|
[HTMLImageElement.prototype.decode(), attach to DOM before promise resolves.]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[textarea-validity-clone.html]
|
||||||
|
[<textarea> validity state should be preserved after a clone]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
[010.html]
|
||||||
|
[Salvagability of document.opened document]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,91 @@
|
||||||
|
[excluded-properties.html]
|
||||||
|
[Property block-size does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property inline-size does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-block-end does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-block-start does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-inline-end does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property margin-inline-start does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property min-block-size does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property min-inline-size does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property offset-distance does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property padding-block-end does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property padding-block-start does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property padding-inline-end does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property padding-inline-start does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-margin-block-end does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-margin-block-start does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-margin-bottom does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-margin-inline-end does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-margin-inline-start does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-margin-left does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-margin-right does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-margin-top does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-padding-block-end does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-padding-block-start does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-padding-bottom does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-padding-inline-end does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-padding-inline-start does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-padding-left does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-padding-right does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property scroll-padding-top does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Property shape-margin does not support quirky length]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -4,3 +4,5 @@
|
||||||
[WebSockets: Send/Receive blob, blob size less than network array buffer]
|
[WebSockets: Send/Receive blob, blob size less than network array buffer]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
||||||
|
[001.html]
|
||||||
|
|
|
@ -3,3 +3,5 @@
|
||||||
[WebSockets: Send/Receive blob, blob size greater than network array buffer]
|
[WebSockets: Send/Receive blob, blob size greater than network array buffer]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
||||||
|
[002.html]
|
||||||
|
|
|
@ -3,3 +3,5 @@
|
||||||
[WebSockets: Send/Receive ArrayBuffer, size greater than network array buffer]
|
[WebSockets: Send/Receive ArrayBuffer, size greater than network array buffer]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
||||||
|
[004.html]
|
||||||
|
|
|
@ -4,3 +4,5 @@
|
||||||
[WebSockets: Send/Receive ArrayBuffer, size less than network array buffer]
|
[WebSockets: Send/Receive ArrayBuffer, size less than network array buffer]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
||||||
|
[005.html]
|
||||||
|
|
|
@ -4,3 +4,5 @@
|
||||||
[WebSockets: bufferedAmount for ArrayBuffer]
|
[WebSockets: bufferedAmount for ArrayBuffer]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
||||||
|
[bufferedAmount-arraybuffer.html]
|
||||||
|
|
|
@ -4,3 +4,5 @@
|
||||||
[WebSockets: bufferedAmount for blob]
|
[WebSockets: bufferedAmount for blob]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
|
||||||
|
[bufferedAmount-blob.html]
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[idlharness.html]
|
|
||||||
[Web Storage IDL tests]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
4
tests/wpt/metadata/webstorage/idlharness.window.js.ini
Normal file
4
tests/wpt/metadata/webstorage/idlharness.window.js.ini
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[idlharness.window.html]
|
||||||
|
[idlharness]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -5,3 +5,7 @@
|
||||||
[sync-no-timeout]
|
[sync-no-timeout]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
||||||
|
[sync-no-timeout.any.worker.html]
|
||||||
|
|
||||||
|
[sync-no-timeout.any.html]
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
<link rel="match" href="drawimage_canvas_self_ref.html">
|
||||||
|
<canvas id="dest" height="100" width="100"></canvas>
|
||||||
|
<script>
|
||||||
|
var canvasWidth = canvasHeight = 100;
|
||||||
|
var destWidth = canvasWidth / 4;
|
||||||
|
var destHeight = canvasHeight / 4;
|
||||||
|
var destCanvas = document.getElementById('dest');
|
||||||
|
var destCtx = destCanvas.getContext('2d');
|
||||||
|
|
||||||
|
destCtx.fillStyle = 'red';
|
||||||
|
destCtx.fillRect(0, 0, canvasWidth, canvasHeight);
|
||||||
|
destCtx.fillStyle = 'green';
|
||||||
|
destCtx.fillRect(0, 0, canvasWidth / 2, canvasHeight / 2);
|
||||||
|
destCtx.drawImage(destCanvas,
|
||||||
|
0, 0, destWidth, destHeight,
|
||||||
|
canvasWidth / 2, canvasHeight / 2, destWidth, destHeight);
|
||||||
|
</script>
|
|
@ -0,0 +1,11 @@
|
||||||
|
<canvas id="dest" height="100" width="100"></canvas>
|
||||||
|
<script>
|
||||||
|
var canvasWidth = canvasHeight = 100;
|
||||||
|
var destCanvas = document.getElementById('dest');
|
||||||
|
var destCtx = destCanvas.getContext('2d');
|
||||||
|
destCtx.fillStyle = 'red';
|
||||||
|
destCtx.fillRect(0, 0, canvasWidth, canvasHeight);
|
||||||
|
destCtx.fillStyle = 'green';
|
||||||
|
destCtx.fillRect(0, 0, canvasWidth / 2, canvasHeight / 2);
|
||||||
|
destCtx.fillRect(canvasWidth / 2, canvasHeight / 2, canvasWidth / 4, canvasHeight / 4);
|
||||||
|
</script>
|
|
@ -1,37 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Ambient Light Sensor IDL tests</title>
|
|
||||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
|
||||||
<link rel="help" href="https://w3c.github.io/ambient-light/">
|
|
||||||
<link rel="help" href="https://w3c.github.io/sensors/">
|
|
||||||
<script src="/resources/testharness.js"></script>
|
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
|
||||||
<script src="/resources/WebIDLParser.js"></script>
|
|
||||||
<script src="/resources/idlharness.js"></script>
|
|
||||||
<script>
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
function doTest([dom, generic_sensor, ambient_light]) {
|
|
||||||
const idl_array = new IdlArray();
|
|
||||||
idl_array.add_untested_idls(dom);
|
|
||||||
idl_array.add_untested_idls('interface EventHandler {};');
|
|
||||||
idl_array.add_idls(generic_sensor, { only: ['Sensor'] });
|
|
||||||
idl_array.add_idls(ambient_light);
|
|
||||||
idl_array.add_objects({
|
|
||||||
AmbientLightSensor: ['new AmbientLightSensor()']
|
|
||||||
});
|
|
||||||
idl_array.test();
|
|
||||||
}
|
|
||||||
|
|
||||||
function fetchText(url) {
|
|
||||||
return fetch(url).then((response) => response.text());
|
|
||||||
}
|
|
||||||
|
|
||||||
promise_test(() => {
|
|
||||||
return Promise.all([
|
|
||||||
"/interfaces/dom.idl",
|
|
||||||
"/interfaces/sensors.idl",
|
|
||||||
"/interfaces/ambient-light.idl",
|
|
||||||
].map(fetchText)).then(doTest);
|
|
||||||
}, "Test IDL implementation of Ambient Light Sensor");
|
|
||||||
</script>
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
// META: script=/resources/WebIDLParser.js
|
||||||
|
// META: script=/resources/idlharness.js
|
||||||
|
|
||||||
|
// https://w3c.github.io/ambient-light/
|
||||||
|
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
idl_test(
|
||||||
|
['ambient-light'],
|
||||||
|
['generic-sensor', 'dom'],
|
||||||
|
idl_array => {
|
||||||
|
idl_array.add_objects({
|
||||||
|
AmbientLightSensor: ['new AmbientLightSensor()']
|
||||||
|
});
|
||||||
|
},
|
||||||
|
'Test IDL implementation of Ambient Light Sensor'
|
||||||
|
);
|
|
@ -0,0 +1,25 @@
|
||||||
|
// META: global=window,worker
|
||||||
|
// META: script=/resources/WebIDLParser.js
|
||||||
|
// META: script=/resources/idlharness.js
|
||||||
|
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
// https://wicg.github.io/background-fetch/
|
||||||
|
|
||||||
|
idl_test(
|
||||||
|
['background-fetch'],
|
||||||
|
['service-workers', 'dedicated-workers', 'dom'],
|
||||||
|
idl_array => {
|
||||||
|
const isServiceWorker = location.pathname.includes('.serviceworker.');
|
||||||
|
if (isServiceWorker) {
|
||||||
|
idl_array.add_objects({
|
||||||
|
ServiceWorkerGlobalScope: ['self'],
|
||||||
|
ServiceWorkerRegistration: ['registration'],
|
||||||
|
BackgroundFetchManager: ['registration.backgroundFetch'],
|
||||||
|
BackgroundFetchEvent: ['new BackgroundFetchEvent("type")'],
|
||||||
|
BackgroundFetchUpdateEvent: ['new BackgroundFetchUpdateEvent("type")'],
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
'background-fetch interfaces'
|
||||||
|
);
|
|
@ -1,24 +0,0 @@
|
||||||
// META: script=/resources/WebIDLParser.js
|
|
||||||
// META: script=/resources/idlharness.js
|
|
||||||
|
|
||||||
'use strict';
|
|
||||||
|
|
||||||
// https://wicg.github.io/background-fetch/
|
|
||||||
|
|
||||||
promise_test(async () => {
|
|
||||||
const srcs = [
|
|
||||||
'background-fetch',
|
|
||||||
'dedicated-workers',
|
|
||||||
'service-workers',
|
|
||||||
'dom'
|
|
||||||
];
|
|
||||||
const [idls, worker, serviceWorker, dom] = await Promise.all(
|
|
||||||
srcs.map(i => fetch(`/interfaces/${i}.idl`).then(r => r.text())));
|
|
||||||
|
|
||||||
var idlArray = new IdlArray();
|
|
||||||
idlArray.add_idls(idls);
|
|
||||||
idlArray.add_dependency_idls(serviceWorker);
|
|
||||||
idlArray.add_dependency_idls(worker);
|
|
||||||
idlArray.add_dependency_idls(dom);
|
|
||||||
idlArray.test();
|
|
||||||
}, 'background-fetch interfaces');
|
|
|
@ -1,32 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Battery test: IDL</title>
|
|
||||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
|
||||||
<link rel="help" href="https://www.w3.org/TR/battery-status/">
|
|
||||||
<script src="/resources/testharness.js"></script>
|
|
||||||
<script src="/resources/testharnessreport.js"></script>
|
|
||||||
<script src="/resources/WebIDLParser.js"></script>
|
|
||||||
<script src="/resources/idlharness.js"></script>
|
|
||||||
<script>
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
promise_test(async () => {
|
|
||||||
const idl_array = new IdlArray();
|
|
||||||
const dom_idl = await fetch("/interfaces/dom.idl").then(r => r.text());
|
|
||||||
const battery_idl = await fetch("/interfaces/battery.idl").then(r => r.text());
|
|
||||||
const manager = await navigator.getBattery();
|
|
||||||
|
|
||||||
idl_array.add_untested_idls(dom_idl, {only: ['EventTarget']});
|
|
||||||
idl_array.add_untested_idls('interface EventHandler {};');
|
|
||||||
idl_array.add_untested_idls('interface Navigator {};');
|
|
||||||
idl_array.add_idls(battery_idl);
|
|
||||||
|
|
||||||
window.manager = manager;
|
|
||||||
|
|
||||||
idl_array.add_objects({
|
|
||||||
Navigator: ['navigator'],
|
|
||||||
BatteryManager: ['manager'],
|
|
||||||
});
|
|
||||||
idl_array.test();
|
|
||||||
}, "Test IDL implementation of Battery Status API");
|
|
||||||
</script>
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
// META: script=/resources/WebIDLParser.js
|
||||||
|
// META: script=/resources/idlharness.js
|
||||||
|
|
||||||
|
// https://w3c.github.io/battery/
|
||||||
|
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
idl_test(
|
||||||
|
['battery'],
|
||||||
|
['dom', 'html'],
|
||||||
|
async idl_array => {
|
||||||
|
idl_array.add_objects({
|
||||||
|
Navigator: ['navigator'],
|
||||||
|
BatteryManager: ['manager'],
|
||||||
|
})
|
||||||
|
|
||||||
|
self.manager = await navigator.getBattery();
|
||||||
|
},
|
||||||
|
'Test IDL implementation of Battery Status API'
|
||||||
|
);
|
|
@ -1412,7 +1412,7 @@
|
||||||
"html/elements/label/for-descendant-no-id-novalid.html": "Any \u201cinput\u201d descendant of a \u201clabel\u201d element with a \u201cfor\u201d attribute must have an ID value that matches that \u201cfor\u201d attribute.",
|
"html/elements/label/for-descendant-no-id-novalid.html": "Any \u201cinput\u201d descendant of a \u201clabel\u201d element with a \u201cfor\u201d attribute must have an ID value that matches that \u201cfor\u201d attribute.",
|
||||||
"html/elements/label/multiple-descendants-novalid.html": "The \u201clabel\u201d element may contain at most one \u201cbutton\u201d, \u201cinput\u201d, \u201cmeter\u201d, \u201coutput\u201d, \u201cprogress\u201d, \u201cselect\u201d, or \u201ctextarea\u201d descendant.",
|
"html/elements/label/multiple-descendants-novalid.html": "The \u201clabel\u201d element may contain at most one \u201cbutton\u201d, \u201cinput\u201d, \u201cmeter\u201d, \u201coutput\u201d, \u201cprogress\u201d, \u201cselect\u201d, or \u201ctextarea\u201d descendant.",
|
||||||
"html/elements/link/href-empty-novalid.html": "Bad value \u201c\u201d for attribute \u201chref\u201d on element \u201clink\u201d: Bad URL: Must be non-empty.",
|
"html/elements/link/href-empty-novalid.html": "Bad value \u201c\u201d for attribute \u201chref\u201d on element \u201clink\u201d: Bad URL: Must be non-empty.",
|
||||||
"html/elements/link/href-missing-novalid.html": "Element \u201clink\u201d is missing required attribute \u201chref\u201d.",
|
"html/elements/link/href-missing-novalid.html": "Element \u201clink\u201d is missing one or more of the following attributes: [href, resource].",
|
||||||
"html/elements/link/href-whitespace-only-novalid.html": "Bad value \u201c\t \n\u201d for attribute \u201chref\u201d on element \u201clink\u201d: Bad URL: Must be non-empty.",
|
"html/elements/link/href-whitespace-only-novalid.html": "Bad value \u201c\t \n\u201d for attribute \u201chref\u201d on element \u201clink\u201d: Bad URL: Must be non-empty.",
|
||||||
"html/elements/link/href/fragment-backslash-novalid.html": "Bad value \u201c#\\\u201d for attribute \u201chref\u201d on element \u201clink\u201d: Bad URL: Illegal character in fragment: \u201c\\\u201d is not allowed.",
|
"html/elements/link/href/fragment-backslash-novalid.html": "Bad value \u201c#\\\u201d for attribute \u201chref\u201d on element \u201clink\u201d: Bad URL: Illegal character in fragment: \u201c\\\u201d is not allowed.",
|
||||||
"html/elements/link/href/fragment-contains-hash-novalid.html": "Bad value \u201chttp://foo/path#f#g\u201d for attribute \u201chref\u201d on element \u201clink\u201d: Bad URL: Illegal character in fragment: \u201c#\u201d is not allowed.",
|
"html/elements/link/href/fragment-contains-hash-novalid.html": "Bad value \u201chttp://foo/path#f#g\u201d for attribute \u201chref\u201d on element \u201clink\u201d: Bad URL: Illegal character in fragment: \u201c#\u201d is not allowed.",
|
||||||
|
@ -2406,7 +2406,7 @@
|
||||||
"xhtml/elements/keygen/360-novalid.xhtml": "The \u201ckeygen\u201d element is obsolete. ",
|
"xhtml/elements/keygen/360-novalid.xhtml": "The \u201ckeygen\u201d element is obsolete. ",
|
||||||
"xhtml/elements/keygen/361-novalid.xhtml": "The \u201ckeygen\u201d element is obsolete. ",
|
"xhtml/elements/keygen/361-novalid.xhtml": "The \u201ckeygen\u201d element is obsolete. ",
|
||||||
"xhtml/elements/keygen/keygen-novalid.xhtml": "The \u201ckeygen\u201d element is obsolete. ",
|
"xhtml/elements/keygen/keygen-novalid.xhtml": "The \u201ckeygen\u201d element is obsolete. ",
|
||||||
"xhtml/elements/link/001-novalid.xhtml": "Element \u201clink\u201d is missing required attribute \u201chref\u201d.",
|
"xhtml/elements/link/001-novalid.xhtml": "Element \u201clink\u201d is missing one or more of the following attributes: [href, resource].",
|
||||||
"xhtml/elements/menu/menu-containing-hr-novalid.xhtml": "Element \u201chr\u201d not allowed as child of element \u201cmenu\u201d in this context. (Suppressing further errors from this subtree.)",
|
"xhtml/elements/menu/menu-containing-hr-novalid.xhtml": "Element \u201chr\u201d not allowed as child of element \u201cmenu\u201d in this context. (Suppressing further errors from this subtree.)",
|
||||||
"xhtml/elements/menu/menu-containing-menu-novalid.xhtml": "Element \u201cmenu\u201d not allowed as child of element \u201cmenu\u201d in this context. (Suppressing further errors from this subtree.)",
|
"xhtml/elements/menu/menu-containing-menu-novalid.xhtml": "Element \u201cmenu\u201d not allowed as child of element \u201cmenu\u201d in this context. (Suppressing further errors from this subtree.)",
|
||||||
"xhtml/elements/menu/menu-containing-text-novalid.xhtml": "Text not allowed in element \u201cmenu\u201d in this context.",
|
"xhtml/elements/menu/menu-containing-text-novalid.xhtml": "Text not allowed in element \u201cmenu\u201d in this context.",
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||||
<meta name=flags content="">
|
<meta name=flags content="">
|
||||||
<meta name=assert content="layout containment does not apply to non atomic inlines">
|
<meta name=assert content="layout containment does not apply to non atomic inlines">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@ -15,5 +15,5 @@ span {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div><span>PA</span>SS</div>
|
<div><span>PA</span>SS</div>
|
||||||
|
|
|
@ -5,28 +5,32 @@
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||||
<meta name=flags content="ahem">
|
<meta name=flags content="ahem">
|
||||||
<meta name=assert content="layout containment does not apply to ruby-base">
|
<meta name=assert content="layout containment does not apply to ruby-base">
|
||||||
<link rel="match" href="reference/contain-layout-002-ref.html">
|
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
div {
|
||||||
|
position: relative;
|
||||||
|
background: red;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
padding: 25px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
rb {
|
rb {
|
||||||
contain: layout;
|
contain: layout;
|
||||||
display: ruby-base;
|
display: ruby-base;
|
||||||
font-family: ahem;
|
font-family: Ahem;
|
||||||
font-size: 20px;
|
font-size: 100px;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
rb::before {
|
|
||||||
content: "X";
|
|
||||||
color: green;
|
|
||||||
}
|
|
||||||
rb::after {
|
rb::after {
|
||||||
content: "X";
|
content: "X";
|
||||||
color: white;
|
color: green;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top:0; left: 0;
|
top:0; left: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see a green box below.
|
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||||
<div><ruby><rb></rb></ruby></div>
|
<div><ruby><rb></rb></ruby></div>
|
||||||
|
|
|
@ -5,28 +5,32 @@
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||||
<meta name=flags content="ahem">
|
<meta name=flags content="ahem">
|
||||||
<meta name=assert content="layout containment does not apply to ruby-base-container">
|
<meta name=assert content="layout containment does not apply to ruby-base-container">
|
||||||
<link rel="match" href="reference/contain-layout-002-ref.html">
|
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
div {
|
||||||
|
position: relative;
|
||||||
|
background: red;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
padding: 25px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
rbc {
|
rbc {
|
||||||
contain: layout;
|
contain: layout;
|
||||||
display: ruby-base-container;
|
display: ruby-base-container;
|
||||||
font-family: ahem;
|
font-family: Ahem;
|
||||||
font-size: 20px;
|
font-size: 100px;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
rbc::before {
|
|
||||||
content: "X";
|
|
||||||
color: green;
|
|
||||||
}
|
|
||||||
rbc::after {
|
rbc::after {
|
||||||
content: "X";
|
content: "X";
|
||||||
color: white;
|
color: green;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top:0; left: 0;
|
top:0; left: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see a green box below.
|
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||||
<div><ruby><rbc></rbc></ruby></div>
|
<div><ruby><rbc></rbc></ruby></div>
|
||||||
|
|
|
@ -5,28 +5,32 @@
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||||
<meta name=flags content="ahem">
|
<meta name=flags content="ahem">
|
||||||
<meta name=assert content="layout containment does not apply to ruby-text-container">
|
<meta name=assert content="layout containment does not apply to ruby-text-container">
|
||||||
<link rel="match" href="reference/contain-layout-004-ref.html">
|
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
div {
|
||||||
|
position: relative;
|
||||||
|
background: red;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
padding: 25px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
rtc {
|
rtc {
|
||||||
contain: layout;
|
contain: layout;
|
||||||
display: ruby-text-container;
|
display: ruby-text-container;
|
||||||
font-family: ahem;
|
font-family: Ahem;
|
||||||
font-size: 20px;
|
font-size: 100px;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
rtc::before {
|
|
||||||
content: "X";
|
|
||||||
color: green;
|
|
||||||
}
|
|
||||||
rtc::after {
|
rtc::after {
|
||||||
content: "X";
|
content: "X";
|
||||||
color: white;
|
color: green;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top:0; left: 0;
|
top:0; left: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see a green box below.
|
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||||
<div><ruby><rtc></rtc></ruby></div>
|
<div><ruby><rtc></rtc></ruby></div>
|
||||||
|
|
|
@ -5,28 +5,32 @@
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||||
<meta name=flags content="ahem">
|
<meta name=flags content="ahem">
|
||||||
<meta name=assert content="layout containment does not apply to ruby-text">
|
<meta name=assert content="layout containment does not apply to ruby-text">
|
||||||
<link rel="match" href="reference/contain-layout-005-ref.html">
|
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-layout">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
div {
|
||||||
|
position: relative;
|
||||||
|
background: red;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
padding: 25px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
rt {
|
rt {
|
||||||
contain: layout;
|
contain: layout;
|
||||||
display: ruby-text;
|
display: ruby-text;
|
||||||
font-family: ahem;
|
font-family: Ahem;
|
||||||
font-size: 20px;
|
font-size: 100px;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
rt::before {
|
|
||||||
content: "X";
|
|
||||||
color: green;
|
|
||||||
}
|
|
||||||
rt::after {
|
rt::after {
|
||||||
content: "X";
|
content: "X";
|
||||||
color: white;
|
color: green;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top:0; left: 0;
|
top:0; left: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see a green box below.
|
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||||
<div><ruby><rt></rt></ruby></div>
|
<div><ruby><rt></rt></ruby></div>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||||
<meta name=flags content="">
|
<meta name=flags content="">
|
||||||
<meta name=assert content="paint containment does not apply to non atomic inlines">
|
<meta name=assert content="paint containment does not apply to non atomic inlines">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@ -19,5 +19,5 @@ span::after {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div><span></span></div>
|
<div><span></span></div>
|
||||||
|
|
|
@ -5,14 +5,14 @@
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||||
<meta name=flags content="">
|
<meta name=flags content="">
|
||||||
<meta name=assert content="paint containment applies to the principal box, which is the table wrapper box for tables">
|
<meta name=assert content="paint containment applies to the principal box, which is the table wrapper box for tables">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
table { contain: paint; }
|
table { contain: paint; }
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<table>
|
<table>
|
||||||
<caption>PASS</caption>
|
<caption>PASS</caption>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -5,14 +5,14 @@
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||||
<meta name=flags content="">
|
<meta name=flags content="">
|
||||||
<meta name=assert content="paint containment applies to the principal box, which for list items excludes the list marker">
|
<meta name=assert content="paint containment applies to the principal box, which for list items excludes the list marker">
|
||||||
<link rel="match" href="reference/contain-paint-004-ref.html">
|
<link rel="match" href="../reference/nothing.html">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
li { contain: paint; }
|
li { contain: paint; }
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see no number below.
|
<p>There should be nothing below.</p>
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||||
<meta name=flags content="">
|
<meta name=flags content="">
|
||||||
<meta name=assert content="paint containment does not apply to ruby-base">
|
<meta name=assert content="paint containment does not apply to ruby-base">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@ -20,5 +20,5 @@ rb::after {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div><ruby><rb></rb></ruby></div>
|
<div><ruby><rb></rb></ruby></div>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||||
<meta name=flags content="">
|
<meta name=flags content="">
|
||||||
<meta name=assert content="paint containment does not apply to ruby-base-container">
|
<meta name=assert content="paint containment does not apply to ruby-base-container">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@ -20,5 +20,5 @@ rbc::after {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div><ruby><rbc></rbc></ruby></div>
|
<div><ruby><rbc></rbc></ruby></div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<title>CSS Containment Test: Paint containment on table-cell</title>
|
<title>CSS Containment Test: Paint containment on table-cell</title>
|
||||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||||
<link rel="match" href="reference/contain-paint-014-ref.html">
|
<link rel="match" href="../reference/nothing.html">
|
||||||
<meta name=assert content="Paint containment does apply to table-cell elements.">
|
<meta name=assert content="Paint containment does apply to table-cell elements.">
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
@ -15,5 +15,5 @@ span {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can NOT see the word FAIL below.</p>
|
<p>There should be nothing below.</p>
|
||||||
<div><span>FAIL</span></div>
|
<div><span>FAIL</span></div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<title>CSS Containment Test: Paint containment on table-row-group</title>
|
<title>CSS Containment Test: Paint containment on table-row-group</title>
|
||||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<meta name=assert content="Paint containment doesn't apply to table-row-group elements.">
|
<meta name=assert content="Paint containment doesn't apply to table-row-group elements.">
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
@ -15,5 +15,5 @@ span {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.</p>
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div><span>PASS</span></div>
|
<div><span>PASS</span></div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<title>CSS Containment Test: Paint containment on table-header-group</title>
|
<title>CSS Containment Test: Paint containment on table-header-group</title>
|
||||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<meta name=assert content="Paint containment doesn't apply to table-header-group elements.">
|
<meta name=assert content="Paint containment doesn't apply to table-header-group elements.">
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
@ -15,5 +15,5 @@ span {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.</p>
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div><span>PASS</span></div>
|
<div><span>PASS</span></div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<title>CSS Containment Test: Paint containment on table-footer-group</title>
|
<title>CSS Containment Test: Paint containment on table-footer-group</title>
|
||||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<meta name=assert content="Paint containment doesn't apply to table-footer-group elements.">
|
<meta name=assert content="Paint containment doesn't apply to table-footer-group elements.">
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
@ -15,5 +15,5 @@ span {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.</p>
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div><span>PASS</span></div>
|
<div><span>PASS</span></div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<title>CSS Containment Test: Paint containment on table-row</title>
|
<title>CSS Containment Test: Paint containment on table-row</title>
|
||||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<meta name=assert content="Paint containment doesn't apply to table-row elements.">
|
<meta name=assert content="Paint containment doesn't apply to table-row elements.">
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
@ -15,5 +15,5 @@ span {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.</p>
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div><span>PASS</span></div>
|
<div><span>PASS</span></div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<title>CSS Containment Test: Paint containment on table-caption</title>
|
<title>CSS Containment Test: Paint containment on table-caption</title>
|
||||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-paint">
|
||||||
<link rel="match" href="reference/contain-paint-014-ref.html">
|
<link rel="match" href="../reference/nothing.html">
|
||||||
<meta name=assert content="Paint containment does apply to table-caption elements.">
|
<meta name=assert content="Paint containment does apply to table-caption elements.">
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
@ -15,5 +15,5 @@ span {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can NOT see the word FAIL below.</p>
|
<p>There should be nothing below.</p>
|
||||||
<div><span>FAIL</span></div>
|
<div><span>FAIL</span></div>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||||
<meta name=flags content="">
|
<meta name=flags content="">
|
||||||
<meta name=assert content="size containment does not apply to non atomic inlines">
|
<meta name=assert content="size containment does not apply to non atomic inlines">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
@ -13,5 +13,5 @@ div { overflow: hidden; }
|
||||||
span { contain: size; }
|
span { contain: size; }
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div><span>PASS</span></div>
|
<div><span>PASS</span></div>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||||
<meta name=flags content="">
|
<meta name=flags content="">
|
||||||
<meta name=assert content="size containment does not to apply ruby-base, which is an internatl ruby element">
|
<meta name=assert content="size containment does not to apply ruby-base, which is an internatl ruby element">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-display-3/#internal-ruby-element">
|
<link rel=help href="https://drafts.csswg.org/css-display-3/#internal-ruby-element">
|
||||||
|
|
||||||
|
@ -20,5 +20,5 @@ rb {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div><ruby><rb>PASS</rb></ruby></div>
|
<div><ruby><rb>PASS</rb></ruby></div>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
||||||
<meta name=flags content="">
|
<meta name=flags content="">
|
||||||
<meta name=assert content="size containment does not to apply ruby-base-container, which is an internatl ruby element">
|
<meta name=assert content="size containment does not to apply ruby-base-container, which is an internatl ruby element">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
<link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||||
<link rel=help href="https://drafts.csswg.org/css-display-3/#internal-ruby-element">
|
<link rel=help href="https://drafts.csswg.org/css-display-3/#internal-ruby-element">
|
||||||
|
|
||||||
|
@ -20,5 +20,5 @@ rbc {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div><ruby><rbc>PASS</rbc></ruby></div>
|
<div><ruby><rbc>PASS</rbc></ruby></div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<title>CSS Containment Test: Size containment on table-cell</title>
|
<title>CSS Containment Test: Size containment on table-cell</title>
|
||||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<meta name=assert content="Size containment doesn't apply to table-cell elements.">
|
<meta name=assert content="Size containment doesn't apply to table-cell elements.">
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
@ -13,5 +13,5 @@ div {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.</p>
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div>PASS</div>
|
<div>PASS</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<title>CSS Containment Test: Size containment on table-row-group</title>
|
<title>CSS Containment Test: Size containment on table-row-group</title>
|
||||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<meta name=assert content="Size containment doesn't apply to table-row-group elements.">
|
<meta name=assert content="Size containment doesn't apply to table-row-group elements.">
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
@ -13,5 +13,5 @@ div {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.</p>
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div>PASS</div>
|
<div>PASS</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<title>CSS Containment Test: Size containment on table-header-group</title>
|
<title>CSS Containment Test: Size containment on table-header-group</title>
|
||||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<meta name=assert content="Size containment doesn't apply to table-header-group elements.">
|
<meta name=assert content="Size containment doesn't apply to table-header-group elements.">
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
@ -13,5 +13,5 @@ div {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.</p>
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div>PASS</div>
|
<div>PASS</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<title>CSS Containment Test: Size containment on table-footer-group</title>
|
<title>CSS Containment Test: Size containment on table-footer-group</title>
|
||||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<meta name=assert content="Size containment doesn't apply to table-footer-group elements.">
|
<meta name=assert content="Size containment doesn't apply to table-footer-group elements.">
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
@ -13,5 +13,5 @@ div {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.</p>
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div>PASS</div>
|
<div>PASS</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<title>CSS Containment Test: Size containment on table-row</title>
|
<title>CSS Containment Test: Size containment on table-row</title>
|
||||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<meta name=assert content="Size containment doesn't apply to table-row elements.">
|
<meta name=assert content="Size containment doesn't apply to table-row elements.">
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
@ -13,5 +13,5 @@ div {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.</p>
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div>PASS</div>
|
<div>PASS</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<title>CSS Containment Test: Size containment on table-caption</title>
|
<title>CSS Containment Test: Size containment on table-caption</title>
|
||||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||||
<link rel="match" href="reference/contain-paint-014-ref.html">
|
<link rel="match" href="../reference/nothing.html">
|
||||||
<meta name=assert content="Size containment does apply to table-caption elements.">
|
<meta name=assert content="Size containment does apply to table-caption elements.">
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
@ -13,5 +13,5 @@ div {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can NOT see the word FAIL below.</p>
|
<p>There should be nothing below.</p>
|
||||||
<div>FAIL</div>
|
<div>FAIL</div>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<title>CSS Containment Test: Size containment on table</title>
|
<title>CSS Containment Test: Size containment on table</title>
|
||||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
|
||||||
<link rel="match" href="reference/contain-size-001-ref.html">
|
<link rel="match" href="../reference/pass_if_pass_below.html">
|
||||||
<meta name=assert content="Size containment doesn't apply to table elements.">
|
<meta name=assert content="Size containment doesn't apply to table elements.">
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
|
@ -13,5 +13,5 @@ div {
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.</p>
|
<p>Test passes if there is the word "PASS" below.</p>
|
||||||
<div>PASS</div>
|
<div>PASS</div>
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<html lang=en>
|
|
||||||
<meta charset=utf-8>
|
|
||||||
<title>CSS-contain test referene</title>
|
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
|
||||||
<meta name=flags content="ahem">
|
|
||||||
|
|
||||||
<style>
|
|
||||||
rb {
|
|
||||||
font-family: ahem;
|
|
||||||
font-size: 20px;
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
rb::before {
|
|
||||||
content: "X";
|
|
||||||
color: green;
|
|
||||||
}
|
|
||||||
rb::after {
|
|
||||||
content: "X";
|
|
||||||
color: white;
|
|
||||||
position: absolute;
|
|
||||||
top:0; left: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<p>This test passes if you can see a green box below.
|
|
||||||
<div><ruby><rb></rb></ruby></div>
|
|
|
@ -1,28 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<html lang=en>
|
|
||||||
<meta charset=utf-8>
|
|
||||||
<title>CSS-contain test reference</title>
|
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
|
||||||
<meta name=flags content="ahem">
|
|
||||||
|
|
||||||
<style>
|
|
||||||
rtc {
|
|
||||||
display: ruby-text-container;
|
|
||||||
font-family: ahem;
|
|
||||||
font-size: 20px;
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
rtc::before {
|
|
||||||
content: "X";
|
|
||||||
color: green;
|
|
||||||
}
|
|
||||||
rtc::after {
|
|
||||||
content: "X";
|
|
||||||
color: white;
|
|
||||||
position: absolute;
|
|
||||||
top:0; left: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<p>This test passes if you can see a green box below.
|
|
||||||
<div><ruby><rtc></rtc></ruby></div>
|
|
|
@ -1,28 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<html lang=en>
|
|
||||||
<meta charset=utf-8>
|
|
||||||
<title>CSS-contain test reference</title>
|
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
|
||||||
<meta name=flags content="ahem">
|
|
||||||
|
|
||||||
<style>
|
|
||||||
rt {
|
|
||||||
display: ruby-text;
|
|
||||||
font-family: ahem;
|
|
||||||
font-size: 20px;
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
rt::before {
|
|
||||||
content: "X";
|
|
||||||
color: green;
|
|
||||||
}
|
|
||||||
rt::after {
|
|
||||||
content: "X";
|
|
||||||
color: white;
|
|
||||||
position: absolute;
|
|
||||||
top:0; left: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<p>This test passes if you can see a green box below.
|
|
||||||
<div><ruby><rt></rt></ruby></div>
|
|
|
@ -1,7 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<html lang=en>
|
|
||||||
<meta charset=utf-8>
|
|
||||||
<title>CSS-contain test reference</title>
|
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
|
||||||
|
|
||||||
<p>This test passes if you can see no number below.
|
|
|
@ -1,5 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>CSS Containment Test: Reference file</title>
|
|
||||||
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
|
||||||
<p>This test passes if you can NOT see the word FAIL below.</p>
|
|
|
@ -1,8 +0,0 @@
|
||||||
<!doctype html>
|
|
||||||
<html lang=en>
|
|
||||||
<meta charset=utf-8>
|
|
||||||
<title>CSS-contain test reference</title>
|
|
||||||
<link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
|
|
||||||
|
|
||||||
<p>This test passes if you can see the word PASS below.
|
|
||||||
<div>PASS</div>
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>css-counter-styles IDL tests</title>
|
||||||
|
<link rel="help" href="https://drafts.csswg.org/css-counter-styles/">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/resources/WebIDLParser.js"></script>
|
||||||
|
<script src="/resources/idlharness.js"></script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
@counter-style triangle {
|
||||||
|
system: cyclic;
|
||||||
|
symbols: ‣;
|
||||||
|
suffix: " ";
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script>
|
||||||
|
'use strict';
|
||||||
|
idl_test(
|
||||||
|
['css-counter-styles'],
|
||||||
|
['cssom'],
|
||||||
|
idl_array => {
|
||||||
|
try {
|
||||||
|
self.counter = document.styleSheets[0].rules[0];
|
||||||
|
} catch (e) {
|
||||||
|
// Will be surfaced when counter is undefined below.
|
||||||
|
}
|
||||||
|
|
||||||
|
idl_array.add_objects({
|
||||||
|
CSSCounterStyleRule: ['counter'],
|
||||||
|
});
|
||||||
|
},
|
||||||
|
'css-counter-styles interfaces'
|
||||||
|
);
|
||||||
|
</script>
|
|
@ -8,22 +8,17 @@
|
||||||
<script>
|
<script>
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
promise_test(async () => {
|
idl_test(
|
||||||
const srcs = ['css-font-loading', 'dom', 'html', 'cssom'];
|
['css-font-loading'],
|
||||||
const [cssfontloading, dom, html, cssom] = await Promise.all(
|
['dom', 'html', 'cssom'],
|
||||||
srcs.map(i => fetch(`/interfaces/${i}.idl`).then(r => r.text())));
|
idl_array => {
|
||||||
|
idl_array.add_objects({
|
||||||
const idl_array = new IdlArray();
|
Document: ['document'],
|
||||||
idl_array.add_idls(cssfontloading);
|
FontFace: ['new FontFace("family", "src")'],
|
||||||
idl_array.add_dependency_idls(dom);
|
FontFaceSetLoadEvent: ['new FontFaceSetLoadEvent("type")'],
|
||||||
idl_array.add_dependency_idls(html);
|
FontFaceSet: ['document.fonts'],
|
||||||
idl_array.add_dependency_idls(cssom);
|
});
|
||||||
idl_array.add_objects({
|
},
|
||||||
Document: ['document'],
|
'css-font-loading interfaces'
|
||||||
FontFace: ['new FontFace("family", "src")'],
|
);
|
||||||
FontFaceSetLoadEvent: ['new FontFaceSetLoadEvent("type")'],
|
|
||||||
FontFaceSet: ['document.fonts'],
|
|
||||||
});
|
|
||||||
idl_array.test();
|
|
||||||
}, 'css-font-loading interfaces');
|
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
<!doctype html>
|
||||||
|
<meta charset=utf8>
|
||||||
|
<title>Reference: Inside list marker and normal text render identically: armenian</title>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<p>Ա. Filler Text
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Inside list marker and normal text render identically: armenian</title>
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
|
||||||
|
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
|
||||||
|
<link rel=match href="marker-text-matches-armenian-ref.html">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style: armenian inside;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Filler Text</li>
|
||||||
|
</ol>
|
|
@ -0,0 +1,12 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Reference: Inside list marker and normal text render identically: circle</title>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
p::before {
|
||||||
|
content: counter(test, circle);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<p> Filler Text
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Inside list marker and normal text render identically: circle</title>
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
|
||||||
|
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
|
||||||
|
<link rel=match href="marker-text-matches-circle-ref.html">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style: circle inside;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Filler Text</li>
|
||||||
|
</ol>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Reference: Inside list marker and normal text render identically: decimal-leading-zero</title>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<p>01. Filler Text
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Inside list marker and normal text render identically: decimal-leading-zero</title>
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
|
||||||
|
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
|
||||||
|
<link rel=match href="marker-text-matches-decimal-leading-zero-ref.html">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style: decimal-leading-zero inside;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Filler Text</li>
|
||||||
|
</ol>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Reference: Inside list marker and normal text render identically: decimal</title>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<p>1. Filler Text
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Inside list marker and normal text render identically: decimal</title>
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
|
||||||
|
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
|
||||||
|
<link rel=match href="marker-text-matches-decimal-ref.html">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style: decimal inside;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Filler Text</li>
|
||||||
|
</ol>
|
|
@ -0,0 +1,12 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Reference: Inside list marker and normal text render identically: disc</title>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
p::before {
|
||||||
|
content: counter(test, disc);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<p> Filler Text
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Inside list marker and normal text render identically: disc</title>
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
|
||||||
|
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
|
||||||
|
<link rel=match href="marker-text-matches-disc-ref.html">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style: disc inside;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Filler Text</li>
|
||||||
|
</ol>
|
|
@ -0,0 +1,10 @@
|
||||||
|
<!doctype html>
|
||||||
|
<meta charset=utf8>
|
||||||
|
<title>Reference: Inside list marker and normal text render identically: georgian</title>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<p>ა. Filler Text
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Inside list marker and normal text render identically: georgian</title>
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
|
||||||
|
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
|
||||||
|
<link rel=match href="marker-text-matches-georgian-ref.html">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style: georgian inside;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Filler Text</li>
|
||||||
|
</ol>
|
|
@ -0,0 +1,10 @@
|
||||||
|
<!doctype html>
|
||||||
|
<meta charset=utf8>
|
||||||
|
<title>Reference: Inside list marker and normal text render identically: lower-greek</title>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<p>α. Filler Text
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Inside list marker and normal text render identically: lower-greek</title>
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
|
||||||
|
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
|
||||||
|
<link rel=match href="marker-text-matches-lower-greek-ref.html">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style: lower-greek inside;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Filler Text</li>
|
||||||
|
</ol>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Reference: Inside list marker and normal text render identically: lower-latin</title>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<p>a. Filler Text
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Inside list marker and normal text render identically: lower-latin</title>
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
|
||||||
|
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
|
||||||
|
<link rel=match href="marker-text-matches-lower-latin-ref.html">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style: lower-latin inside;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Filler Text</li>
|
||||||
|
</ol>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Reference: Inside list marker and normal text render identically: lower-roman</title>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<p>i. Filler Text
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Inside list marker and normal text render identically: lower-roman</title>
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
|
||||||
|
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
|
||||||
|
<link rel=match href="marker-text-matches-lower-roman-ref.html">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style: lower-roman inside;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Filler Text</li>
|
||||||
|
</ol>
|
|
@ -0,0 +1,12 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Reference: Inside list marker and normal text render identically: square</title>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
p::before {
|
||||||
|
content: counter(test, square);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<p> Filler Text
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Inside list marker and normal text render identically: square</title>
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
|
||||||
|
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
|
||||||
|
<link rel=match href="marker-text-matches-square-ref.html">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style: square inside;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Filler Text</li>
|
||||||
|
</ol>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Reference: Inside list marker and normal text render identically: upper-latin</title>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<p>A. Filler Text
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Inside list marker and normal text render identically: upper-latin</title>
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
|
||||||
|
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
|
||||||
|
<link rel=match href="marker-text-matches-upper-latin-ref.html">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style: upper-latin inside;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Filler Text</li>
|
||||||
|
</ol>
|
|
@ -0,0 +1,9 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Reference: Inside list marker and normal text render identically: upper-roman</title>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<p>I. Filler Text
|
|
@ -0,0 +1,18 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Inside list marker and normal text render identically: upper-roman</title>
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-lists-3/#content-property">
|
||||||
|
<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=787382">
|
||||||
|
<link rel=match href="marker-text-matches-upper-roman-ref.html">
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
list-style: upper-roman inside;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<ol>
|
||||||
|
<li>Filler Text</li>
|
||||||
|
</ol>
|
|
@ -0,0 +1,16 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Reference: Check that :marker inherits line-height</title>
|
||||||
|
<style>
|
||||||
|
div {
|
||||||
|
font: 128px/1 Ahem;
|
||||||
|
border: 2px solid blue;
|
||||||
|
background: orange;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<p>There should be two black rectangles below with no space between them and
|
||||||
|
the border above/below.</p>
|
||||||
|
<div>
|
||||||
|
1. X
|
||||||
|
</div>
|
|
@ -0,0 +1,29 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>Check that :marker inherits line-height</title>
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-pseudo-4/#tree-abiding">
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo">
|
||||||
|
<link rel=help href="https://drafts.csswg.org/css-display-3/#list-items">
|
||||||
|
<link rel=help href="https://bugzilla.mozilla.org/show_bug.cgi?id=1415759">
|
||||||
|
<link rel=match href=marker-inherit-line-height-ref.html>
|
||||||
|
<style>
|
||||||
|
div {
|
||||||
|
font: 128px/1 Ahem;
|
||||||
|
border: 2px solid blue;
|
||||||
|
background: orange;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
ol {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
list-style-position: inside;
|
||||||
|
list-style-type: decimal;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<p>There should be two black rectangles below with no space between them and
|
||||||
|
the border above/below.</p>
|
||||||
|
<div>
|
||||||
|
<ol>
|
||||||
|
<li>X
|
||||||
|
</ol>
|
||||||
|
</div>
|
21
tests/wpt/web-platform-tests/css/css-regions/idlharness.html
Normal file
21
tests/wpt/web-platform-tests/css/css-regions/idlharness.html
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<!doctype html>
|
||||||
|
<title>css-regions IDL tests</title>
|
||||||
|
<link rel="help" href="https://drafts.csswg.org/css-regions/">
|
||||||
|
<script src="/resources/testharness.js"></script>
|
||||||
|
<script src="/resources/testharnessreport.js"></script>
|
||||||
|
<script src="/resources/WebIDLParser.js"></script>
|
||||||
|
<script src="/resources/idlharness.js"></script>
|
||||||
|
<script>
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
idl_test(
|
||||||
|
['css-regions'],
|
||||||
|
['cssom', 'dom'],
|
||||||
|
idl_array => {
|
||||||
|
idl_array.add_objects({
|
||||||
|
Document: ['document'],
|
||||||
|
})
|
||||||
|
},
|
||||||
|
'css-regions interfaces'
|
||||||
|
);
|
||||||
|
</script>
|
|
@ -1,36 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>CSS Text Test: overflow-wrap: break-word</title>
|
|
||||||
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-overflow-wrap-break-word">
|
|
||||||
<meta name="flags" content="ahem">
|
|
||||||
<link rel="match" href="reference/overflow-wrap-break-word-001-ref.html">
|
|
||||||
<meta name="assert" content="A Single leading white-space constitutes a soft breaking opportunity, honoring the 'white-space: pre-wrap' property, that must prevent the word to be broken.">
|
|
||||||
<style>
|
|
||||||
div {
|
|
||||||
position: relative;
|
|
||||||
font-size: 20px;
|
|
||||||
font-family: Ahem;
|
|
||||||
}
|
|
||||||
.red {
|
|
||||||
position: absolute;
|
|
||||||
background: green;
|
|
||||||
color: red;
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
.test {
|
|
||||||
color: green;
|
|
||||||
line-height: 1em;
|
|
||||||
width: 5ch;
|
|
||||||
|
|
||||||
white-space: pre-wrap;
|
|
||||||
overflow-wrap: break-word;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<body>
|
|
||||||
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
|
|
||||||
<div class="red"><br>XXXXX</div>
|
|
||||||
<div class="test"> XXXXX </div>
|
|
||||||
</body>
|
|
|
@ -1,16 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>CSS Text Reference File</title>
|
|
||||||
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/">
|
|
||||||
<style>
|
|
||||||
div {
|
|
||||||
position: relative;
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
background: green;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<body>
|
|
||||||
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
|
|
||||||
<div></div>
|
|
||||||
</body>
|
|
|
@ -1,37 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>CSS Text Test: overflow-wrap: break-word</title>
|
|
||||||
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-word-break-break-all">
|
|
||||||
<meta name="flags" content="ahem">
|
|
||||||
<link rel="match" href="reference/word-break-break-all-010-ref.html">
|
|
||||||
<meta name="assert" content="The word is broken even if pre-wrap provides a former breaking opportunity in leading white-space.">
|
|
||||||
<style>
|
|
||||||
div {
|
|
||||||
position: relative;
|
|
||||||
font-size: 20px;
|
|
||||||
font-family: Ahem;
|
|
||||||
}
|
|
||||||
.red {
|
|
||||||
position: absolute;
|
|
||||||
white-space: pre;
|
|
||||||
background: green;
|
|
||||||
color: red;
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
.test {
|
|
||||||
color: green;
|
|
||||||
line-height: 1em;
|
|
||||||
width: 5ch;
|
|
||||||
|
|
||||||
white-space: pre-wrap;
|
|
||||||
word-break: break-all;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<body>
|
|
||||||
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
|
|
||||||
<div class="red"> XXXX<br>X</div>
|
|
||||||
<div class="test"> XXXXX</div>
|
|
||||||
</body>
|
|
|
@ -1,36 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>CSS Text Test: overflow-wrap: break-word</title>
|
|
||||||
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
|
|
||||||
<link rel="help" href="https://drafts.csswg.org/css-text-3/#valdef-word-break-break-all">
|
|
||||||
<meta name="flags" content="ahem">
|
|
||||||
<link rel="match" href="reference/word-break-break-all-010-ref.html">
|
|
||||||
<meta name="assert" content="A single leading white-space should account as soft breaking opportunity, honoring the 'white-space: pre-wrap', on top to the ones provided by 'word-break: break-all'.">
|
|
||||||
<style>
|
|
||||||
div {
|
|
||||||
position: relative;
|
|
||||||
font-size: 20px;
|
|
||||||
font-family: Ahem;
|
|
||||||
}
|
|
||||||
.red {
|
|
||||||
position: absolute;
|
|
||||||
background: green;
|
|
||||||
color: red;
|
|
||||||
width: 100px;
|
|
||||||
height: 100px;
|
|
||||||
z-index: -1;
|
|
||||||
}
|
|
||||||
.test {
|
|
||||||
color: green;
|
|
||||||
background: green;
|
|
||||||
line-height: 1em;
|
|
||||||
width: 1ch;
|
|
||||||
white-space: pre-wrap;
|
|
||||||
word-break: break-all;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
<body>
|
|
||||||
<p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p>
|
|
||||||
<div class="red">X<br>X<br>X</div>
|
|
||||||
<div class="test"> XX</div>
|
|
||||||
</body>
|
|
|
@ -2,13 +2,14 @@
|
||||||
// META: script=/resources/WebIDLParser.js
|
// META: script=/resources/WebIDLParser.js
|
||||||
// META: script=/resources/idlharness.js
|
// META: script=/resources/idlharness.js
|
||||||
|
|
||||||
promise_test(async() => {
|
idl_test(
|
||||||
const text = await (await fetch('/interfaces/encoding.idl')).text();
|
['encoding'],
|
||||||
const idl_array = new IdlArray();
|
[], // No deps
|
||||||
idl_array.add_idls(text);
|
idl_array => {
|
||||||
idl_array.add_objects({
|
idl_array.add_objects({
|
||||||
TextEncoder: ['new TextEncoder()'],
|
TextEncoder: ['new TextEncoder()'],
|
||||||
TextDecoder: ['new TextDecoder()']
|
TextDecoder: ['new TextDecoder()']
|
||||||
});
|
});
|
||||||
idl_array.test();
|
},
|
||||||
}, 'Encoding Standard IDL');
|
'Encoding Standard IDL'
|
||||||
|
);
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
window.didExecuteExternalAsyncScript = true;
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue