Skip to content

Commit

Permalink
Publish curated data from 19c641d
Browse files Browse the repository at this point in the history
Curated data generated from raw data at 19c641d
  • Loading branch information
curation-bot committed Dec 4, 2024
1 parent 46de985 commit 1bfd505
Show file tree
Hide file tree
Showing 22 changed files with 543 additions and 408 deletions.
57 changes: 50 additions & 7 deletions ed/algorithms/FileAPI.json
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,26 @@
}
]
},
{
"name": "obtainBlobObject",
"href": "https://w3c.github.io/FileAPI/#blob-url-obtain-object",
"html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-export=\"\" id=\"blob-url-obtain-object\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">obtain a blob object</dfn> given a <a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#blob-url-entry\" id=\"ref-for-blob-url-entry②\">blob URL entry</a> <var>blobUrlEntry</var> and an <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object\" id=\"ref-for-environment-settings-object①\">environment settings object</a> or the string \"<code>navigation</code>\" <var>environment</var>,\nperform the following steps. They return an <a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#blob-url-entry-object\" id=\"ref-for-blob-url-entry-object①\">object</a>.",
"rationale": ".algorithm",
"steps": [
{
"html": "<p>Let <var>isAuthorized</var> be true.</p>"
},
{
"html": "<p>If <var>environment</var> is not the string \"<code>navigation</code>\", then set <var>isAuthorized</var> to the result of <a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#check-for-same-partition-blob-url-usage\" id=\"ref-for-check-for-same-partition-blob-url-usage\">checking for same-partition blob URL usage</a> with <var>blobUrlEntry</var> and <var>environment</var>.</p>"
},
{
"html": "<p>If <var>isAuthorized</var> is false, then return failure.</p>"
},
{
"html": "<p>Return <var>blobUrlEntry</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#blob-url-entry-object\" id=\"ref-for-blob-url-entry-object②\">object</a>.</p>"
}
]
},
{
"name": "createBlobURL",
"href": "https://w3c.github.io/FileAPI/#unicodeBlobURL",
Expand Down Expand Up @@ -810,7 +830,7 @@
"html": "<p>Let <var>url</var> be the result of <a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#unicodeBlobURL\" id=\"ref-for-unicodeBlobURL\">generating a new blob URL</a>.</p>"
},
{
"html": "<p>Let <var>entry</var> be a new <a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#blob-url-entry\" id=\"ref-for-blob-url-entry\">blob URL entry</a> consisting of <var>object</var> and the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object\" id=\"ref-for-current-settings-object①\">current settings object</a>.</p>"
"html": "<p>Let <var>entry</var> be a new <a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#blob-url-entry\" id=\"ref-for-blob-url-entry\">blob URL entry</a> consisting of <var>object</var> and the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object\" id=\"ref-for-current-settings-object①\">current settings object</a>.</p>"
},
{
"html": "<p><a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#map-set\" id=\"ref-for-map-set\">Set</a> <var>store</var>[<var>url</var>] to <var>entry</var>.</p>"
Expand Down Expand Up @@ -857,6 +877,26 @@
}
]
},
{
"name": "checkForSamePartitionBlobUrlUsage",
"href": "https://w3c.github.io/FileAPI/#check-for-same-partition-blob-url-usage",
"html": "To <dfn class=\"dfn-paneled has-dfn-panel\" data-dfn-type=\"dfn\" data-noexport=\"\" id=\"check-for-same-partition-blob-url-usage\" role=\"button\" aria-expanded=\"false\" tabindex=\"0\">check for same-partition blob URL usage</dfn> given a <a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#blob-url-entry\" id=\"ref-for-blob-url-entry④\">blob URL entry</a> <var>blobUrlEntry</var> and an <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object\" id=\"ref-for-environment-settings-object②\">environment settings object</a> <var>environment</var>, perform the following steps. They return a boolean.",
"rationale": ".algorithm",
"steps": [
{
"html": "<p>Let <var>blobStorageKey</var> be the result of <a data-link-type=\"dfn\" href=\"https://storage.spec.whatwg.org/#obtain-a-storage-key-for-non-storage-purposes\" id=\"ref-for-obtain-a-storage-key-for-non-storage-purposes\">obtaining a storage key for non-storage purposes</a> with <var>blobUrlEntry</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#blob-url-entry-environment\" id=\"ref-for-blob-url-entry-environment\">environment</a>.</p>"
},
{
"html": "<p>Let <var>environmentStorageKey</var> be the result of <a data-link-type=\"dfn\" href=\"https://storage.spec.whatwg.org/#obtain-a-storage-key-for-non-storage-purposes\" id=\"ref-for-obtain-a-storage-key-for-non-storage-purposes①\">obtaining a storage key for non-storage purposes</a> with <var>environment</var>.</p>"
},
{
"html": "<p>If <var>blobStorageKey</var> is not <a data-link-type=\"dfn\" href=\"https://storage.spec.whatwg.org/#storage-key-equal\" id=\"ref-for-storage-key-equal\">equal</a> to <var>environmentStorageKey</var>, then return false.</p>"
},
{
"html": "<p>Return true.</p>"
}
]
},
{
"html": "This specification extends the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/document-lifecycle.html#unloading-document-cleanup-steps\" id=\"ref-for-unloading-document-cleanup-steps\">unloading document cleanup steps</a> with the following steps:",
"rationale": "let",
Expand All @@ -868,7 +908,7 @@
"html": "<p>Let <var>store</var> be the user agent’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#BlobURLStore\" id=\"ref-for-BlobURLStore⑥\">blob URL store</a>;</p>"
},
{
"html": "<p>Remove from <var>store</var> any entries for which the <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#map-value\" id=\"ref-for-map-value\">value</a>'s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#blob-url-entry-environment\" id=\"ref-for-blob-url-entry-environment\">environment</a> is equal to <var>environment</var>.</p>"
"html": "<p>Remove from <var>store</var> any entries for which the <a data-link-type=\"dfn\" href=\"https://infra.spec.whatwg.org/#map-value\" id=\"ref-for-map-value\">value</a>'s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#blob-url-entry-environment\" id=\"ref-for-blob-url-entry-environment\">environment</a> is equal to <var>environment</var>.</p>"
}
]
},
Expand All @@ -879,19 +919,22 @@
"rationale": ".algorithm",
"steps": [
{
"html": "<p>Let <var>url record</var> be the result of <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-parser\" id=\"ref-for-concept-url-parser①\">parsing</a> <var>url</var>.</p>"
"html": "<p>Let <var>urlRecord</var> be the result of <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-parser\" id=\"ref-for-concept-url-parser①\">parsing</a> <var>url</var>.</p>"
},
{
"html": "<p>If <var>urlRecord</var>’s <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-scheme\" id=\"ref-for-concept-url-scheme③\">scheme</a> is not \"<code>blob</code>\", return.</p>"
},
{
"html": "<p>If <var>url record</var>’s <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-scheme\" id=\"ref-for-concept-url-scheme③\">scheme</a> is not \"<code>blob</code>\", return.</p>"
"html": "<p>Let <var>entry</var> be <var>urlRecord</var>’s <a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#blob-url-entry\" id=\"ref-for-blob-url-entry⑤\">blob URL entry</a>.</p>"
},
{
"html": "<p>Let <var>origin</var> be the <a data-link-type=\"dfn\" href=\"https://url.spec.whatwg.org/#concept-url-origin\" id=\"ref-for-concept-url-origin\">origin</a> of <var>url record</var>.</p>"
"html": "<p>If <var>entry</var> is null, then return.</p>"
},
{
"html": "<p>Let <var>settings</var> be the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object\" id=\"ref-for-current-settings-object②\">current settings object</a>.</p>"
"html": "<p>Let <var>isAuthorized</var> be the result of <a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#check-for-same-partition-blob-url-usage\" id=\"ref-for-check-for-same-partition-blob-url-usage①\">checking for same-partition blob URL usage</a> with <var>entry</var> and the <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#current-settings-object\" id=\"ref-for-current-settings-object②\">current settings object</a>.</p>"
},
{
"html": "<p>If <var>origin</var> is not <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/browsers.html#same-origin\" id=\"ref-for-same-origin\">same origin</a> with <var>settings</var>’s <a data-link-type=\"dfn\" href=\"https://html.spec.whatwg.org/multipage/webappapis.html#concept-settings-object-origin\" id=\"ref-for-concept-settings-object-origin①\">origin</a>, return.</p>"
"html": "<p>If <var>isAuthorized</var> is false, then return.</p>"
},
{
"html": "<p><a data-link-type=\"dfn\" href=\"https://w3c.github.io/FileAPI/#removeTheEntry\" id=\"ref-for-removeTheEntry\">Remove an entry from the Blob URL Store</a> for <var>url</var>.</p>"
Expand Down
2 changes: 1 addition & 1 deletion ed/algorithms/css-flexbox-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"html": "Otherwise,\n\t\t\t\t\tif the used <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#flex-flex-basis\" id=\"ref-for-flex-flex-basis⑥\">flex basis</a> is <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-flexbox-1/#valdef-flex-basis-content\" id=\"ref-for-valdef-flex-basis-content⑧\">content</a> or depends on its <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#available\" id=\"ref-for-available②\">available space</a>,\n\t\t\t\t\tthe available main size is infinite,\n\t\t\t\t\tand the flex item’s inline axis is parallel to the main axis,\n\t\t\t\t\tlay the item out using <a href=\"https://www.w3.org/TR/css3-writing-modes/#orthogonal-flows\">the rules for a box in an orthogonal flow</a> <a data-link-type=\"biblio\" href=\"https://drafts.csswg.org/css-flexbox-1/#biblio-css3-writing-modes\" title=\"CSS Writing Modes Level 3\">[CSS3-WRITING-MODES]</a>.\n\t\t\t\t\tThe <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#flex-base-size\" id=\"ref-for-flex-base-size④\">flex base size</a> is the item’s max-content <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#main-size\" id=\"ref-for-main-size①①\">main size</a>."
},
{
"html": "Otherwise,\n\t\t\t\t\tsize the item into the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#available\" id=\"ref-for-available③\">available space</a> using its used <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#flex-flex-basis\" id=\"ref-for-flex-flex-basis⑦\">flex basis</a> in place of its <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#main-size\" id=\"ref-for-main-size①②\">main size</a>,\n\t\t\t\t\ttreating a value of <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-flexbox-1/#valdef-flex-basis-content\" id=\"ref-for-valdef-flex-basis-content⑨\">content</a> as <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-sizing-3/#valdef-width-max-content\" id=\"ref-for-valdef-width-max-content\">max-content</a>.\n\t\t\t\t\tIf a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#cross-size\" id=\"ref-for-cross-size①②\">cross size</a> is needed to determine the <span id=\"ref-for-main-size①③\">main size</span> (e.g. when the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#flex-item\" id=\"ref-for-flex-item⑨③\">flex item</a>’s <span id=\"ref-for-main-size①④\">main size</span> is in its block axis,\n\t\t\t\t\tor when it has a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-4/#preferred-aspect-ratio\" id=\"ref-for-preferred-aspect-ratio④\">preferred aspect ratio</a>)\n\t\t\t\t\tand the <span id=\"ref-for-flex-item⑨④\">flex item</span>’s cross size is <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-flexbox-1/#valdef-flex-basis-auto\" id=\"ref-for-valdef-flex-basis-auto③\">auto</a> and not <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#definite\" id=\"ref-for-definite①⓪\">definite</a>,\n\t\t\t\t\tin this calculation use <span class=\"css\">fit-content</span> as the <span id=\"ref-for-flex-item⑨⑤\">flex item</span>’s <span id=\"ref-for-cross-size①③\">cross size</span>.\n\t\t\t\t\tThe <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#flex-base-size\" id=\"ref-for-flex-base-size⑤\">flex base size</a> is the item’s resulting <span id=\"ref-for-main-size①⑤\">main size</span>."
"html": "Otherwise,\n\t\t\t\t\tsize the item into the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#available\" id=\"ref-for-available③\">available space</a> using its used <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#flex-flex-basis\" id=\"ref-for-flex-flex-basis⑦\">flex basis</a> in place of its <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#main-size\" id=\"ref-for-main-size①②\">main size</a>,\n\t\t\t\t\ttreating a value of <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-flexbox-1/#valdef-flex-basis-content\" id=\"ref-for-valdef-flex-basis-content⑨\">content</a> as <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-sizing-3/#valdef-width-max-content\" id=\"ref-for-valdef-width-max-content\">max-content</a>.\n\t\t\t\t\tIf a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#cross-size\" id=\"ref-for-cross-size①②\">cross size</a> is needed to determine the <span id=\"ref-for-main-size①③\">main size</span> (e.g. when the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#flex-item\" id=\"ref-for-flex-item⑨③\">flex item</a>’s <span id=\"ref-for-main-size①④\">main size</span> is in its block axis,\n\t\t\t\t\tor when it has a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-4/#preferred-aspect-ratio\" id=\"ref-for-preferred-aspect-ratio④\">preferred aspect ratio</a>)\n\t\t\t\t\tand the <span id=\"ref-for-flex-item⑨④\">flex item</span>’s cross size is <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-flexbox-1/#valdef-align-items-auto\" id=\"ref-for-valdef-align-items-auto①\">auto</a> and not <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#definite\" id=\"ref-for-definite①⓪\">definite</a>,\n\t\t\t\t\tin this calculation use <span class=\"css\">fit-content</span> as the <span id=\"ref-for-flex-item⑨⑤\">flex item</span>’s <span id=\"ref-for-cross-size①③\">cross size</span>.\n\t\t\t\t\tThe <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#flex-base-size\" id=\"ref-for-flex-base-size⑤\">flex base size</a> is the item’s resulting <span id=\"ref-for-main-size①⑤\">main size</span>."
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion ed/algorithms/css-fonts-4.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
]
},
{
"html": "If the value of <a class=\"property css\" data-link-type=\"property\" href=\"https://drafts.csswg.org/css-fonts-4/#propdef-font-style\" id=\"ref-for-propdef-font-style②②\">font-style</a> is <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-fonts-4/#valdef-font-style-normal\" id=\"ref-for-valdef-font-style-normal\">normal</a>,",
"html": "If the value of <a class=\"property css\" data-link-type=\"property\" href=\"https://drafts.csswg.org/css-fonts-4/#propdef-font-style\" id=\"ref-for-propdef-font-style②②\">font-style</a> is <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-fonts-4/#valdef-font-style-normal\" id=\"ref-for-valdef-font-style-normal\">normal</a>,",
"rationale": "if",
"steps": [
{
Expand Down
Loading

0 comments on commit 1bfd505

Please sign in to comment.