mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update web-platform-tests to revision fcc7ecef8ee95ba3776cfa3b1de30101c30432aa
This commit is contained in:
parent
3e27459ad3
commit
ba118104e4
41 changed files with 370 additions and 71 deletions
|
@ -12727,6 +12727,12 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"html/dom/elements/global-attributes/title-manual.html": [
|
||||
[
|
||||
"/html/dom/elements/global-attributes/title-manual.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
"html/editing/activation/click-manual.html": [
|
||||
[
|
||||
"/html/editing/activation/click-manual.html",
|
||||
|
@ -107822,7 +107828,7 @@
|
|||
"/css/css-flexbox/anonymous-flex-item-004.html",
|
||||
[
|
||||
[
|
||||
"/css/css-flexbox/anonymous-flex-item-ref.html",
|
||||
"/css/css-flexbox/anonymous-flex-item-split-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
|
@ -107834,7 +107840,7 @@
|
|||
"/css/css-flexbox/anonymous-flex-item-005.html",
|
||||
[
|
||||
[
|
||||
"/css/css-flexbox/anonymous-flex-item-ref.html",
|
||||
"/css/css-flexbox/anonymous-flex-item-split-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
|
@ -107846,7 +107852,7 @@
|
|||
"/css/css-flexbox/anonymous-flex-item-006.html",
|
||||
[
|
||||
[
|
||||
"/css/css-flexbox/anonymous-flex-item-ref.html",
|
||||
"/css/css-flexbox/anonymous-flex-item-split-ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
|
@ -235099,6 +235105,11 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-flexbox/anonymous-flex-item-split-ref.html": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-flexbox/auto-margins-001-ref.html": [
|
||||
[
|
||||
{}
|
||||
|
@ -268504,6 +268515,16 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"feature-policy/picture-in-picture-allowed-by-feature-policy.https.sub.html.headers": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"feature-policy/picture-in-picture-disabled-by-feature-policy.https.sub.html.headers": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"feature-policy/resources/autoplay.js": [
|
||||
[
|
||||
{}
|
||||
|
@ -268524,6 +268545,11 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"feature-policy/resources/feature-policy-picture-in-picture.html": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"feature-policy/resources/feature-policy-usb.html": [
|
||||
[
|
||||
{}
|
||||
|
@ -268544,6 +268570,11 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"feature-policy/resources/picture-in-picture.js": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"feature-policy/resources/redirect-on-load.html": [
|
||||
[
|
||||
{}
|
||||
|
@ -318907,6 +318938,46 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"feature-policy/picture-in-picture-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html": [
|
||||
[
|
||||
"/feature-policy/picture-in-picture-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html",
|
||||
{
|
||||
"testdriver": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"feature-policy/picture-in-picture-allowed-by-feature-policy-attribute.https.sub.html": [
|
||||
[
|
||||
"/feature-policy/picture-in-picture-allowed-by-feature-policy-attribute.https.sub.html",
|
||||
{
|
||||
"testdriver": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"feature-policy/picture-in-picture-allowed-by-feature-policy.https.sub.html": [
|
||||
[
|
||||
"/feature-policy/picture-in-picture-allowed-by-feature-policy.https.sub.html",
|
||||
{
|
||||
"testdriver": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"feature-policy/picture-in-picture-default-feature-policy.https.sub.html": [
|
||||
[
|
||||
"/feature-policy/picture-in-picture-default-feature-policy.https.sub.html",
|
||||
{
|
||||
"testdriver": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"feature-policy/picture-in-picture-disabled-by-feature-policy.https.sub.html": [
|
||||
[
|
||||
"/feature-policy/picture-in-picture-disabled-by-feature-policy.https.sub.html",
|
||||
{
|
||||
"testdriver": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"fetch/api/abort/cache.https.html": [
|
||||
[
|
||||
"/fetch/api/abort/cache.https.html",
|
||||
|
@ -361825,9 +361896,9 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"webvr/idlharness.html": [
|
||||
"webvr/idlharness.https.html": [
|
||||
[
|
||||
"/webvr/idlharness.html",
|
||||
"/webvr/idlharness.https.html",
|
||||
{}
|
||||
]
|
||||
],
|
||||
|
@ -481347,21 +481418,25 @@
|
|||
"reftest"
|
||||
],
|
||||
"css/css-flexbox/anonymous-flex-item-004.html": [
|
||||
"d27625d34f2efa147415ef4e78f01cdc154ea579",
|
||||
"bb323a9ae5e802fb892d8c462bbd733837a6ddf0",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-flexbox/anonymous-flex-item-005.html": [
|
||||
"c967afaa14aff2a6d2a32346c12b3c1b4fbdc7c6",
|
||||
"a6e054f825e7378729188f39a57b801113f7130f",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-flexbox/anonymous-flex-item-006.html": [
|
||||
"d3d0c005dc2b121906f40e9a093d0feec9182355",
|
||||
"75b57bad81da6c233d359e7a78a0e7c94f6b8a9b",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-flexbox/anonymous-flex-item-ref.html": [
|
||||
"e8b1580d36b15778ca903fefa1ccccaef31b099f",
|
||||
"support"
|
||||
],
|
||||
"css/css-flexbox/anonymous-flex-item-split-ref.html": [
|
||||
"b248e78a0255b923c4ed4aa269e65f53b6386bf4",
|
||||
"support"
|
||||
],
|
||||
"css/css-flexbox/auto-margins-001-ref.html": [
|
||||
"dfc6fe046906c564110225d01572aa6aa1e40858",
|
||||
"support"
|
||||
|
@ -484275,7 +484350,7 @@
|
|||
"support"
|
||||
],
|
||||
"css/css-fonts/alternates-order.html": [
|
||||
"b4992b381f6a8f83ee043f379e614b43c7ead393",
|
||||
"9232ad7768f5bea41d87469113b210b3c663750e",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-fonts/first-available-font-001-ref.html": [
|
||||
|
@ -484755,7 +484830,7 @@
|
|||
"support"
|
||||
],
|
||||
"css/css-fonts/font-variant-alternates-01.html": [
|
||||
"445ff998bf052c1f04ab8e33002eedf391cb835d",
|
||||
"e3518e03e8e02e2b4db6920a1b92c5dfe238e420",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-fonts/font-variant-alternates-02-ref.html": [
|
||||
|
@ -484763,7 +484838,7 @@
|
|||
"support"
|
||||
],
|
||||
"css/css-fonts/font-variant-alternates-02.html": [
|
||||
"e9d74f02812d6b947fd88ffe91838cdae65df4cb",
|
||||
"ff563808733e638fed251bee552a91b4e0072ec6",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-fonts/font-variant-alternates-03-ref.html": [
|
||||
|
@ -484771,7 +484846,7 @@
|
|||
"support"
|
||||
],
|
||||
"css/css-fonts/font-variant-alternates-03.html": [
|
||||
"e4ab952f4a9c5f5421b3237f589c08c8f6c04509",
|
||||
"6e96d53e6baa87241e24d3ff730e39f84d0b5117",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-fonts/font-variant-alternates-04-ref.html": [
|
||||
|
@ -484779,7 +484854,7 @@
|
|||
"support"
|
||||
],
|
||||
"css/css-fonts/font-variant-alternates-04.html": [
|
||||
"09306fe9ff6d99d7226811c84702fe451b680e0a",
|
||||
"2317a9bcd1572a7376a51eb1deb39c5e47abfb7f",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-fonts/font-variant-alternates-05-ref.html": [
|
||||
|
@ -484787,7 +484862,7 @@
|
|||
"support"
|
||||
],
|
||||
"css/css-fonts/font-variant-alternates-05.html": [
|
||||
"a40b09abdd8a3f31100184f9f13b1c65d93d6abc",
|
||||
"79ef4afc32894f8ef4baa976fa75a83cb925d59c",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-fonts/font-variant-alternates-06-ref.html": [
|
||||
|
@ -484795,7 +484870,7 @@
|
|||
"support"
|
||||
],
|
||||
"css/css-fonts/font-variant-alternates-06.html": [
|
||||
"eb87b2a0af758871cc856a9ec2aa4e976716c293",
|
||||
"e89fab4f312af29a434f941ce1327abfcbeba9d7",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-fonts/font-variant-alternates-07-ref.html": [
|
||||
|
@ -540874,6 +540949,34 @@
|
|||
"09f612159dc367bad5febc8e0a724f0a284517d5",
|
||||
"support"
|
||||
],
|
||||
"feature-policy/picture-in-picture-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html": [
|
||||
"2cd4247efee0a52e974b9a443c45411545c67578",
|
||||
"testharness"
|
||||
],
|
||||
"feature-policy/picture-in-picture-allowed-by-feature-policy-attribute.https.sub.html": [
|
||||
"9fe872a67a3936f1dd743c8bc13b8c2f464c8002",
|
||||
"testharness"
|
||||
],
|
||||
"feature-policy/picture-in-picture-allowed-by-feature-policy.https.sub.html": [
|
||||
"78f99383d792f820d3655a5b784a8458e9e9f7e6",
|
||||
"testharness"
|
||||
],
|
||||
"feature-policy/picture-in-picture-allowed-by-feature-policy.https.sub.html.headers": [
|
||||
"264cecc1cd7264ee488524449df2d95201d6bc56",
|
||||
"support"
|
||||
],
|
||||
"feature-policy/picture-in-picture-default-feature-policy.https.sub.html": [
|
||||
"3d493f9c8c024c4f97a5f0ae3d12977f8719bcc6",
|
||||
"testharness"
|
||||
],
|
||||
"feature-policy/picture-in-picture-disabled-by-feature-policy.https.sub.html": [
|
||||
"fb7ea1dbfb4bd71aa007bb456ce5528c3f71fb0c",
|
||||
"testharness"
|
||||
],
|
||||
"feature-policy/picture-in-picture-disabled-by-feature-policy.https.sub.html.headers": [
|
||||
"6b83276039e265cf35762e045d0fbafdf647daf5",
|
||||
"support"
|
||||
],
|
||||
"feature-policy/resources/autoplay.js": [
|
||||
"6b1dd45e19dff4759b4d165cdfd59970e4212058",
|
||||
"support"
|
||||
|
@ -540890,6 +540993,10 @@
|
|||
"958b32f77b02f2ff80cf174aadac62237d79056b",
|
||||
"support"
|
||||
],
|
||||
"feature-policy/resources/feature-policy-picture-in-picture.html": [
|
||||
"057973ef7f86c3628948c54d5697fb565e6d0a96",
|
||||
"support"
|
||||
],
|
||||
"feature-policy/resources/feature-policy-usb.html": [
|
||||
"96ae900bcde19a4ffcab30f1d01b393e07936e99",
|
||||
"support"
|
||||
|
@ -540906,6 +541013,10 @@
|
|||
"d2d5194fab261d7aa0b8d1b31077a42316f5f351",
|
||||
"support"
|
||||
],
|
||||
"feature-policy/resources/picture-in-picture.js": [
|
||||
"20355b27be4404af59fc2742b43c6600147eccd3",
|
||||
"support"
|
||||
],
|
||||
"feature-policy/resources/redirect-on-load.html": [
|
||||
"5d9d75fc156f6d5a934a1aca7aa2b4a8e238dd4f",
|
||||
"support"
|
||||
|
@ -546974,6 +547085,10 @@
|
|||
"bec8edb2763e83b4141e92f95b02521cd16fbc02",
|
||||
"testharness"
|
||||
],
|
||||
"html/dom/elements/global-attributes/title-manual.html": [
|
||||
"62eca26e21572801404647be9e309d9ae3cf689f",
|
||||
"manual"
|
||||
],
|
||||
"html/dom/elements/requirements-relating-to-bidirectional-algorithm-formatting-characters/.gitkeep": [
|
||||
"da39a3ee5e6b4b0d3255bfef95601890afd80709",
|
||||
"support"
|
||||
|
@ -593670,7 +593785,7 @@
|
|||
"adb04954bffbb33f29864668db95f5c5367d6a05",
|
||||
"support"
|
||||
],
|
||||
"webvr/idlharness.html": [
|
||||
"webvr/idlharness.https.html": [
|
||||
"3505e27e1b2668010bf61f05f6b8a759cf42cece",
|
||||
"testharness"
|
||||
],
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[line-height-204.html]
|
||||
expected: FAIL
|
|
@ -1,3 +1,3 @@
|
|||
[box-shadow-syntax-001.xht]
|
||||
type: reftest
|
||||
expected: TIMEOUT
|
||||
expected: FAIL
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[anonymous-flex-item-004.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[anonymous-flex-item-005.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[anonymous-flex-item-006.html]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[css3-text-line-break-opclns-017.html]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[css3-text-line-break-opclns-024.html]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[css3-text-line-break-opclns-050.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[css3-text-line-break-opclns-054.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[css3-text-line-break-opclns-059.html]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[css3-text-line-break-opclns-121.html]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[css3-text-line-break-opclns-129.html]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[css3-text-line-break-opclns-164.html]
|
||||
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
|||
[css3-text-line-break-opclns-165.html]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[css-transforms-3d-on-anonymous-block-001.html]
|
||||
expected: FAIL
|
|
@ -1,4 +1,4 @@
|
|||
[parser-sets-attributes-and-children.html]
|
||||
expected:
|
||||
if os == "mac": CRASH
|
||||
if os == "mac": TIMEOUT
|
||||
if os == "linux": TIMEOUT
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[010.html]
|
||||
type: testharness
|
||||
[Salvagability of document.opened document]
|
||||
expected: FAIL
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
[span-limits.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[colspan of 1001 must be treated as 1000]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Flexbox Test: Flex item - contiguous text runs - position:absolute</title>
|
||||
<title>CSS Flexbox Test: Flex item - non-contiguous text runs - position:absolute</title>
|
||||
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-items">
|
||||
<link rel="match" href="anonymous-flex-item-ref.html">
|
||||
<p>There should be a space between "two" and "words" below.</p>
|
||||
<div style="display:flex">two <span style="position:absolute"></span>words</div>
|
||||
<link rel="match" href="anonymous-flex-item-split-ref.html">
|
||||
<p>The words "Two" and "lines" should not be on the same line.</p>
|
||||
<div style="display:flex;flex-direction:column">Two <span style="position:absolute"></span>lines</div>
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Flexbox Test: Flex item - contiguous text runs - position:absolute dynamic</title>
|
||||
<title>CSS Flexbox Test: Flex item - non-contiguous text runs - position:absolute dynamic</title>
|
||||
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-items">
|
||||
<link rel="match" href="anonymous-flex-item-ref.html">
|
||||
<p>There should be a space between "two" and "words" below.</p>
|
||||
<div style="display:flex">two <span id="absSpan"></span>words</div>
|
||||
<link rel="match" href="anonymous-flex-item-split-ref.html">
|
||||
<p>The words "Two" and "lines" should not be on the same line.</p>
|
||||
<div style="display:flex;flex-direction:column">Two <span id="absSpan"></span>lines</div>
|
||||
<script>
|
||||
absSpan.style.display = "none";
|
||||
document.body.offsetTop;
|
||||
absSpan.style.position = "absolute";
|
||||
absSpan.style.display = "inline";
|
||||
</script>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Flexbox Test: Flex item - contiguous text runs - position:absolute and node removal</title>
|
||||
<title>CSS Flexbox Test: Flex item - non-contiguous text runs - position:absolute and node removal</title>
|
||||
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-items">
|
||||
<link rel="match" href="anonymous-flex-item-ref.html">
|
||||
<link rel="match" href="anonymous-flex-item-split-ref.html">
|
||||
<style>.abs { position:absolute }</style>
|
||||
<p>There should be a space between "two" and "words" below.</p>
|
||||
<div style="display:flex">two <span class="abs"></span><span id="spanRemove"></span><span class="abs"></span>words</div>
|
||||
<p>The words "Two" and "lines" should not be on the same line.</p>
|
||||
<div style="display:flex;flex-direction:column">Two <span class="abs"></span><span id="spanRemove"></span><span class="abs"></span>lines</div>
|
||||
<script>
|
||||
document.body.offsetTop;
|
||||
spanRemove.remove();
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reftest Reference</title>
|
||||
<link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
|
||||
<p>The words "Two" and "lines" should not be on the same line.</p>
|
||||
Two<br>
|
||||
lines
|
|
@ -3,10 +3,10 @@
|
|||
<head>
|
||||
<title>CSS Test: feature value matching for font-variant-alternates</title>
|
||||
<link rel="author" title="John Daggett" href="mailto:jdaggett@mozilla.com"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-variant-alternates-prop"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-feature-values"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/css-fonts-4/#font-variant-alternates-prop"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/css-fonts-4/#font-feature-values"/>
|
||||
<link rel="match" href="alternates-order-ref.html"/>
|
||||
<meta name="flags" content=""/>
|
||||
|
||||
<meta name="assert" content="Case and order of font family name or feature name should not affect alternate rendered"/>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
<title>CSS Test: font-variant-alternates: normal; low level equivalence</title>
|
||||
<link rel="author" title="Chris Lilley" href="chris@w3.org">
|
||||
<link rel="match" href="font-variant-alternates-01-ref.html">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-variant-alternates-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-variant-alternates-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-feature-settings-prop">
|
||||
<meta name="assert" content="None of the features listed below are enabled. ">
|
||||
<style>
|
||||
@font-face {
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
<title>CSS Test: font-variant-alternates: historical-forms; low level equivalence</title>
|
||||
<link rel="author" title="Chris Lilley" href="chris@w3.org">
|
||||
<link rel="match" href="font-variant-alternates-02-ref.html">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-variant-alternates-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-variant-alternates-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-feature-settings-prop">
|
||||
<meta name="assert" content="Enables display of historical forms (OpenType feature: hist)">
|
||||
<style>
|
||||
@font-face {
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
<title>CSS Test: font-variant-alternates: stylistic(); low level equivalence</title>
|
||||
<link rel="author" title="Chris Lilley" href="chris@w3.org">
|
||||
<link rel="match" href="font-variant-alternates-03-ref.html">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-variant-alternates-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-variant-alternates-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-feature-settings-prop">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-fonts/#font-feature-values">
|
||||
<meta name="assert" content="Enables display of stylistic alternates (font specific, OpenType feature: salt <feature-index>)">
|
||||
<style>
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
<title>CSS Test: font-variant-alternates: stylistic(); low level equivalence</title>
|
||||
<link rel="author" title="Chris Lilley" href="chris@w3.org">
|
||||
<link rel="match" href="font-variant-alternates-04-ref.html">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-variant-alternates-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-variant-alternates-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-feature-settings-prop">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-fonts/#font-feature-values">
|
||||
<meta name="assert" content="Enables display of stylistic alternates (font specific, OpenType feature: salt <feature-index>)">
|
||||
<style>
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
<title>CSS Test: font-variant-alternates: stylistic(); low level equivalence</title>
|
||||
<link rel="author" title="Chris Lilley" href="chris@w3.org">
|
||||
<link rel="match" href="font-variant-alternates-05-ref.html">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-variant-alternates-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-variant-alternates-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-feature-settings-prop">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-fonts/#font-feature-values">
|
||||
<meta name="assert" content="Enables display of stylistic alternates (font specific, OpenType feature: salt <feature-index>)">
|
||||
<style>
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
<title>CSS Test: font-variant-alternates: styleset(); low level equivalence</title>
|
||||
<link rel="author" title="Chris Lilley" href="chris@w3.org">
|
||||
<link rel="match" href="font-variant-alternates-06-ref.html">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-variant-alternates-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-variant-alternates-prop">
|
||||
<link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-feature-settings-prop">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-fonts/#font-feature-values">
|
||||
<meta name="assert" content="Enables display with stylistic sets (font specific, OpenType feature: ss<feature-index>">
|
||||
<style>
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE html>
|
||||
<body>
|
||||
<script src=/resources/testharness.js></script>
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
<script src=/resources/testdriver.js></script>
|
||||
<script src=/resources/testdriver-vendor.js></script>
|
||||
<script src=/feature-policy/resources/featurepolicy.js></script>
|
||||
<script src=/feature-policy/resources/picture-in-picture.js></script>
|
||||
<script>
|
||||
'use strict';
|
||||
const relative_path = '/feature-policy/resources/feature-policy-picture-in-picture.html';
|
||||
const base_src = '/feature-policy/resources/redirect-on-load.html#';
|
||||
const same_origin_src = base_src + relative_path;
|
||||
const cross_origin_src = base_src + 'https://{{domains[www]}}:{{ports[https][0]}}' +
|
||||
relative_path;
|
||||
const header = 'Feature-Policy allow="picture-in-picture"';
|
||||
|
||||
async_test(t => {
|
||||
test_feature_availability(
|
||||
'picture-in-picture', t, same_origin_src,
|
||||
expect_feature_available_default, 'picture-in-picture');
|
||||
}, header + ' allows same-origin navigation in an iframe.');
|
||||
|
||||
async_test(t => {
|
||||
test_feature_availability(
|
||||
'picture-in-picture', t, cross_origin_src,
|
||||
expect_feature_unavailable_default, 'picture-in-picture');
|
||||
}, header + ' disallows cross-origin navigation in an iframe.');
|
||||
</script>
|
||||
</body>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<body>
|
||||
<script src=/resources/testharness.js></script>
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
<script src=/resources/testdriver.js></script>
|
||||
<script src=/resources/testdriver-vendor.js></script>
|
||||
<script src=/feature-policy/resources/featurepolicy.js></script>
|
||||
<script src=/feature-policy/resources/picture-in-picture.js></script>
|
||||
<script>
|
||||
'use strict';
|
||||
const same_origin_src = '/feature-policy/resources/feature-policy-picture-in-picture.html';
|
||||
const cross_origin_src = 'https://{{domains[www]}}:{{ports[https][0]}}' +
|
||||
same_origin_src;
|
||||
const feature_name = 'Feature policy "picture-in-picture"';
|
||||
const header = 'allow="picture-in-picture" attribute';
|
||||
|
||||
async_test(t => {
|
||||
test_feature_availability(
|
||||
'picture-in-picture', t, same_origin_src,
|
||||
expect_feature_available_default, 'picture-in-picture');
|
||||
}, feature_name + ' can be enabled in same-origin iframe using ' + header);
|
||||
|
||||
async_test(t => {
|
||||
test_feature_availability(
|
||||
'picture-in-picture', t, cross_origin_src,
|
||||
expect_feature_available_default, 'picture-in-picture');
|
||||
}, feature_name + ' can be enabled in cross-origin iframe using ' + header);
|
||||
</script>
|
||||
</body>
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<body>
|
||||
<script src=/resources/testharness.js></script>
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
<script src=/resources/testdriver.js></script>
|
||||
<script src=/resources/testdriver-vendor.js></script>
|
||||
<script src=/feature-policy/resources/featurepolicy.js></script>
|
||||
<script src=/feature-policy/resources/picture-in-picture.js></script>
|
||||
<script>
|
||||
'use strict';
|
||||
const same_origin_src = '/feature-policy/resources/feature-policy-picture-in-picture.html';
|
||||
const cross_origin_src = 'https://{{domains[www]}}:{{ports[https][0]}}' +
|
||||
same_origin_src;
|
||||
const header = 'Feature-Policy header: picture-in-picture *';
|
||||
|
||||
async_test(t => {
|
||||
isPictureInPictureAllowed().then(t.step_func_done((result) => {
|
||||
assert_true(result);
|
||||
}));
|
||||
}, header + ' allows the top-level document.');
|
||||
|
||||
async_test(t => {
|
||||
test_feature_availability('picture-in-picture', t, same_origin_src,
|
||||
expect_feature_available_default);
|
||||
}, header + ' allows same-origin iframes.');
|
||||
|
||||
async_test(t => {
|
||||
test_feature_availability('picture-in-picture', t, cross_origin_src,
|
||||
expect_feature_available_default);
|
||||
}, header + ' allows cross-origin iframes.');
|
||||
</script>
|
||||
</body>
|
|
@ -0,0 +1 @@
|
|||
Feature-Policy: picture-in-picture *
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<body>
|
||||
<script src=/resources/testharness.js></script>
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
<script src=/resources/testdriver.js></script>
|
||||
<script src=/resources/testdriver-vendor.js></script>
|
||||
<script src=/feature-policy/resources/featurepolicy.js></script>
|
||||
<script src=/feature-policy/resources/picture-in-picture.js></script>
|
||||
<script>
|
||||
'use strict';
|
||||
const same_origin_src = '/feature-policy/resources/feature-policy-picture-in-picture.html';
|
||||
const cross_origin_src = 'https://{{domains[www]}}:{{ports[https][0]}}' +
|
||||
same_origin_src;
|
||||
const header = 'Default "picture-in-picture" feature policy ["self"]';
|
||||
|
||||
async_test(t => {
|
||||
isPictureInPictureAllowed().then(t.step_func_done((result) => {
|
||||
assert_true(result);
|
||||
}));
|
||||
}, header + ' allows the top-level document.');
|
||||
|
||||
async_test(t => {
|
||||
test_feature_availability('picture-in-picture', t, same_origin_src,
|
||||
expect_feature_available_default);
|
||||
}, header + ' allows same-origin iframes.');
|
||||
|
||||
async_test(t => {
|
||||
test_feature_availability('picture-in-picture', t, cross_origin_src,
|
||||
expect_feature_unavailable_default,);
|
||||
}, header + ' disallows cross-origin iframes.');
|
||||
|
||||
</script>
|
||||
</body>
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<body>
|
||||
<script src=/resources/testharness.js></script>
|
||||
<script src=/resources/testharnessreport.js></script>
|
||||
<script src=/resources/testdriver.js></script>
|
||||
<script src=/resources/testdriver-vendor.js></script>
|
||||
<script src=/feature-policy/resources/featurepolicy.js></script>
|
||||
<script src=/feature-policy/resources/picture-in-picture.js></script>
|
||||
<script>
|
||||
'use strict';
|
||||
const same_origin_src = '/feature-policy/resources/feature-policy-picture-in-picture.html';
|
||||
const cross_origin_src = 'https://{{domains[www]}}:{{ports[https][0]}}' +
|
||||
same_origin_src;
|
||||
const header = 'Feature-Policy header: picture-in-picture "none"';
|
||||
|
||||
async_test(t => {
|
||||
isPictureInPictureAllowed().then(t.step_func_done((result) => {
|
||||
assert_false(result);
|
||||
}));
|
||||
}, header + ' disallows the top-level document.');
|
||||
|
||||
async_test(t => {
|
||||
test_feature_availability('picture-in-picture', t, same_origin_src,
|
||||
expect_feature_unavailable_default);
|
||||
}, header + ' disallows same-origin iframes.');
|
||||
|
||||
async_test(t => {
|
||||
test_feature_availability('picture-in-picture', t, cross_origin_src,
|
||||
expect_feature_unavailable_default,);
|
||||
}, header + ' disallows cross-origin iframes.');
|
||||
</script>
|
||||
</body>
|
|
@ -0,0 +1 @@
|
|||
Feature-Policy: picture-in-picture 'none'
|
|
@ -0,0 +1,10 @@
|
|||
<script src=/feature-policy/resources/picture-in-picture.js></script>
|
||||
<script>
|
||||
'use strict';
|
||||
|
||||
window.addEventListener('load', () => {
|
||||
isPictureInPictureAllowed().then(result => {
|
||||
window.parent.postMessage({ enabled: result }, '*');
|
||||
});
|
||||
}, { once: true });
|
||||
</script>
|
|
@ -0,0 +1,13 @@
|
|||
function isPictureInPictureAllowed() {
|
||||
return new Promise((resolve, reject) => {
|
||||
const video = document.createElement('video');
|
||||
video.requestPictureInPicture()
|
||||
.then(() => resolve(document.pictureInPictureEnabled))
|
||||
.catch(e => {
|
||||
if (e.name == 'NotAllowedError')
|
||||
resolve(document.pictureInPictureEnabled);
|
||||
else
|
||||
resolve(false);
|
||||
});
|
||||
});
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<title>The title attribute</title>
|
||||
<style>
|
||||
div > * { display: inline }
|
||||
link::before { content: "link" }
|
||||
</style>
|
||||
<p>Hover each word below. The tooltip for each of them should be "PASS".</p>
|
||||
<div title=PASS>div <link> <style>style</style> <dfn>dfn</dfn> <abbr>abbr</abbr> <menuitem>menuitem</menuitem></div>
|
Loading…
Add table
Add a link
Reference in a new issue