Bug 1737142 [wpt PR 31354] - fix(conformance-checkers): U+007C (|) is a forbidden host code point, a=testonly

Automatic update from web-platform-tests
fix(conformance-checkers): U+007C (|) is now a forbidden host code per url standard (validator issue 1207)

--

wpt-commits: 312afcfe4f54add602d1200ab613c3e894b2688c
wpt-pr: 31354
This commit is contained in:
Mark Rogers 2021-11-17 13:23:41 +00:00 коммит произвёл moz-wptsync-bot
Родитель 3b47c66e9a
Коммит b5c839d43a
52 изменённых файлов: 101 добавлений и 27 удалений

Просмотреть файл

@ -81,7 +81,6 @@
<a href="💩http://foo"></a><!-- path-starts-with-pile-of-poo -->
<a href="File://foo/bar.html"></a><!-- scheme-file-uppercase -->
<a href="file://C|/foo/bar"></a><!-- scheme-file-slash-slash-c-bar -->
<a href="file://abc|/foo/bar"></a><!-- scheme-file-slash-slash-abc-bar -->
<a href="file://server/foo/bar"></a><!-- scheme-file-host-included -->
<a href="file:///foo/bar.txt"></a><!-- scheme-file-host-empty -->
<a href="file:"></a><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-file-slash-slash-abc-bar</title>
<a href="file://abc|/foo/bar"></a>

Просмотреть файл

@ -81,7 +81,6 @@
<map name=foo><area href="💩http://foo" alt></map><!-- path-starts-with-pile-of-poo -->
<map name=foo><area href="File://foo/bar.html" alt></map><!-- scheme-file-uppercase -->
<map name=foo><area href="file://C|/foo/bar" alt></map><!-- scheme-file-slash-slash-c-bar -->
<map name=foo><area href="file://abc|/foo/bar" alt></map><!-- scheme-file-slash-slash-abc-bar -->
<map name=foo><area href="file://server/foo/bar" alt></map><!-- scheme-file-host-included -->
<map name=foo><area href="file:///foo/bar.txt" alt></map><!-- scheme-file-host-empty -->
<map name=foo><area href="file:" alt></map><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-file-slash-slash-abc-bar</title>
<map name=foo><area href="file://abc|/foo/bar" alt></map>

Просмотреть файл

@ -81,7 +81,6 @@
<audio src="💩http://foo"></audio><!-- path-starts-with-pile-of-poo -->
<audio src="File://foo/bar.html"></audio><!-- scheme-file-uppercase -->
<audio src="file://C|/foo/bar"></audio><!-- scheme-file-slash-slash-c-bar -->
<audio src="file://abc|/foo/bar"></audio><!-- scheme-file-slash-slash-abc-bar -->
<audio src="file://server/foo/bar"></audio><!-- scheme-file-host-included -->
<audio src="file:///foo/bar.txt"></audio><!-- scheme-file-host-empty -->
<audio src="file:"></audio><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid src: scheme-file-slash-slash-abc-bar</title>
<audio src="file://abc|/foo/bar"></audio>

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-file-slash-slash-abc-bar</title>
<base href="file://abc|/foo/bar">

Просмотреть файл

@ -81,7 +81,6 @@
<blockquote cite="💩http://foo"></blockquote><!-- path-starts-with-pile-of-poo -->
<blockquote cite="File://foo/bar.html"></blockquote><!-- scheme-file-uppercase -->
<blockquote cite="file://C|/foo/bar"></blockquote><!-- scheme-file-slash-slash-c-bar -->
<blockquote cite="file://abc|/foo/bar"></blockquote><!-- scheme-file-slash-slash-abc-bar -->
<blockquote cite="file://server/foo/bar"></blockquote><!-- scheme-file-host-included -->
<blockquote cite="file:///foo/bar.txt"></blockquote><!-- scheme-file-host-empty -->
<blockquote cite="file:"></blockquote><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid cite: scheme-file-slash-slash-abc-bar</title>
<blockquote cite="file://abc|/foo/bar"></blockquote>

Просмотреть файл

@ -81,7 +81,6 @@
<button formaction="💩http://foo"></button><!-- path-starts-with-pile-of-poo -->
<button formaction="File://foo/bar.html"></button><!-- scheme-file-uppercase -->
<button formaction="file://C|/foo/bar"></button><!-- scheme-file-slash-slash-c-bar -->
<button formaction="file://abc|/foo/bar"></button><!-- scheme-file-slash-slash-abc-bar -->
<button formaction="file://server/foo/bar"></button><!-- scheme-file-host-included -->
<button formaction="file:///foo/bar.txt"></button><!-- scheme-file-host-empty -->
<button formaction="file:"></button><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid formaction: scheme-file-slash-slash-abc-bar</title>
<button formaction="file://abc|/foo/bar"></button>

