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.1.
  • Loading branch information
reffy-bot committed Feb 13, 2025
1 parent 360186d commit ad9e2bd
Show file tree
Hide file tree
Showing 41 changed files with 915 additions and 1,017 deletions.
2 changes: 1 addition & 1 deletion ed/algorithms/CSS22.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"spec": {
"title": "CSS 2",
"title": "Cascading Style Sheets (CSS) Level 2",
"url": "https://drafts.csswg.org/css2/"
},
"algorithms": [
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.

23 changes: 16 additions & 7 deletions ed/algorithms/mediacapture-surface-control.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@
]
},
{
"name": "CaptureController/getZoomLevel()",
"href": "https://w3c.github.io/mediacapture-surface-control/#dom-capturecontroller-getzoomlevel",
"html": "When invoked, the user agent <em class=\"rfc2119\">MUST</em> run the following steps:",
"name": "CaptureController/onzoomlevelchange",
"href": "https://w3c.github.io/mediacapture-surface-control/#dom-capturecontroller-onzoomlevelchange",
"html": "Whenever <a data-link-type=\"dfn\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"this\" href=\"https://webidl.spec.whatwg.org/#this\">this</a>.<a data-cite=\"!screen-capture/#dfn-source\" href=\"https://www.w3.org/TR/screen-capture/#dfn-source\">[[Source]]</a>'s <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/mediacapture-surface-control/#dfn-zoom-level\" class=\"internalDFN\" id=\"ref-for-dfn-zoom-level-8\">zoom level</a> changes to <var>newZoomLevel</var>, the user agent <em class=\"rfc2119\">MUST</em> <a data-link-type=\"dfn\" data-cite=\"html\" data-cite-path=\"/webappapis.html\" data-cite-frag=\"queue-a-global-task\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-global-task\">queue a global task</a> on the\n <a data-link-type=\"dfn\" data-cite=\"html\" data-cite-path=\"/webappapis.html\" data-cite-frag=\"user-interaction-task-source\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#user-interaction-task-source\">user interaction task source</a> given the current realm's global object, which will\n run the following stpes:",
"rationale": "if",
"steps": [
{
"html": "If <a data-link-type=\"dfn\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"this\" href=\"https://webidl.spec.whatwg.org/#this\">this</a> is not <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/mediacapture-surface-control/#dfn-actively-capturing\" class=\"internalDFN\" id=\"ref-for-dfn-actively-capturing-2\">actively capturing</a>, <a data-link-type=\"dfn\" data-link-for=\"exception\" data-xref-for=\"exception\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"dfn-throw\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\">throw</a> an\n \"<a data-xref-type=\"_IDL_\" data-link-type=\"exception\" data-lt=\"InvalidStateError\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"invalidstateerror\" href=\"https://webidl.spec.whatwg.org/#invalidstateerror\"><code>InvalidStateError</code></a>\" <a data-xref-type=\"_IDL_\" data-link-type=\"interface\" data-lt=\"DOMException\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"idl-DOMException\" href=\"https://webidl.spec.whatwg.org/#idl-DOMException\"><code>DOMException</code></a>."
"html": "If <a data-link-type=\"dfn\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"this\" href=\"https://webidl.spec.whatwg.org/#this\">this</a> is not <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/mediacapture-surface-control/#dfn-actively-capturing\" class=\"internalDFN\" id=\"ref-for-dfn-actively-capturing-2\">actively capturing</a>, abort these steps."
},
{
"html": "If <a data-link-type=\"dfn\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"this\" href=\"https://webidl.spec.whatwg.org/#this\">this</a>.<a data-xref-type=\"attribute\" data-link-type=\"attribute\" data-link-for=\"CaptureController\" data-xref-for=\"CaptureController\" data-lt=\"[[DisplaySurfaceType]]\" data-cite=\"screen-capture\" data-cite-path=\"\" data-cite-frag=\"dfn-displaysurfacetype\" href=\"https://www.w3.org/TR/screen-capture/#dfn-displaysurfacetype\"><code>[[DisplaySurfaceType]]</code></a> is not a <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/mediacapture-surface-control/#dfn-supported-display-surface-type\" class=\"internalDFN\" id=\"ref-for-dfn-supported-display-surface-type-2\">supported display surface type</a>, <a data-link-type=\"dfn\" data-link-for=\"exception\" data-xref-for=\"exception\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"dfn-throw\" href=\"https://webidl.spec.whatwg.org/#dfn-throw\">throw</a> a \"<a data-xref-type=\"_IDL_\" data-link-type=\"exception\" data-lt=\"NotSupportedError\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"notsupportederror\" href=\"https://webidl.spec.whatwg.org/#notsupportederror\"><code>NotSupportedError</code></a>\"\n <a data-xref-type=\"_IDL_\" data-link-type=\"interface\" data-lt=\"DOMException\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"idl-DOMException\" href=\"https://webidl.spec.whatwg.org/#idl-DOMException\"><code>DOMException</code></a>."
"html": "Set <a data-link-type=\"dfn\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"this\" href=\"https://webidl.spec.whatwg.org/#this\">this</a>.<a data-xref-type=\"attribute\" data-link-type=\"attribute\" data-link-for=\"CaptureController\" data-xref-for=\"CaptureController\" data-lt=\"[[ZoomLevel]]\" href=\"https://w3c.github.io/mediacapture-surface-control/#dfn-zoomlevel\" class=\"internalDFN\" id=\"ref-for-dfn-zoomlevel-2\"><code>[[ZoomLevel]]</code></a> to <var>newZoomLevel</var>."
},
{
"html": "Return <a data-link-type=\"dfn\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"this\" href=\"https://webidl.spec.whatwg.org/#this\">this</a>.<a data-xref-type=\"attribute\" data-link-type=\"attribute\" data-link-for=\"CaptureController\" data-xref-for=\"CaptureController\" data-lt=\"[[Source]]\" data-cite=\"screen-capture\" data-cite-path=\"\" data-cite-frag=\"dfn-source\" href=\"https://www.w3.org/TR/screen-capture/#dfn-source\"><code>[[Source]]</code></a>'s <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/mediacapture-surface-control/#dfn-zoom-level\" class=\"internalDFN\" id=\"ref-for-dfn-zoom-level-5\">zoom level</a>."
"html": "<a data-link-type=\"dfn\" data-cite=\"dom\" data-cite-path=\"\" data-cite-frag=\"concept-event-fire\" href=\"https://dom.spec.whatwg.org/#concept-event-fire\">Fire an event</a> named <code>zoomlevelchange</code> at <a data-link-type=\"dfn\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"this\" href=\"https://webidl.spec.whatwg.org/#this\">this</a>."
}
]
},
Expand All @@ -57,7 +57,7 @@
"html": "Let <var>surfaceType</var> be <a data-link-type=\"dfn\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"this\" href=\"https://webidl.spec.whatwg.org/#this\">this</a>.<a data-xref-type=\"attribute\" data-link-type=\"attribute\" data-link-for=\"CaptureController\" data-xref-for=\"CaptureController\" data-lt=\"[[DisplaySurfaceType]]\" data-cite=\"screen-capture\" data-cite-path=\"\" data-cite-frag=\"dfn-displaysurfacetype\" href=\"https://www.w3.org/TR/screen-capture/#dfn-displaysurfacetype\"><code>[[DisplaySurfaceType]]</code></a>."
},
{
"html": "If <var>surfaceType</var> is not a <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/mediacapture-surface-control/#dfn-supported-display-surface-type\" class=\"internalDFN\" id=\"ref-for-dfn-supported-display-surface-type-3\">supported display surface type</a>, return a promise\n <a data-link-type=\"dfn\" data-lt=\"reject\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"reject\" href=\"https://webidl.spec.whatwg.org/#reject\">rejected</a> with a <a data-xref-type=\"_IDL_\" data-link-type=\"interface\" data-lt=\"DOMException\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"idl-DOMException\" href=\"https://webidl.spec.whatwg.org/#idl-DOMException\"><code>DOMException</code></a> object whose <a data-link-type=\"attribute\" data-xref-type=\"attribute|dict-member|const\" data-link-for=\"DOMException\" data-xref-for=\"DOMException\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"dom-domexception-name\" href=\"https://webidl.spec.whatwg.org/#dom-domexception-name\"><code>name</code></a>\n attribute has the value <a data-xref-type=\"_IDL_\" data-link-type=\"exception\" data-lt=\"NotSupportedError\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"notsupportederror\" href=\"https://webidl.spec.whatwg.org/#notsupportederror\"><code>NotSupportedError</code></a>."
"html": "If <var>surfaceType</var> is not a <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/mediacapture-surface-control/#dfn-supported-display-surface-type\" class=\"internalDFN\" id=\"ref-for-dfn-supported-display-surface-type-2\">supported display surface type</a>, return a promise\n <a data-link-type=\"dfn\" data-lt=\"reject\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"reject\" href=\"https://webidl.spec.whatwg.org/#reject\">rejected</a> with a <a data-xref-type=\"_IDL_\" data-link-type=\"interface\" data-lt=\"DOMException\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"idl-DOMException\" href=\"https://webidl.spec.whatwg.org/#idl-DOMException\"><code>DOMException</code></a> object whose <a data-link-type=\"attribute\" data-xref-type=\"attribute|dict-member|const\" data-link-for=\"DOMException\" data-xref-for=\"DOMException\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"dom-domexception-name\" href=\"https://webidl.spec.whatwg.org/#dom-domexception-name\"><code>name</code></a>\n attribute has the value <a data-xref-type=\"_IDL_\" data-link-type=\"exception\" data-lt=\"NotSupportedError\" data-cite=\"webidl\" data-cite-path=\"\" data-cite-frag=\"notsupportederror\" href=\"https://webidl.spec.whatwg.org/#notsupportederror\"><code>NotSupportedError</code></a>."
},
{
"html": "Let <var>element</var> be the method's first argument."
Expand Down Expand Up @@ -124,6 +124,15 @@
}
]
},
{
"html": "Recall that <var>p</var> is the promise which the algorithm returns. Immediately before the step\n which resolves it, add the following steps:",
"rationale": "if",
"steps": [
{
"html": "If <var>controller</var> is not <code>null</code> and <var>controller</var>.<a data-cite=\"screen-capture/#dfn-displaysurfacetype\" href=\"https://www.w3.org/TR/screen-capture/#dfn-displaysurfacetype\">[[DisplaySurfaceType]]</a>\n is a <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/mediacapture-surface-control/#dfn-supported-display-surface-type\" class=\"internalDFN\" id=\"ref-for-dfn-supported-display-surface-type-3\">supported display surface type</a>, then set\n <var>controller</var>.<a data-xref-type=\"attribute\" data-link-type=\"attribute\" data-link-for=\"CaptureController\" data-xref-for=\"CaptureController\" data-lt=\"[[ZoomLevel]]\" href=\"https://w3c.github.io/mediacapture-surface-control/#dfn-zoomlevel\" class=\"internalDFN\" id=\"ref-for-dfn-zoomlevel-3\"><code>[[ZoomLevel]]</code></a> to <var>controller</var>.<a data-cite=\"!screen-capture/#dfn-source\" href=\"https://www.w3.org/TR/screen-capture/#dfn-source\">[[Source]]</a>'s <a data-link-type=\"dfn|abstract-op\" href=\"https://w3c.github.io/mediacapture-surface-control/#dfn-zoom-level\" class=\"internalDFN\" id=\"ref-for-dfn-zoom-level-10\">zoom level</a>."
}
]
},
{
"name": "actively capturing",
"href": "https://w3c.github.io/mediacapture-surface-control/#dfn-actively-capturing",
Expand Down
Loading

0 comments on commit ad9e2bd

Please sign in to comment.