Skip to content

Commit 63dab06

Browse files
author
curation-bot
committed
Publish curated data from f8e38c4
Curated data generated from raw data at f8e38c4
1 parent 33d17f2 commit 63dab06

24 files changed

+561
-450
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-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>."
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>."
7272
}
7373
]
7474
},

ed/algorithms/css-grid-1.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@
342342
"rationale": "resolve",
343343
"steps": [
344344
{
345-
"html": "Layout the grid following the <a href=\"https://drafts.csswg.org/css-grid-1/#layout-algorithm\" id=\"ref-for-layout-algorithm②\">§ 11 Grid Layout Algorithm</a> by using the <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/css-break-4/#fragmentation-container\" id=\"ref-for-fragmentation-container②\">fragmentation container</a>’s inline size and assume unlimited block size.\n\t\t\tDuring this step all <a class=\"property css\" data-link-type=\"property\" href=\"https://drafts.csswg.org/css-grid-1/#propdef-grid-row\" id=\"ref-for-propdef-grid-row⑥\">grid-row</a> <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> and <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-flex-fr\" id=\"ref-for-valdef-flex-fr⑨\">fr</a> values must be resolved."
345+
"html": "Layout the grid following the <a href=\"https://drafts.csswg.org/css-grid-1/#layout-algorithm\" id=\"ref-for-layout-algorithm②\">§ 11 Grid Layout Algorithm</a> by using the <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/css-break-4/#fragmentation-container\" id=\"ref-for-fragmentation-container②\">fragmentation container</a>’s inline size and assume unlimited block size.\n\t\t\tDuring this step all <a class=\"property css\" data-link-type=\"property\" href=\"https://drafts.csswg.org/css-grid-1/#propdef-grid-row\" id=\"ref-for-propdef-grid-row⑥\">grid-row</a> <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> and <a class=\"css\" data-link-type=\"maybe\" href=\"https://drafts.csswg.org/css-grid-1/#valdef-flex-fr\" id=\"ref-for-valdef-flex-fr⑨\">fr</a> values must be resolved."
346346
},
347347
{
348348
"html": "Layout the grid container using the values resolved in the previous step."
@@ -351,7 +351,7 @@
351351
"html": "If a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-grid-1/#grid-area\" id=\"ref-for-grid-area③⑤\">grid area</a>’s size changes due to fragmentation (do not include items that\n\t\t\tspan rows in this decision), increase the grid row size as necessary for rows that either: \n <ul>\n <li> have a content min track sizing function. \n </li><li> are in a grid that does not have an explicit height and the grid row is flexible. \n </li></ul>"
352352
},
353353
{
354-
"html": "If the grid height is <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>, the height of the grid should be the sum of the final\n\t\t\trow sizes."
354+
"html": "If the grid height is <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>, the height of the grid should be the sum of the final\n\t\t\trow sizes."
355355
},
356356
{
357357
"html": "If a grid area overflows the grid container due to margins being collapsed during\n\t\t\tfragmentation, extend the grid container to contain this grid area (this step is\n\t\t\tnecessary in order to avoid circular layout dependencies due to fragmentation)."
@@ -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://www.w3.org/TR/css-sizing-3/#min-content-constraint\" id=\"ref-for-min-content-constraint⑧\">min</a>/<a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/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://www.w3.org/TR/css-sizing-3/#min-content-constraint\" id=\"ref-for-min-content-constraint⑧\">min</a>/<a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/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://www.w3.org/TR/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://www.w3.org/TR/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://www.w3.org/TR/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://www.w3.org/TR/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/#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://www.w3.org/TR/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://www.w3.org/TR/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/#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://www.w3.org/TR/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://www.w3.org/TR/css-sizing-3/#max-content-contribution\" id=\"ref-for-max-content-contribution①②\">max-content contributions</a>."
408408
}
409409
]
410410
}

0 commit comments

Comments
 (0)