Просмотреть файл

@ -81,7 +81,6 @@
<del cite="💩http://foo"></del><!-- path-starts-with-pile-of-poo -->
<del cite="File://foo/bar.html"></del><!-- scheme-file-uppercase -->
<del cite="file://C|/foo/bar"></del><!-- scheme-file-slash-slash-c-bar -->
<del cite="file://abc|/foo/bar"></del><!-- scheme-file-slash-slash-abc-bar -->
<del cite="file://server/foo/bar"></del><!-- scheme-file-host-included -->
<del cite="file:///foo/bar.txt"></del><!-- scheme-file-host-empty -->
<del cite="file:"></del><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid cite: scheme-file-slash-slash-abc-bar</title>
<del cite="file://abc|/foo/bar"></del>

Просмотреть файл

@ -81,7 +81,6 @@
<embed src="💩http://foo"><!-- path-starts-with-pile-of-poo -->
<embed src="File://foo/bar.html"><!-- scheme-file-uppercase -->
<embed src="file://C|/foo/bar"><!-- scheme-file-slash-slash-c-bar -->
<embed src="file://abc|/foo/bar"><!-- scheme-file-slash-slash-abc-bar -->
<embed src="file://server/foo/bar"><!-- scheme-file-host-included -->
<embed src="file:///foo/bar.txt"><!-- scheme-file-host-empty -->
<embed src="file:"><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid src: scheme-file-slash-slash-abc-bar</title>
<embed src="file://abc|/foo/bar">

Просмотреть файл

@ -81,7 +81,6 @@
<form action="💩http://foo"></form><!-- path-starts-with-pile-of-poo -->
<form action="File://foo/bar.html"></form><!-- scheme-file-uppercase -->
<form action="file://C|/foo/bar"></form><!-- scheme-file-slash-slash-c-bar -->
<form action="file://abc|/foo/bar"></form><!-- scheme-file-slash-slash-abc-bar -->
<form action="file://server/foo/bar"></form><!-- scheme-file-host-included -->
<form action="file:///foo/bar.txt"></form><!-- scheme-file-host-empty -->
<form action="file:"></form><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid action: scheme-file-slash-slash-abc-bar</title>
<form action="file://abc|/foo/bar"></form>

Просмотреть файл

@ -81,7 +81,6 @@
<iframe src="💩http://foo"></iframe><!-- path-starts-with-pile-of-poo -->
<iframe src="File://foo/bar.html"></iframe><!-- scheme-file-uppercase -->
<iframe src="file://C|/foo/bar"></iframe><!-- scheme-file-slash-slash-c-bar -->
<iframe src="file://abc|/foo/bar"></iframe><!-- scheme-file-slash-slash-abc-bar -->
<iframe src="file://server/foo/bar"></iframe><!-- scheme-file-host-included -->
<iframe src="file:///foo/bar.txt"></iframe><!-- scheme-file-host-empty -->
<iframe src="file:"></iframe><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid src: scheme-file-slash-slash-abc-bar</title>
<iframe src="file://abc|/foo/bar"></iframe>

Просмотреть файл

@ -81,7 +81,6 @@
<img src="💩http://foo" alt><!-- path-starts-with-pile-of-poo -->
<img src="File://foo/bar.html" alt><!-- scheme-file-uppercase -->
<img src="file://C|/foo/bar" alt><!-- scheme-file-slash-slash-c-bar -->
<img src="file://abc|/foo/bar" alt><!-- scheme-file-slash-slash-abc-bar -->
<img src="file://server/foo/bar" alt><!-- scheme-file-host-included -->
<img src="file:///foo/bar.txt" alt><!-- scheme-file-host-empty -->
<img src="file:" alt><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid src: scheme-file-slash-slash-abc-bar</title>
<img src="file://abc|/foo/bar" alt>

Просмотреть файл

