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 18.1.2.
  • Loading branch information
reffy-bot committed Dec 21, 2024
1 parent 5734264 commit 5999e66
Show file tree
Hide file tree
Showing 26 changed files with 5,912 additions and 1,867 deletions.
32 changes: 32 additions & 0 deletions tr/algorithms/css-color-hdr-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"spec": {
"title": "CSS Color HDR Module Level 1",
"url": "https://www.w3.org/TR/css-color-hdr-1/"
},
"algorithms": [
{
"html": "If the specified value is <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-color-hdr-1/#funcdef-dynamic-range-limit-mix\" id=\"ref-for-funcdef-dynamic-range-limit-mix③\">dynamic-range-limit-mix()</a>, then the computed value is determined by the following algorithm:",
"rationale": "let",
"steps": [
{
"html": "<p>Let <var>v1</var>, ..., <var>vN</var> be the computed values for the parameters to be mixed.</p>"
},
{
"html": "<p>Let <var>p1</var>, ..., <var>pN</var> be the mixing percentages, normalized to sum to 100%.</p>"
},
{
"html": "<p>Define the contributing percentages as:</p>\n <ul>\n <li data-md=\"\">\n <p>Let <var>p1_standard</var>,...,<var>pN_standard</var> be the percentages for <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-color-hdr-1/#valdef-dynamic-range-limit-standard\" id=\"ref-for-valdef-dynamic-range-limit-standard①\">standard</a> in <var>v1</var>,...,<var>vN</var></p>\n </li><li data-md=\"\">\n <p>Let <var>p1_constrained_high</var>,...,<var>pN_constrained_high</var> be the percentages for <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-color-hdr-1/#valdef-dynamic-range-limit-constrained-high\" id=\"ref-for-valdef-dynamic-range-limit-constrained-high①\">constrained-high</a> in <var>v1</var>,...,<var>vN</var></p>\n </li><li data-md=\"\">\n <p>Let <var>p1_high</var>,...,<var>pN_high</var> be the percentages for <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-color-hdr-1/#valdef-dynamic-range-limit-high\" id=\"ref-for-valdef-dynamic-range-limit-high①\">high</a> in <var>v1</var>,...,<var>vN</var></p>\n </li></ul>"
},
{
"html": "<p>Compute the weighted sums as:</p>\n <ul>\n <li data-md=\"\">\n <p><var>p_standard</var>=(<var>p1_standard</var>*<var>p1</var>+...+<var>pN_standard</var>*<var>pN</var>)/100.</p>\n </li><li data-md=\"\">\n <p><var>p_constrained_high</var>=(<var>p1_constrained_high</var>*<var>p1</var>+...+<var>pN_constrained_high</var>*<var>pN</var>)/100.</p>\n </li><li data-md=\"\">\n <p><var>p_high</var>=(<var>p1_high</var>*<var>p1</var>+...+<var>pN_high</var>*<var>pN</var>)/100.</p>\n </li></ul>"
},
{
"html": "<p>If <var>p_standard</var>, <var>p_constrained_high</var>, or <var>p_high</var> equals 100%, then the computed value is <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-color-hdr-1/#valdef-dynamic-range-limit-standard\" id=\"ref-for-valdef-dynamic-range-limit-standard②\">standard</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-color-hdr-1/#valdef-dynamic-range-limit-constrained-high\" id=\"ref-for-valdef-dynamic-range-limit-constrained-high②\">constrained-high</a>, or <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-color-hdr-1/#valdef-dynamic-range-limit-high\" id=\"ref-for-valdef-dynamic-range-limit-high②\">high</a>, respectively.</p>"
},
{
"html": "<p>Otherwise, the computed value is <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-color-hdr-1/#funcdef-dynamic-range-limit-mix\" id=\"ref-for-funcdef-dynamic-range-limit-mix④\">dynamic-range-limit-mix()</a>, with parameters <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-color-hdr-1/#valdef-dynamic-range-limit-standard\" id=\"ref-for-valdef-dynamic-range-limit-standard③\">standard</a>, <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-color-hdr-1/#valdef-dynamic-range-limit-constrained-high\" id=\"ref-for-valdef-dynamic-range-limit-constrained-high③\">constrained-high</a>, and <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-color-hdr-1/#valdef-dynamic-range-limit-high\" id=\"ref-for-valdef-dynamic-range-limit-high③\">high</a>, in that order, and percentages <var>p_standard</var>, <var>p_constrained_high</var>, and <var>p_high</var>, omitting parameters with a percentage equal to 0%.</p>"
}
]
}
]
}
109 changes: 109 additions & 0 deletions tr/algorithms/css-overflow-5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
{
"spec": {
"title": "CSS Overflow Module Level 5",
"url": "https://www.w3.org/TR/css-overflow-5/"
},
"algorithms": [
{
"name": "update active marker",
"html": "Whenever the UA determines that a new marker is the <var>active marker</var> for a <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/css-overflow-5/#scroll-marker-group\" id=\"ref-for-scroll-marker-group⑥\">scroll marker group</a> <var>group</var> it must run the following steps:",
"rationale": ".algorithm",
"steps": [
{
"html": "<p>Set the active state of <var>active marker</var> to true.</p>"
},
{
"html": "<dl>\n <dt data-md=\"\">\n <p>If <var>active marker</var> was the <a href=\"https://open-ui.org/components/focusgroup.explainer/#last-focused-memory\">last-focused element</a> of the <var>group</var>,</p>\n </dt><dd data-md=\"\">\n <p>Focus <var>active marker</var></p>\n </dd></dl>"
},
{
"html": "<p>Set the <a href=\"https://open-ui.org/components/focusgroup.explainer/#last-focused-memory\">last-focused element</a> of the <var>group</var> to <var>active marker</var>.</p>"
},
{
"html": "<p>Set the active state of all other <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/css-overflow-5/#scroll-marker\" id=\"ref-for-scroll-marker①①\">scroll marker</a> elements in <var>group</var> to false.</p>"
}
]
},
{
"name": "scrollTargetElement activation",
"html": "When a <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/css-overflow-5/#scroll-marker\" id=\"ref-for-scroll-marker①②\">scroll marker</a> with a non-null <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/css-overflow-5/#scroll-target\" id=\"ref-for-scroll-target⑦\">scroll target</a> is activated by explicit invocation or arrow key focus:",
"rationale": ".algorithm",
"steps": [
{
"html": "<p>Let <var>element</var> be the <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/css-overflow-5/#scroll-target\" id=\"ref-for-scroll-target⑧\">scroll target</a> of the control.</p>"
},
{
"html": "<p>Let <var>block</var> be \"<code>start</code>\".</p>"
},
{
"html": "<p>Let <var>inline</var> be \"<code>start</code>\".</p>"
},
{
"html": "<p><a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/cssom-view-1/#scroll-a-target-into-view\" id=\"ref-for-scroll-a-target-into-view①\">Scroll the <var>element</var> into view</a> with <var>block</var> and <var>inline</var>.</p>"
},
{
"html": "<dl>\n <dt data-md=\"\">If the activation was triggered by invocation\n </dt><dd data-md=\"\">\n \n \n </dd></dl>",
"ignored": [
"Follow the hyperlink updating the URL, however retain focus on the marker element."
]
}
]
},
{
"html": "The computed value of the <a class=\"property css\" data-link-type=\"property\" href=\"https://www.w3.org/TR/css-overflow-4/#propdef-continue\" id=\"ref-for-propdef-continue⑥\">continue</a> for a given element or pseudo element is determined as follow:",
"rationale": "/^otherwise(\\,| )/i",
"steps": [
{
"html": "<p>On elements or pseudo elements with <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/css-contain-2/#layout-containment\" id=\"ref-for-layout-containment\">layout containment</a> (see <a data-link-type=\"biblio\" href=\"https://www.w3.org/TR/css-overflow-5/#biblio-css-contain-1\" title=\"CSS Containment Module Level 1\">[CSS-CONTAIN-1]</a>),\nif the specified value is <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-overflow-4/#valdef-continue-auto\" id=\"ref-for-valdef-continue-auto②\">auto</a> or <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-overflow-5/#valdef-continue-fragments\" id=\"ref-for-valdef-continue-fragments\">fragments</a> then the computed value is <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-overflow-5/#valdef-continue-overflow\" id=\"ref-for-valdef-continue-overflow\">overflow</a>.</p>"
},
{
"html": "Otherwise, if the specified value is <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-overflow-4/#valdef-continue-auto\" id=\"ref-for-valdef-continue-auto③\">auto</a>",
"rationale": "/^otherwise(\\,| )/i",
"steps": [
{
"html": "<p>On a <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/css-regions-1/#css-region\" id=\"ref-for-css-region①\">CSS Region</a> other than the last one in a <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/css-regions-1/#region-chain\" id=\"ref-for-region-chain①\">region chain</a>,\nthe computed value is <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-overflow-4/#valdef-continue-auto\" id=\"ref-for-valdef-continue-auto④\">auto</a></p>"
},
{
"html": "<p>On a page\nthe computed value is <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-overflow-5/#valdef-continue-paginate\" id=\"ref-for-valdef-continue-paginate\">paginate</a></p>"
},
{
"html": "<p>On a <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/css-overflow-5/#fragment-box\" id=\"ref-for-fragment-box\">fragment box</a> the computed value is <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-overflow-5/#valdef-continue-fragments\" id=\"ref-for-valdef-continue-fragments①\">fragments</a></p>"
},
{
"html": "<p>Otherwise, the computed value is <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-overflow-5/#valdef-continue-overflow\" id=\"ref-for-valdef-continue-overflow①\">overflow</a></p>"
}
]
},
{
"html": "Otherwise, if the specified value is <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-overflow-5/#valdef-continue-fragments\" id=\"ref-for-valdef-continue-fragments②\">fragments</a>",
"rationale": "/^otherwise(\\,| )/i",
"steps": [
{
"html": "<p>On a page\nthe computed value is <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-overflow-5/#valdef-continue-paginate\" id=\"ref-for-valdef-continue-paginate①\">paginate</a></p>"
},
{
"html": "<p>Otherwise, the computed value is the specified value</p>"
}
]
},
{
"html": "<p>In all other cases, the computed value is the specified value</p>"
}
]
},
{
"html": "To be more precise,\n\t\twhen a rule’s selector has <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-overflow-5/#selectordef-nth-fragment\" id=\"ref-for-selectordef-nth-fragment①③\">::nth-fragment()</a> pseudo-elements\n\t\tattached to parts of the selector other than the subject,\n\t\tthe declarations in that rule apply to\n\t\ta fragment (or pseudo-element thereof) when:",
"rationale": "for",
"steps": [
{
"html": "<p>the declarations are for properties that apply to the <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-pseudo-4/#selectordef-first-letter\" id=\"ref-for-selectordef-first-letter③\">::first-letter</a> pseudo-element,</p>"
},
{
"html": "<p>the declarations would apply to\nthat fragment (or pseudo-element thereof)\nhad those <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-overflow-5/#selectordef-nth-fragment\" id=\"ref-for-selectordef-nth-fragment①④\">::nth-fragment()</a> pseudo-elements been removed,\nwith a particular association between\neach sequence of simple selectors and the element it matched,\nand</p>"
},
{
"html": "<p>for each removed <a class=\"css\" data-link-type=\"maybe\" href=\"https://www.w3.org/TR/css-overflow-5/#selectordef-nth-fragment\" id=\"ref-for-selectordef-nth-fragment①⑤\">::nth-fragment()</a> pseudo-element,\nthe fragment lives within a <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/css-overflow-5/#fragment-box\" id=\"ref-for-fragment-box②⓪\">fragment box</a> of the element associated in that association\nwith the selector that the pseudo-element was attached to,\nand whose index matches the pseudo-element.</p>"
}
]
}
]
}
Loading

0 comments on commit 5999e66

Please sign in to comment.