Skip to content

Commit

Permalink
Update of ED report from new reffy run
Browse files Browse the repository at this point in the history
Using reffy commit 18.3.0.
  • Loading branch information
reffy-bot committed Jan 31, 2025
1 parent a18dd7a commit ff19230
Show file tree
Hide file tree
Showing 48 changed files with 4,321 additions and 826 deletions.
40 changes: 40 additions & 0 deletions ed/algorithms/css-borders-4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"spec": {
"title": "CSS Borders and Box Decorations Module Level 4",
"url": "https://drafts.csswg.org/css-borders-4/"
},
"algorithms": [
{
"name": "superellipse-exponent-to-interpolation-value",
"html": "To interpolate a <a class=\"production css\" data-link-type=\"type\" href=\"https://drafts.csswg.org/css-values-4/#number-value\" id=\"ref-for-number-value②\">&lt;number [0,∞]&gt;</a> <var>exponent</var> to an interpolation value between 0 and 1:",
"rationale": ".algorithm",
"steps": [
{
"html": "<p>If <var>exponent</var> is 0, return 0.</p>"
},
{
"html": "<p>If <var>exponent</var> is ∞, return 1.</p>"
},
{
"html": "<p>Return <code>1/(2^(1/<var>exponent</var>))</code>.</p>"
}
]
},
{
"name": "superellipse-exponent-to-interpolation-value",
"html": "To convert a <a class=\"production css\" data-link-type=\"type\" href=\"https://drafts.csswg.org/css-values-4/#number-value\" id=\"ref-for-number-value③\">&lt;number [0,1]&gt;</a> <var>interpolationValue</var> back to a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-borders-4/#superellipse-exponent\" id=\"ref-for-superellipse-exponent⑤\">superellipse exponent</a>:",
"rationale": "if",
"steps": [
{
"html": "<p>If <var>interpolationValue</var> is 0, return 0.</p>"
},
{
"html": "<p>If <var>interpolationValue</var> is 1, return ∞.</p>"
},
{
"html": "<p>Return <code>ln(0.5)/ln(<var>interpolationValue</var>)</code>.</p>"
}
]
}
]
}
2 changes: 1 addition & 1 deletion ed/algorithms/css-env-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"rationale": ".algorithm",
"steps": [
{
"html": "<p>If the name provided by the first argument of the <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-env-1/#funcdef-env\" id=\"ref-for-funcdef-env①②\">env()</a> function\nis a recognized <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-env-1/#css-environment-variable\" id=\"ref-for-css-environment-variable①⑨\">environment variable</a> name, the number of supplied integers\nmatches the number of dimensions of the <span id=\"ref-for-css-environment-variable②\">environment variable</span> referenced\nby that name, and values of the indices correspond to a known sub-value,\nreplace the <span class=\"css\" id=\"ref-for-funcdef-env①③\">env()</span> function by the value of the named <span id=\"ref-for-css-environment-variable②\">environment variable</span>.</p>"
"html": "<p>If the name provided by the first argument of the <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-env-1/#funcdef-env\" id=\"ref-for-funcdef-env①②\">env()</a> function\nis a recognized <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-env-1/#css-environment-variable\" id=\"ref-for-css-environment-variable②⓪\">environment variable</a> name, the number of supplied integers\nmatches the number of dimensions of the <span id=\"ref-for-css-environment-variable②\">environment variable</span> referenced\nby that name, and values of the indices correspond to a known sub-value,\nreplace the <span class=\"css\" id=\"ref-for-funcdef-env①③\">env()</span> function by the value of the named <span id=\"ref-for-css-environment-variable②\">environment variable</span>.</p>"
},
{
"html": "<p>Otherwise, if the <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-env-1/#funcdef-env\" id=\"ref-for-funcdef-env①④\">env()</a> function has a fallback value as its second argument,\nreplace the <span class=\"css\" id=\"ref-for-funcdef-env①⑤\">env()</span> function by the fallback value.\nIf there are any <span class=\"css\" id=\"ref-for-funcdef-env①⑥\">env()</span> references in the fallback, <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-env-1/#substitute-an-env\" id=\"ref-for-substitute-an-env②\">substitute</a> them as well.</p>"
Expand Down
14 changes: 7 additions & 7 deletions ed/algorithms/css-grid-1.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions ed/algorithms/css-grid-2.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ed/algorithms/css-highlight-api-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"html": "<p>If any of the following are true, return the empty <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#idl-sequence\" id=\"ref-for-idl-sequence⑥\">sequence</a>:</p>\n <ul>\n <li data-md=\"\">\n <p><var>x</var> is negative</p>\n </li><li data-md=\"\">\n <p><var>y</var> is negative</p>\n </li><li data-md=\"\">\n <p><var>x</var> is greater than the <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/CSS21/visuren.html#x1\" id=\"ref-for-x1\">viewport</a> width excluding the size of a rendered scroll bar (if any)</p>\n </li><li data-md=\"\">\n <p><var>y</var> is greater than the <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/CSS21/visuren.html#x1\" id=\"ref-for-x1①\">viewport</a> height excluding the size of a rendered scroll bar (if any)</p>\n </li></ul>"
},
{
"html": "<p>Otherwise, return a <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#idl-sequence\" id=\"ref-for-idl-sequence⑦\">sequence</a> of <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-highlight-api-1/#custom-highlight\" id=\"ref-for-custom-highlight③⑨\">custom highlights</a> given by ordering the highlights contained in this <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://www.w3.org/TR/css-highlight-api-1/#highlightregistry\" id=\"ref-for-highlightregistry\">HighlightRegistry</a></code> in descending order of <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-highlight-api-1/#priority\" id=\"ref-for-priority④\">priority</a>,\nexcluding the highlights without at least one <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-range\" id=\"ref-for-concept-range①③\">range</a> <var>range</var> that satisfies the following constraints:</p>",
"html": "<p>Otherwise, return a <a data-link-type=\"dfn\" href=\"https://webidl.spec.whatwg.org/#idl-sequence\" id=\"ref-for-idl-sequence⑦\">sequence</a> of <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-highlight-api-1/#custom-highlight\" id=\"ref-for-custom-highlight③⑨\">custom highlights</a> given by ordering the highlights contained in this <code class=\"idl\"><a data-link-type=\"idl\" href=\"https://drafts.csswg.org/css-highlight-api-1/#highlightregistry\" id=\"ref-for-highlightregistry\">HighlightRegistry</a></code> in descending order of <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-highlight-api-1/#priority\" id=\"ref-for-priority④\">priority</a>,\nexcluding the highlights without at least one <a data-link-type=\"dfn\" href=\"https://dom.spec.whatwg.org/#concept-range\" id=\"ref-for-concept-range①③\">range</a> <var>range</var> that satisfies the following constraints:</p>",
"ignored": [
"The coordinates x,y fall inside at least one of the DOMRects returned by calling getClientRects() on range. The range’s commonAncestorContainer is not in a shadow tree or is in a shadow tree whose shadow root is contained by by options.shadowRoots."
]
Expand Down
Loading

0 comments on commit ff19230

Please sign in to comment.