@ -81,7 +81,6 @@
<input type=image alt="foo" formaction="💩http://foo"><!-- path-starts-with-pile-of-poo -->
<input type=image alt="foo" formaction="File://foo/bar.html"><!-- scheme-file-uppercase -->
<input type=image alt="foo" formaction="file://C|/foo/bar"><!-- scheme-file-slash-slash-c-bar -->
<input type=image alt="foo" formaction="file://abc|/foo/bar"><!-- scheme-file-slash-slash-abc-bar -->
<input type=image alt="foo" formaction="file://server/foo/bar"><!-- scheme-file-host-included -->
<input type=image alt="foo" formaction="file:///foo/bar.txt"><!-- scheme-file-host-empty -->
<input type=image alt="foo" formaction="file:"><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid formaction: scheme-file-slash-slash-abc-bar</title>
<input type=image alt="foo" formaction="file://abc|/foo/bar">

Просмотреть файл

@ -81,7 +81,6 @@
<input type=image alt="foo" src="💩http://foo"><!-- path-starts-with-pile-of-poo -->
<input type=image alt="foo" src="File://foo/bar.html"><!-- scheme-file-uppercase -->
<input type=image alt="foo" src="file://C|/foo/bar"><!-- scheme-file-slash-slash-c-bar -->
<input type=image alt="foo" src="file://abc|/foo/bar"><!-- scheme-file-slash-slash-abc-bar -->
<input type=image alt="foo" src="file://server/foo/bar"><!-- scheme-file-host-included -->
<input type=image alt="foo" src="file:///foo/bar.txt"><!-- scheme-file-host-empty -->
<input type=image alt="foo" src="file:"><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid src: scheme-file-slash-slash-abc-bar</title>
<input type=image alt="foo" src="file://abc|/foo/bar">

Просмотреть файл

@ -81,7 +81,6 @@
<input type=submit formaction="💩http://foo"><!-- path-starts-with-pile-of-poo -->
<input type=submit formaction="File://foo/bar.html"><!-- scheme-file-uppercase -->
<input type=submit formaction="file://C|/foo/bar"><!-- scheme-file-slash-slash-c-bar -->
<input type=submit formaction="file://abc|/foo/bar"><!-- scheme-file-slash-slash-abc-bar -->
<input type=submit formaction="file://server/foo/bar"><!-- scheme-file-host-included -->
<input type=submit formaction="file:///foo/bar.txt"><!-- scheme-file-host-empty -->
<input type=submit formaction="file:"><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid formaction: scheme-file-slash-slash-abc-bar</title>
<input type=submit formaction="file://abc|/foo/bar">

Просмотреть файл

@ -60,7 +60,6 @@
<input type=url value="http://192.168.0.257/"><!-- host-IP-address-broken -->
<input type=url value="File://foo/bar.html"><!-- scheme-file-uppercase -->
<input type=url value="file://C|/foo/bar"><!-- scheme-file-slash-slash-c-bar -->
<input type=url value="file://abc|/foo/bar"><!-- scheme-file-slash-slash-abc-bar -->
<input type=url value="file://server/foo/bar"><!-- scheme-file-host-included -->
<input type=url value="file:///foo/bar.txt"><!-- scheme-file-host-empty -->
<input type=url value="file:"><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid value attribute: scheme-file-slash-slash-abc-bar</title>
<input type=url value="file://abc|/foo/bar">

Просмотреть файл

@ -81,7 +81,6 @@
<ins cite="💩http://foo"></ins><!-- path-starts-with-pile-of-poo -->
<ins cite="File://foo/bar.html"></ins><!-- scheme-file-uppercase -->
<ins cite="file://C|/foo/bar"></ins><!-- scheme-file-slash-slash-c-bar -->
<ins cite="file://abc|/foo/bar"></ins><!-- scheme-file-slash-slash-abc-bar -->
<ins cite="file://server/foo/bar"></ins><!-- scheme-file-host-included -->
<ins cite="file:///foo/bar.txt"></ins><!-- scheme-file-host-empty -->
<ins cite="file:"></ins><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid cite: scheme-file-slash-slash-abc-bar</title>
<ins cite="file://abc|/foo/bar"></ins>

Просмотреть файл

@ -81,7 +81,6 @@
<link href="💩http://foo" rel=help><!-- path-starts-with-pile-of-poo -->
<link href="File://foo/bar.html" rel=help><!-- scheme-file-uppercase -->
<link href="file://C|/foo/bar" rel=help><!-- scheme-file-slash-slash-c-bar -->
<link href="file://abc|/foo/bar" rel=help><!-- scheme-file-slash-slash-abc-bar -->
<link href="file://server/foo/bar" rel=help><!-- scheme-file-host-included -->
<link href="file:///foo/bar.txt" rel=help><!-- scheme-file-host-empty -->
<link href="file:" rel=help><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-file-slash-slash-abc-bar</title>
<link href="file://abc|/foo/bar" rel=help>

