You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ed/algorithms/html.json
+26-15Lines changed: 26 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -15918,19 +15918,16 @@
15918
15918
"html": "<p>Render the shape or image onto an infinite <a id=\"drawing-model:transparent-black\" href=\"https://drafts.csswg.org/css-color/#transparent-black\" data-x-internal=\"transparent-black\">transparent black</a> bitmap, creating\n image <var>A</var>, as described in the previous sections. For shapes, the current fill, stroke,\n and line styles must be honored, and the stroke must itself also be subjected to the current\n transformation matrix.</p>"
15919
15919
},
15920
15920
{
15921
-
"html": "<p>When the <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-current-filter\" id=\"drawing-model:concept-canvas-current-filter\">current filter</a> is set to a\n value other than \"<code>none</code>\" and all the externally-defined filters it\n references, if any, are in documents that are currently loaded, then use image <var>A</var> as\n the input to the <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-current-filter\" id=\"drawing-model:concept-canvas-current-filter-2\">current filter</a>, creating\n image <var>B</var>. If the <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-current-filter\" id=\"drawing-model:concept-canvas-current-filter-3\">current filter</a>\n is a string parseable as a <a id=\"drawing-model:filter-value-list\" href=\"https://drafts.fxtf.org/filter-effects/#typedef-filter-value-list\" data-x-internal=\"filter-value-list\"><filter-value-list></a>, then draw using the <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-current-filter\" id=\"drawing-model:concept-canvas-current-filter-4\">current filter</a> in the same manner as SVG.</p>\n\n <p>Otherwise, let <var>B</var> be an alias for <var>A</var>.</p>"
15921
+
"html": "<p>Multiply the alpha component of every pixel in <var>A</var> by <code id=\"drawing-model:concept-canvas-global-alpha\"><a href=\"https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-global-alpha\">global alpha</a></code>.</p>"
15922
15922
},
15923
15923
{
15924
-
"html": "<p><a href=\"https://html.spec.whatwg.org/multipage/canvas.html#when-shadows-are-drawn\" id=\"drawing-model:when-shadows-are-drawn\">When shadows are drawn</a>, render the shadow from image <var>B</var>,\n using the current shadow styles, creating image <var>C</var>.</p>"
15925
-
},
15926
-
{
15927
-
"html": "<p><a href=\"https://html.spec.whatwg.org/multipage/canvas.html#when-shadows-are-drawn\" id=\"drawing-model:when-shadows-are-drawn-2\">When shadows are drawn</a>, multiply the alpha component of every pixel in\n <var>C</var> by <code id=\"drawing-model:concept-canvas-global-alpha\"><a href=\"https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-global-alpha\">global alpha</a></code>.</p>"
15924
+
"html": "<p>When the <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-current-filter\" id=\"drawing-model:concept-canvas-current-filter\">current filter</a> is set to a\n value other than \"<code>none</code>\" and all the externally-defined filters it\n references, if any, are in documents that are currently loaded, then use image <var>A</var> as\n the input to the <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-current-filter\" id=\"drawing-model:concept-canvas-current-filter-2\">current filter</a>, creating\n image <var>B</var>. If the <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-current-filter\" id=\"drawing-model:concept-canvas-current-filter-3\">current filter</a>\n is a string parseable as a <a id=\"drawing-model:filter-value-list\" href=\"https://drafts.fxtf.org/filter-effects/#typedef-filter-value-list\" data-x-internal=\"filter-value-list\"><filter-value-list></a>, then draw using the <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-current-filter\" id=\"drawing-model:concept-canvas-current-filter-4\">current filter</a> in the same manner as SVG.</p>\n\n <p>Otherwise, let <var>B</var> be an alias for <var>A</var>.</p>"
15928
15925
},
15929
15926
{
15930
-
"html": "<p><a href=\"https://html.spec.whatwg.org/multipage/canvas.html#when-shadows-are-drawn\" id=\"drawing-model:when-shadows-are-drawn-3\">When shadows are drawn</a>, composite <var>C</var> within the\n <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#clipping-region\" id=\"drawing-model:clipping-region\">clipping region</a> over the current <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#output-bitmap\" id=\"drawing-model:output-bitmap\">output bitmap</a> using the <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#current-compositing-and-blending-operator\" id=\"drawing-model:current-compositing-and-blending-operator\">current\n compositing and blending operator</a>.</p>"
15927
+
"html": "<p><a href=\"https://html.spec.whatwg.org/multipage/canvas.html#when-shadows-are-drawn\" id=\"drawing-model:when-shadows-are-drawn\">When shadows are drawn</a>, render the shadow from image <var>B</var>,\n using the current shadow styles, creating image <var>C</var>.</p>"
15931
15928
},
15932
15929
{
15933
-
"html": "<p>Multiply the alpha component of every pixel in <var>B</var> by <code id=\"drawing-model:concept-canvas-global-alpha-2\"><a href=\"https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-global-alpha\">global alpha</a></code>.</p>"
15930
+
"html": "<p><a href=\"https://html.spec.whatwg.org/multipage/canvas.html#when-shadows-are-drawn\" id=\"drawing-model:when-shadows-are-drawn-2\">When shadows are drawn</a>, composite <var>C</var> within the\n <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#clipping-region\" id=\"drawing-model:clipping-region\">clipping region</a> over the current <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#output-bitmap\" id=\"drawing-model:output-bitmap\">output bitmap</a> using the <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#current-compositing-and-blending-operator\" id=\"drawing-model:current-compositing-and-blending-operator\">current\n compositing and blending operator</a>.</p>"
15934
15931
},
15935
15932
{
15936
15933
"html": "<p>Composite <var>B</var> within the <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#clipping-region\" id=\"drawing-model:clipping-region-2\">clipping region</a> over the current\n <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#output-bitmap\" id=\"drawing-model:output-bitmap-2\">output bitmap</a> using the <a href=\"https://html.spec.whatwg.org/multipage/canvas.html#current-compositing-and-blending-operator\" id=\"drawing-model:current-compositing-and-blending-operator-2\">current compositing and blending\n operator</a>.</p>"
@@ -22152,7 +22149,7 @@
22152
22149
"html": "<p>Set <var>thisTraversable</var>'s <a id=\"apis-for-creating-and-navigating-browsing-contexts-by-name:is-closing-2\" href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#is-closing\">is closing</a> to true.</p>"
22153
22150
},
22154
22151
{
22155
-
"html": "<p><a id=\"apis-for-creating-and-navigating-browsing-contexts-by-name:queue-a-task\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task\">Queue a task</a> on the <a id=\"apis-for-creating-and-navigating-browsing-contexts-by-name:dom-manipulation-task-source\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#dom-manipulation-task-source\">DOM manipulation task source</a> to <a href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#close-a-top-level-traversable\" id=\"apis-for-creating-and-navigating-browsing-contexts-by-name:close-a-top-level-traversable\">close</a> <var>thisTraversable</var>.</p>"
22152
+
"html": "<p><a id=\"apis-for-creating-and-navigating-browsing-contexts-by-name:queue-a-task\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#queue-a-task\">Queue a task</a> on the <a id=\"apis-for-creating-and-navigating-browsing-contexts-by-name:dom-manipulation-task-source\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#dom-manipulation-task-source\">DOM manipulation task source</a> to <a href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#definitely-close-a-top-level-traversable\" id=\"apis-for-creating-and-navigating-browsing-contexts-by-name:definitely-close-a-top-level-traversable\">definitely close</a>\n <var>thisTraversable</var>.</p>"
"html": "To <dfn id=\"destroy-a-top-level-traversable\">destroy a top-level traversable</dfn> given a <a href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-traversable\" id=\"garbage-collection-and-browsing-contexts:top-level-traversable\">top-leveltraversable</a>\n <var>traversable</var>:",
25580
+
"html": "To <dfn id=\"destroy-a-top-level-traversable\">destroy</dfn> a <a href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-traversable\" id=\"garbage-collection-and-browsing-contexts:top-level-traversable\">top-level\n traversable</a> <var>traversable</var>:",
"html": "<p>If the result of <a id=\"garbage-collection-and-browsing-contexts:checking-if-unloading-is-canceled\" href=\"https://html.spec.whatwg.org/multipage/browsing-the-web.html#checking-if-unloading-is-canceled\">checking if unloading is canceled</a> for <var>toUnload</var> is\n true, then return.</p>"
25629
25637
},
25630
25638
{
25631
-
"html": "<a href=\"https://html.spec.whatwg.org/multipage/browsing-the-web.html#tn-append-session-history-traversal-steps\" id=\"garbage-collection-and-browsing-contexts:tn-append-session-history-traversal-steps-2\">Append the following session\n history traversal steps</a> to <var>traversable</var>:",
25639
+
"html": "<a href=\"https://html.spec.whatwg.org/multipage/browsing-the-web.html#tn-append-session-history-traversal-steps\" id=\"garbage-collection-and-browsing-contexts:tn-append-session-history-traversal-steps-2\">Append the following session history\n traversal steps</a> to <var>traversable</var>:",
25632
25640
"rationale": "let",
25633
25641
"steps": [
25634
25642
{
@@ -29552,10 +29560,13 @@
29552
29560
"steps": [
29553
29561
{
29554
29562
"html": "If <var>document</var> is not <a id=\"destroying-documents:fully-active\" href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#fully-active\">fully active</a>, then:",
29555
-
"rationale": "make",
29563
+
"rationale": "let",
29556
29564
"steps": [
29557
29565
{
29558
-
"html": "<p><a id=\"destroying-documents:make-document-unsalvageable\" href=\"https://html.spec.whatwg.org/multipage/browsing-the-web.html#make-document-unsalvageable\">Make document unsalvageable</a> given <var>document</var> and \"<code id=\"destroying-documents:blocking-masked\"><a href=\"https://html.spec.whatwg.org/multipage/nav-history-apis.html#blocking-masked\">masked</a></code>\".</p>"
29566
+
"html": "<p>Let <var>reason</var> be a string from <a href=\"https://html.spec.whatwg.org/multipage/nav-history-apis.html#ua-specific-blocking-reasons\" id=\"destroying-documents:ua-specific-blocking-reasons\">user-agent specific blocking reasons</a>. If none\n apply, then let <var>reason</var> be \"<code id=\"destroying-documents:blocking-masked\"><a href=\"https://html.spec.whatwg.org/multipage/nav-history-apis.html#blocking-masked\">masked</a></code>\".</p>"
29567
+
},
29568
+
{
29569
+
"html": "<p><a id=\"destroying-documents:make-document-unsalvageable\" href=\"https://html.spec.whatwg.org/multipage/browsing-the-web.html#make-document-unsalvageable\">Make document unsalvageable</a> given <var>document</var> and\n <var>reason</var>.</p>"
29559
29570
},
29560
29571
{
29561
29572
"html": "<p>If <var>document</var>'s <a id=\"destroying-documents:node-navigable-2\" href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#node-navigable\">node navigable</a> is a\n <a id=\"destroying-documents:top-level-traversable\" href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-traversable\">top-level traversable</a>,\n <a id=\"destroying-documents:build-not-restored-reasons-for-a-top-level-traversable-and-its-descendants\" href=\"https://html.spec.whatwg.org/multipage/browsing-the-web.html#build-not-restored-reasons-for-a-top-level-traversable-and-its-descendants\">build not restored reasons for a top-level traversable and its descendants</a>\n given <var>document</var>'s <a id=\"destroying-documents:node-navigable-3\" href=\"https://html.spec.whatwg.org/multipage/document-sequences.html#node-navigable\">node navigable</a>.</p>"
0 commit comments