Skip to content

Commit 18dd295

Browse files
author
curation-bot
committed
Publish curated data from 403bd89
Curated data generated from raw data at 403bd89
1 parent c59ae76 commit 18dd295

File tree

129 files changed

+5501
-5177
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+5501
-5177
lines changed

ed/algorithms/css-flexbox-1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"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>."
6969
},
7070
{
71-
"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>."
71+
"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>."
7272
}
7373
]
7474
},

ed/algorithms/css-grid-1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -394,17 +394,17 @@
394394
"rationale": "increase",
395395
"steps": [
396396
{
397-
"html": "<strong>Increase sizes to accommodate spanning items:</strong> Next, consider the items with a span of 2\n\t\t\t\t\tthat do not span a track with a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#flexible-sizing-function\" id=\"ref-for-flexible-sizing-function①⑨\">flexible sizing function</a>\n <ins>,\n\t\t\t\t\ttreating a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#min-track-sizing-function\" id=\"ref-for-min-track-sizing-function②②\">min track sizing function</a> of <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#grid-placement-auto\" id=\"ref-for-grid-placement-auto①①\">auto</a> as <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-min-content\" id=\"ref-for-valdef-grid-template-columns-min-content①①\">min-content</a>/<a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-max-content\" id=\"ref-for-valdef-grid-template-columns-max-content②②\">max-content</a> when the grid container is being sized under a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#min-content-constraint\" id=\"ref-for-min-content-constraint⑧\">min</a>/<a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#max-content-constraint\" id=\"ref-for-max-content-constraint⑥\">max-content constraint</a> (respectively)</ins>\n :",
397+
"html": "<strong>Increase sizes to accommodate spanning items:</strong> Next, consider the items with a span of 2\n\t\t\t\t\tthat do not span a track with a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#flexible-sizing-function\" id=\"ref-for-flexible-sizing-function①⑨\">flexible sizing function</a>\n <ins>,\n\t\t\t\t\ttreating a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#min-track-sizing-function\" id=\"ref-for-min-track-sizing-function②②\">min track sizing function</a> of <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-auto\" id=\"ref-for-valdef-grid-template-columns-auto③④\">auto</a> as <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-min-content\" id=\"ref-for-valdef-grid-template-columns-min-content①①\">min-content</a>/<a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-max-content\" id=\"ref-for-valdef-grid-template-columns-max-content②②\">max-content</a> when the grid container is being sized under a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#min-content-constraint\" id=\"ref-for-min-content-constraint⑧\">min</a>/<a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#max-content-constraint\" id=\"ref-for-max-content-constraint⑥\">max-content constraint</a> (respectively)</ins>\n :",
398398
"rationale": "for",
399399
"steps": [
400400
{
401401
"html": ""
402402
},
403403
{
404-
"html": "<strong>For content-based minimums:</strong> Next continue to increase the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#base-size\" id=\"ref-for-base-size④①\">base size</a> of tracks with\n\t\t\t\t\t\ta <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#min-track-sizing-function\" id=\"ref-for-min-track-sizing-function②③\">min track sizing function</a> of <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-min-content\" id=\"ref-for-valdef-grid-template-columns-min-content①②\">min-content</a> or <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-max-content\" id=\"ref-for-valdef-grid-template-columns-max-content②③\">max-content</a>\n <del>,\n\t\t\t\t\t\tand tracks with a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#min-track-sizing-function\" id=\"ref-for-min-track-sizing-function②④\">min track sizing function</a> of <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-auto\" id=\"ref-for-valdef-grid-template-columns-auto③④\">auto</a> if the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#grid-container\" id=\"ref-for-grid-container①④⓪\">grid container</a> is being sized under a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#min-content-constraint\" id=\"ref-for-min-content-constraint⑨\">min-content constraint</a>,</del>\n by <a href=\"https://drafts.csswg.org/css-grid-1/#extra-space\">distributing extra space</a> as needed\n\t\t\t\t\t\tto account for these items' <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#min-content-contribution\" id=\"ref-for-min-content-contribution①⑦\">min-content contributions</a>."
404+
"html": "<strong>For content-based minimums:</strong> Next continue to increase the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#base-size\" id=\"ref-for-base-size④①\">base size</a> of tracks with\n\t\t\t\t\t\ta <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#min-track-sizing-function\" id=\"ref-for-min-track-sizing-function②③\">min track sizing function</a> of <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-min-content\" id=\"ref-for-valdef-grid-template-columns-min-content①②\">min-content</a> or <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-max-content\" id=\"ref-for-valdef-grid-template-columns-max-content②③\">max-content</a>\n <del>,\n\t\t\t\t\t\tand tracks with a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#min-track-sizing-function\" id=\"ref-for-min-track-sizing-function②④\">min track sizing function</a> of <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-auto\" id=\"ref-for-valdef-grid-template-columns-auto③⑤\">auto</a> if the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#grid-container\" id=\"ref-for-grid-container①④⓪\">grid container</a> is being sized under a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#min-content-constraint\" id=\"ref-for-min-content-constraint⑨\">min-content constraint</a>,</del>\n by <a href=\"https://drafts.csswg.org/css-grid-1/#extra-space\">distributing extra space</a> as needed\n\t\t\t\t\t\tto account for these items' <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#min-content-contribution\" id=\"ref-for-min-content-contribution①⑦\">min-content contributions</a>."
405405
},
406406
{
407-
"html": "<strong>For max-content minimums:</strong> Third continue to increase the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#base-size\" id=\"ref-for-base-size④②\">base size</a> of tracks with\n\t\t\t\t\t\ta <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#min-track-sizing-function\" id=\"ref-for-min-track-sizing-function②⑤\">min track sizing function</a> of <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-max-content\" id=\"ref-for-valdef-grid-template-columns-max-content②④\">max-content</a>\n <del>,\n\t\t\t\t\t\tand tracks with a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#max-track-sizing-function\" id=\"ref-for-max-track-sizing-function④③\">max track sizing function</a> of <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#grid-placement-auto\" id=\"ref-for-grid-placement-auto①②\">auto</a> if the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#grid-container\" id=\"ref-for-grid-container①④①\">grid container</a> is being sized under a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#max-content-constraint\" id=\"ref-for-max-content-constraint⑦\">max-content constraint</a>,</del>\n by <a href=\"https://drafts.csswg.org/css-grid-1/#extra-space\">distributing extra space</a> as needed\n\t\t\t\t\t\tto account for these items' <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#max-content-contribution\" id=\"ref-for-max-content-contribution①②\">max-content contributions</a>."
407+
"html": "<strong>For max-content minimums:</strong> Third continue to increase the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#base-size\" id=\"ref-for-base-size④②\">base size</a> of tracks with\n\t\t\t\t\t\ta <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#min-track-sizing-function\" id=\"ref-for-min-track-sizing-function②⑤\">min track sizing function</a> of <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-max-content\" id=\"ref-for-valdef-grid-template-columns-max-content②④\">max-content</a>\n <del>,\n\t\t\t\t\t\tand tracks with a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#max-track-sizing-function\" id=\"ref-for-max-track-sizing-function④③\">max track sizing function</a> of <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-grid-template-columns-auto\" id=\"ref-for-valdef-grid-template-columns-auto③⑥\">auto</a> if the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#grid-container\" id=\"ref-for-grid-container①④①\">grid container</a> is being sized under a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#max-content-constraint\" id=\"ref-for-max-content-constraint⑦\">max-content constraint</a>,</del>\n by <a href=\"https://drafts.csswg.org/css-grid-1/#extra-space\">distributing extra space</a> as needed\n\t\t\t\t\t\tto account for these items' <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-sizing-3/#max-content-contribution\" id=\"ref-for-max-content-contribution①②\">max-content contributions</a>."
408408
}
409409
]
410410
}

0 commit comments

Comments
 (0)