Просмотреть файл

@ -81,7 +81,6 @@
<meta http-equiv=refresh content="0; URL=💩http://foo"><!-- path-starts-with-pile-of-poo -->
<meta http-equiv=refresh content="0; URL=File://foo/bar.html"><!-- scheme-file-uppercase -->
<meta http-equiv=refresh content="0; URL=file://C|/foo/bar"><!-- scheme-file-slash-slash-c-bar -->
<meta http-equiv=refresh content="0; URL=file://abc|/foo/bar"><!-- scheme-file-slash-slash-abc-bar -->
<meta http-equiv=refresh content="0; URL=file://server/foo/bar"><!-- scheme-file-host-included -->
<meta http-equiv=refresh content="0; URL=file:///foo/bar.txt"><!-- scheme-file-host-empty -->
<meta http-equiv=refresh content="0; URL=file:"><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -81,7 +81,6 @@
<object data="💩http://foo"></object><!-- path-starts-with-pile-of-poo -->
<object data="File://foo/bar.html"></object><!-- scheme-file-uppercase -->
<object data="file://C|/foo/bar"></object><!-- scheme-file-slash-slash-c-bar -->
<object data="file://abc|/foo/bar"></object><!-- scheme-file-slash-slash-abc-bar -->
<object data="file://server/foo/bar"></object><!-- scheme-file-host-included -->
<object data="file:///foo/bar.txt"></object><!-- scheme-file-host-empty -->
<object data="file:"></object><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid data: scheme-file-slash-slash-abc-bar</title>
<object data="file://abc|/foo/bar"></object>

Просмотреть файл

@ -81,7 +81,6 @@
<q cite="💩http://foo"></q><!-- path-starts-with-pile-of-poo -->
<q cite="File://foo/bar.html"></q><!-- scheme-file-uppercase -->
<q cite="file://C|/foo/bar"></q><!-- scheme-file-slash-slash-c-bar -->
<q cite="file://abc|/foo/bar"></q><!-- scheme-file-slash-slash-abc-bar -->
<q cite="file://server/foo/bar"></q><!-- scheme-file-host-included -->
<q cite="file:///foo/bar.txt"></q><!-- scheme-file-host-empty -->
<q cite="file:"></q><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid cite: scheme-file-slash-slash-abc-bar</title>
<q cite="file://abc|/foo/bar"></q>

Просмотреть файл

@ -81,7 +81,6 @@
<script src="💩http://foo"></script><!-- path-starts-with-pile-of-poo -->
<script src="File://foo/bar.html"></script><!-- scheme-file-uppercase -->
<script src="file://C|/foo/bar"></script><!-- scheme-file-slash-slash-c-bar -->
<script src="file://abc|/foo/bar"></script><!-- scheme-file-slash-slash-abc-bar -->
<script src="file://server/foo/bar"></script><!-- scheme-file-host-included -->
<script src="file:///foo/bar.txt"></script><!-- scheme-file-host-empty -->
<script src="file:"></script><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid src: scheme-file-slash-slash-abc-bar</title>
<script src="file://abc|/foo/bar"></script>

Просмотреть файл

@ -81,7 +81,6 @@
<video><source src="💩http://foo"></video><!-- path-starts-with-pile-of-poo -->
<video><source src="File://foo/bar.html"></video><!-- scheme-file-uppercase -->
<video><source src="file://C|/foo/bar"></video><!-- scheme-file-slash-slash-c-bar -->
<video><source src="file://abc|/foo/bar"></video><!-- scheme-file-slash-slash-abc-bar -->
<video><source src="file://server/foo/bar"></video><!-- scheme-file-host-included -->
<video><source src="file:///foo/bar.txt"></video><!-- scheme-file-host-empty -->
<video><source src="file:"></video><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid src: scheme-file-slash-slash-abc-bar</title>
<video><source src="file://abc|/foo/bar"></video>

Просмотреть файл

@ -81,7 +81,6 @@
<video><track src="💩http://foo"></video><!-- path-starts-with-pile-of-poo -->
<video><track src="File://foo/bar.html"></video><!-- scheme-file-uppercase -->
<video><track src="file://C|/foo/bar"></video><!-- scheme-file-slash-slash-c-bar -->
<video><track src="file://abc|/foo/bar"></video><!-- scheme-file-slash-slash-abc-bar -->
<video><track src="file://server/foo/bar"></video><!-- scheme-file-host-included -->
<video><track src="file:///foo/bar.txt"></video><!-- scheme-file-host-empty -->
<video><track src="file:"></video><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid src: scheme-file-slash-slash-abc-bar</title>
<video><track src="file://abc|/foo/bar"></video>

