Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1<!DOCTYPE html>
2<body>
3 <script src=/resources/testharness.js></script>
4 <script src=/resources/testharnessreport.js></script>
5 <script>
6 test(function() {
7 var wildcard_origin = 'https://*:{{ports[https][0]}}';
8 assert_array_equals(
9 document.featurePolicy.getAllowlistForFeature('fullscreen'),
10 [wildcard_origin]);
11 assert_true(document.featurePolicy.allowsFeature('fullscreen'));
12 }, 'Test wildcard host policy works as expected');
13 </script>
14</body>

After

1<!DOCTYPE html>
2<body>
3 <script src=/resources/testharness.js></script>
4 <script src=/resources/testharnessreport.js></script>
5 <script>
6 test(function() {
7 var wildcard_origin = 'https://*:{{ports[https][0]}}';
8 assert_array_equals(
9 document.permissionsPolicy.getAllowlistForFeature('fullscreen'),
10 [wildcard_origin]);
11 assert_true(document.permissionsPolicy.allowsFeature('fullscreen'));
12 }, 'Test wildcard host policy works as expected');
13 </script>
14</body>

Before

document
doctype
<! "<!"
doctype "DOCTYPE"
> ">"
element
start_tag
< "<"
tag_name "body"
> ">"
script_element
start_tag
< "<"
tag_name "script"
attribute
attribute_name "src"
= "="
attribute_value "/resources/testharness.js"
> ">"
raw_text ""
end_tag
</ "</"
tag_name "script"
> ">"
script_element
start_tag
< "<"
tag_name "script"
attribute
attribute_name "src"
= "="
attribute_value "/resources/testharnessreport.js"
> ">"
raw_text ""
end_tag
</ "</"
tag_name "script"
> ">"
script_element
start_tag
< "<"
tag_name "script"
> ">"
raw_text "\n test(function() {\n var wildcard_origin = 'https://*:{{"...
end_tag
</ "</"
tag_name "script"
> ">"
end_tag
</ "</"
tag_name "body"
> ">"

After

document
doctype
<! "<!"
doctype "DOCTYPE"
> ">"
element
start_tag
< "<"
tag_name "body"
> ">"
script_element
start_tag
< "<"
tag_name "script"
attribute
attribute_name "src"
= "="
attribute_value "/resources/testharness.js"
> ">"
raw_text ""
end_tag
</ "</"
tag_name "script"
> ">"
script_element
start_tag
< "<"
tag_name "script"
attribute
attribute_name "src"
= "="
attribute_value "/resources/testharnessreport.js"
> ">"
raw_text ""
end_tag
</ "</"
tag_name "script"
> ">"
script_element
start_tag
< "<"
tag_name "script"
> ">"
raw_text "\n test(function() {\n var wildcard_origin = 'https://*:{{"...
end_tag
</ "</"
tag_name "script"
> ">"
end_tag
</ "</"
tag_name "body"
> ">"