Skip to content

Commit

Permalink
Update of TR report from new reffy run
Browse files Browse the repository at this point in the history
Using reffy commit 17.2.5.
  • Loading branch information
reffy-bot committed Sep 11, 2024
1 parent 83cfeb8 commit 6241b1a
Show file tree
Hide file tree
Showing 35 changed files with 16,329 additions and 447 deletions.
236 changes: 236 additions & 0 deletions tr/algorithms/css-easing-2.json

Large diffs are not rendered by default.

151 changes: 151 additions & 0 deletions tr/algorithms/css-values-5.json

Large diffs are not rendered by default.

1,451 changes: 1,451 additions & 0 deletions tr/algorithms/fedcm-1.json

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions tr/algorithms/html-ruby-extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"spec": {
"title": "HTML Ruby Markup Extensions",
"url": "https://www.w3.org/TR/html-ruby-extensions/"
},
"algorithms": [
{
"html": "There are, however, differences in how the various ruby related elements can be used,\n\tthe two essential ones being:",
"rationale": "while",
"steps": [
{
"html": "In addition to the ability to interleave <code><a data-link-type=\"element\" href=\"https://www.w3.org/TR/html-ruby-extensions/#elementdef-rt\" id=\"ref-for-elementdef-rt③⓪\">rt</a></code> elements between anonymous ruby bases,\n\t\t\tthe previously obsoleted <code><a data-link-type=\"element\" href=\"https://www.w3.org/TR/html-ruby-extensions/#elementdef-rb\" id=\"ref-for-elementdef-rb②⑤\">rb</a></code> element is restored,\n\t\t\tenabling the so-called <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"tabular-markup\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">tabular markup</dfn> pattern\n\t\t\twhere several consecutive bases are followed\n\t\t\ttheir respective annotations: \n<pre><code class=\"highlight\"><c- p=\"\">&lt;</c-><c- f=\"\">ruby</c-><c- p=\"\">&gt;</c->\n <c- p=\"\">&lt;</c-><c- f=\"\">rb</c-><c- p=\"\">&gt;</c->…<c- p=\"\">&lt;</c-><c- f=\"\">rb</c-><c- p=\"\">&gt;</c->…<c- p=\"\">&lt;</c-><c- f=\"\">rb</c-><c- p=\"\">&gt;</c->…\n <c- p=\"\">&lt;</c-><c- f=\"\">rt</c-><c- p=\"\">&gt;</c->…<c- p=\"\">&lt;</c-><c- f=\"\">rt</c-><c- p=\"\">&gt;</c->…<c- p=\"\">&lt;</c-><c- f=\"\">rt</c-><c- p=\"\">&gt;</c->…\n<c- p=\"\">&lt;/</c-><c- f=\"\">ruby</c-><c- p=\"\">&gt;</c->\n</code></pre>\n <p>Without <code><a data-link-type=\"element\" href=\"https://www.w3.org/TR/html-ruby-extensions/#elementdef-rb\" id=\"ref-for-elementdef-rb②⑥\">rb</a></code> and <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/html-ruby-extensions/#tabular-markup\" id=\"ref-for-tabular-markup\">tabular markup</a>,\n\t\t\tin order to have the individual base/annotation pairing\n\t\t\tnecessary to correct handle\n\t\t\tthe various possible presentations of ruby on <a href=\"https://www.w3.org/TR/html-ruby-extensions/#jukugo-ruby\">compound words</a>,\n\t\t\tinterleaving the <code><a data-link-type=\"element\" href=\"https://www.w3.org/TR/html-ruby-extensions/#elementdef-rt\" id=\"ref-for-elementdef-rt③①\">rt</a></code> elements between segments of base text would be required.\n\t\t\tHowever, such this markup would not enable correct <a href=\"https://www.w3.org/TR/html-ruby-extensions/#ruby-inlining\">ruby inlining</a>.</p>\n <p>Moreover, interleaved markup is also a source of issues\n\t\t\twith operations like\n\t\t\tcopy&amp;paste,\n\t\t\tsearching through the document,\n\t\t\tor speech synthesis,\n\t\t\tdue to the base text being interrupted by the annotations.</p>"
},
{
"html": "This document defines a different model for handling multiple levels of annotations: \n <ul>\n <li>\n The ability to associate multiple consecutive <code><a data-link-type=\"element\" href=\"https://www.w3.org/TR/html-ruby-extensions/#elementdef-rt\" id=\"ref-for-elementdef-rt③②\">rt</a></code> elements with the preceding base text segment\n\t\t\t\t\twithout using explicit annotation containers\n\t\t\t\t\tis dropped.\n\t\t\t\t\tThis pattern does not have interoperable implementations with the semantics intended by the <a data-biblio-display=\"inline\" data-link-type=\"biblio\" href=\"https://html.spec.whatwg.org/multipage/\"><cite>HTML Standard</cite></a>,\n\t\t\t\t\tand is in tension with <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/html-ruby-extensions/#tabular-markup\" id=\"ref-for-tabular-markup①\">tabular markup</a>. \n <p>Instead, the previously obsoleted <code><a data-link-type=\"element\" href=\"https://www.w3.org/TR/html-ruby-extensions/#elementdef-rtc\" id=\"ref-for-elementdef-rtc③④\">rtc</a></code> element is restored,\n\t\t\t\t\tproviding the ability to indicate multiple annotation ranges over the same base(s),\n\t\t\t\t\tusing either interleaved or <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/html-ruby-extensions/#tabular-markup\" id=\"ref-for-tabular-markup②\">tabular markup</a> patterns.</p>\n </li><li>\n While the ability to nest ruby is retained,\n\t\t\t\t\tspecialized semantics for nested ruby are dropped.\n\t\t\t\t\tThat markup pattern is strictly less expressive\n\t\t\t\t\tthan using <code><a data-link-type=\"element\" href=\"https://www.w3.org/TR/html-ruby-extensions/#elementdef-rtc\" id=\"ref-for-elementdef-rtc③⑤\">rtc</a></code> for additional levels of annotations,\n\t\t\t\t\tsince it does not allow pairing individual annotations in the outer ruby\n\t\t\t\t\twith individual bases in the inner ruby.\n\t\t\t\t\tThe <a href=\"https://www.w3.org/TR/html-ruby-extensions/#ruby-rtc-ex\">example about “上手”</a> can therefore be realized using <code><a data-link-type=\"element\" href=\"https://www.w3.org/TR/html-ruby-extensions/#elementdef-rtc\" id=\"ref-for-elementdef-rtc③⑥\">rtc</a></code> but could not be with nested ruby. \n <p>Nested ruby as defined in the <a data-biblio-display=\"inline\" data-link-type=\"biblio\" href=\"https://html.spec.whatwg.org/multipage/\"><cite>HTML Standard</cite></a> also does not have interoperable implementations\n\t\t\t\t\tbeyond the ordinary semantics of nesting,\n\t\t\t\t\tand is at odds with the layout model of <a data-biblio-display=\"inline\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/css-ruby-1/\"><cite>CSS Ruby Annotation Layout Module Level 1</cite></a>.</p>\n </li></ul>"
}
]
}
]
}
25 changes: 23 additions & 2 deletions tr/algorithms/trusted-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,27 @@
{
"html": "<p>Let <var>result</var> be <code>\"Allowed\"</code>.</p>"
},
{
"html": "<p>Let <var>sample</var> be <var>source</var>.</p>"
},
{
"html": "If <var>sink</var> is <code>\"Function\"</code>, then:",
"rationale": "if",
"steps": [
{
"html": "<p>If <var>sample</var> starts with <code>\"function anonymous\"</code>, strip that from <var>sample</var>.</p>"
},
{
"html": "<p>Otherwise if <var>sample</var> starts with <code>\"async function anonymous\"</code>, strip that from <var>sample</var>.</p>"
},
{
"html": "<p>Otherwise if <var>sample</var> starts with <code>\"function* anonymous\"</code>, strip that from <var>sample</var>.</p>"
},
{
"html": "<p>Otherwise if <var>sample</var> starts with <code>\"async function* anonymous\"</code>, strip that from <var>sample</var>.</p>"
}
]
},
{
"html": "For each <var>policy</var> in <var>global</var>’s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/CSP3/#global-object-csp-list\" id=\"ref-for-global-object-csp-list①\">CSP list</a>:",
"rationale": "if",
Expand All @@ -485,10 +506,10 @@
"html": "<p>Set <var>violation</var>’s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/CSP3/#violation-resource\" id=\"ref-for-violation-resource\">resource</a> to <code>\"trusted-types-sink\"</code>.</p>"
},
{
"html": "<p>Let <var>trimmedSource</var> be the substring of <var>source</var>, containing its first 40 characters.</p>"
"html": "<p>Let <var>trimmedSample</var> be the substring of <var>sample</var>, containing its first 40 characters.</p>"
},
{
"html": "<p>Set <var>violation</var>’s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/CSP3/#violation-sample\" id=\"ref-for-violation-sample\">sample</a> to be the result of <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#string-concatenate\" id=\"ref-for-string-concatenate\">concatenating</a> the list « <var>sink</var>, <var>trimmedSource</var> « using <code>\"|\"</code> as a <var>separator</var>.</p>"
"html": "<p>Set <var>violation</var>’s <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/CSP3/#violation-sample\" id=\"ref-for-violation-sample\">sample</a> to be the result of <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#string-concatenate\" id=\"ref-for-string-concatenate\">concatenating</a> the list « <var>sink</var>, <var>trimmedSample</var> « using <code>\"|\"</code> as a separator.</p>"
},
{
"html": "<p>Execute <a href=\"https://www.w3.org/TR/CSP3/#report-violation\">Report a violation</a> on <var>violation</var>.</p>"
Expand Down
Loading

0 comments on commit 6241b1a

Please sign in to comment.