Просмотреть файл

@ -81,7 +81,6 @@
<video poster="💩http://foo"></video><!-- path-starts-with-pile-of-poo -->
<video poster="File://foo/bar.html"></video><!-- scheme-file-uppercase -->
<video poster="file://C|/foo/bar"></video><!-- scheme-file-slash-slash-c-bar -->
<video poster="file://abc|/foo/bar"></video><!-- scheme-file-slash-slash-abc-bar -->
<video poster="file://server/foo/bar"></video><!-- scheme-file-host-included -->
<video poster="file:///foo/bar.txt"></video><!-- scheme-file-host-empty -->
<video poster="file:"></video><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid poster: scheme-file-slash-slash-abc-bar</title>
<video poster="file://abc|/foo/bar"></video>

Просмотреть файл

@ -81,7 +81,6 @@
<video src="💩http://foo"></video><!-- path-starts-with-pile-of-poo -->
<video src="File://foo/bar.html"></video><!-- scheme-file-uppercase -->
<video src="file://C|/foo/bar"></video><!-- scheme-file-slash-slash-c-bar -->
<video src="file://abc|/foo/bar"></video><!-- scheme-file-slash-slash-abc-bar -->
<video src="file://server/foo/bar"></video><!-- scheme-file-host-included -->
<video src="file:///foo/bar.txt"></video><!-- scheme-file-host-empty -->
<video src="file:"></video><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid src: scheme-file-slash-slash-abc-bar</title>
<video src="file://abc|/foo/bar"></video>

Просмотреть файл

@ -81,7 +81,6 @@
<div itemid="💩http://foo" itemtype="http://foo" itemscope></div><!-- path-starts-with-pile-of-poo -->
<div itemid="File://foo/bar.html" itemtype="http://foo" itemscope></div><!-- scheme-file-uppercase -->
<div itemid="file://C|/foo/bar" itemtype="http://foo" itemscope></div><!-- scheme-file-slash-slash-c-bar -->
<div itemid="file://abc|/foo/bar" itemtype="http://foo" itemscope></div><!-- scheme-file-slash-slash-abc-bar -->
<div itemid="file://server/foo/bar" itemtype="http://foo" itemscope></div><!-- scheme-file-host-included -->
<div itemid="file:///foo/bar.txt" itemtype="http://foo" itemscope></div><!-- scheme-file-host-empty -->
<div itemid="file:" itemtype="http://foo" itemscope></div><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid itemid: scheme-file-slash-slash-abc-bar</title>
<div itemid="file://abc|/foo/bar" itemtype="http://foo" itemscope></div>

Просмотреть файл

@ -60,7 +60,6 @@
<div itemtype="http://192.168.0.257/" itemscope></div><!-- host-IP-address-broken -->
<div itemtype="File://foo/bar.html" itemscope></div><!-- scheme-file-uppercase -->
<div itemtype="file://C|/foo/bar" itemscope></div><!-- scheme-file-slash-slash-c-bar -->
<div itemtype="file://abc|/foo/bar" itemscope></div><!-- scheme-file-slash-slash-abc-bar -->
<div itemtype="file://server/foo/bar" itemscope></div><!-- scheme-file-host-included -->
<div itemtype="file:///foo/bar.txt" itemscope></div><!-- scheme-file-host-empty -->
<div itemtype="file:" itemscope></div><!-- scheme-file-scheme-only -->

Просмотреть файл

@ -166,6 +166,7 @@ valid.update(valid_relative_colon_dot)
invalid_file = {
"scheme-file-backslash": "file:c:\\foo\\bar.html",
"scheme-file-single-slash-c-bar": "file:/C|/foo/bar",
"scheme-file-slash-slash-abc-bar": "file://abc|/foo/bar",
"scheme-file-triple-slash-c-bar": "file:///C|/foo/bar",
}
invalid.update(invalid_file)
@ -173,7 +174,6 @@ invalid.update(invalid_file)
valid_file = {
"scheme-file-uppercase": "File://foo/bar.html",
"scheme-file-slash-slash-c-bar": "file://C|/foo/bar",
"scheme-file-slash-slash-abc-bar": "file://abc|/foo/bar",
"scheme-file-host-included": "file://server/foo/bar",
"scheme-file-host-empty": "file:///foo/bar.txt",
"scheme-file-scheme-only": "file:",