Commit c1bb9ae, "Seg-tabs take buttons for a choice made in place, pressed by aria-pressed". Hub CI on c1bb9ae: passed, all 48 shards, suite step 103 s; the size step reads fiesta.css 23,239.
Red
TestASegTabButtonLooksLikeASegTabLink against the CSS before the change (red by assertion, every leg; first lines)
segtabs_browser_test.go:102: day light, mouse at 1280: #pressed's background-color is "rgb(239, 239, 239)", #current's is "rgb(255, 255, 255)"; a button in a track must be the tab a link is
segtabs_browser_test.go:102: day light, mouse at 1280: #pressed's color is "rgb(0, 0, 0)", #current's is "rgb(24, 24, 27)"; a button in a track must be the tab a link is
segtabs_browser_test.go:102: day light, mouse at 1280: #pressed's font-family is "Arial", #current's is "system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif"; a button in a track must be the tab a link is
segtabs_browser_test.go:102: day light, mouse at 1280: #pressed's font-size is "13.3333px", #current's is "12.5px"; a button in a track must be the tab a link is
segtabs_browser_test.go:102: day light, mouse at 1280: #pressed's font-weight is "400", #current's is "600"; a button in a track must be the tab a link is
segtabs_browser_test.go:102: day light, mouse at 1280: #pressed's line-height is "normal", #current's is "18.75px"; a button in a track must be the tab a link is
segtabs_browser_test.go:102: day light, mouse at 1280: #pressed's padding is "1px 6px", #current's is "5px 16px"; a button in a track must be the tab a link is
segtabs_browser_test.go:102: day light, mouse at 1280: #pressed's border-radius is "0px", #current's is "4px"; a button in a track must be the tab a link is
segtabs_browser_test.go:102: day light, mouse at 1280: #pressed's box-shadow is "none", #current's is "rgba(255, 255, 255, 0.8) 0px 1px 0px 0px inset, rgba(16, 24, 40, 0.08) 0px 1px 2px 0px"; a button in a track must be the tab a link is
segtabs_browser_test.go:102: day light, mouse at 1280: #pressed's min-block-size is "auto", #current's is "32px"; a button in a track must be the tab a link is
segtabs_browser_test.go:102: day light, mouse at 1280: #pressed's cursor is "default", #current's is "pointer"; a button in a track must be the tab a link is
segtabs_browser_test.go:103: day light, mouse at 1280: #unpressed's background-color is "rgb(239, 239, 239)", #link's is "rgba(0, 0, 0, 0)"; a button in a track must be the tab a link is
segtabs_browser_test.go:103: day light, mouse at 1280: #unpressed's color is "rgb(0, 0, 0)", #link's is "rgb(82, 82, 92)"; a button in a track must be the tab a link is
segtabs_browser_test.go:103: day light, mouse at 1280: #unpressed's font-family is "Arial", #link's is "system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif"; a button in a track must be the tab a link is
segtabs_browser_test.go:148: forced colours: the pressed button's background-color is "rgb(255, 255, 255)", the current link's "rgba(5, 0, 73, 0.8)"
segtabs_browser_test.go:148: forced colours: the pressed button's color is "rgb(0, 0, 0)", the current link's "rgb(255, 255, 255)"
segtabs_browser_test.go:148: print: the pressed button's background-color is "rgb(239, 239, 239)", the current link's "rgb(255, 255, 255)"
segtabs_browser_test.go:148: print: the pressed button's color is "rgb(0, 0, 0)", the current link's "rgb(24, 24, 27)"
... 292 failure lines in all
FAIL amadan.net/rastrillo/fiesta/check 2.138s
FAIL
TestForcedColoursAndPrintFlattenTheAxisAndCoverEveryComponent, wants added, CSS not yet
depth_media_test.go:50: the @media (forced-colors: active) { block does not carry "[rst-seg-tabs] > button[aria-pressed=\"true\"]"
depth_media_test.go:50: the @media print { block does not carry "[rst-seg-tabs] > button[aria-pressed=\"true\"]"
The CSS alone, no inventory row, widenings or exceptions (go test ./check)
--- FAIL: TestEveryOneOhDeclarationStillApplies (0.01s)
--- FAIL: TestEveryNewRuleRequiresNewMarkup (0.04s)
--- FAIL: TestEveryInteractiveRuleIsInTheTapInventory (0.02s)
sizing_test.go:486: tokens.css styles a control no row of §1.4's inventory names:
.rst-seg-tabs > button, [rst-seg-tabs] > button
add a floor rule and a tapInventory row, or say why it is exempt
baseline_test.go:524: css/tokens.css: 1.0.0's :where(.rst-btn, .rst-search, .rst-search__clear, .rst-ftok a, .rst-help, .rst-dropdown > summary, .rst-dropdown__
baseline_test.go:524: css/tokens.css: 1.0.0's :where(.rst-btn, .rst-search, .rst-search__clear, .rst-ftok a, .rst-help, .rst-dropdown > summary, .rst-dropdown__
baseline_test.go:676: css/tokens.css: :where(.rst-btn, .rst-search, .rst-search__clear, .rst-ftok a, .rst-help, .rst-dropdown > summary, .rst-dropdown__menu a, .rst-dropdown__menu button, .rst-dropdown__menu .rst-menu-group > summary, .rst-row-menu__panel a, .rst-row-menu__panel button, .rst-locale button, .rst-scheme button, .rst-combo__option, .rst-dtp__row, .rst-dtp__pick, .rst-cal__nav, .rst-row__action, .rst-row-menu > summary, .rst-pagination > a, .rst-seg-tabs a, .rst-seg-tabs > button, .rst-switch, .rst-choice__cards label, .rst-tblock__head, .rst-bulkbar__close, .rst-bulkbar__escalate, .rst-modal-close, .rst-modal-panel > nav a, .rst-back-nav a, .rst-signin__providers > a, .rst-shell__brand, .rst-shell__nav a, .rst-shell__menu > summary, .rst-shell__chrome > summary, .rst-shell__account > summary, .rst-shell__back > a) .icon { block-size: 1rem } is new and :where(.rst-btn, .rst-search, .rst-search__clear, .rst-ftok a, .rst-help, .rst-dropdown > summary, .rst-dropdown__menu a, .rst-dropdown__menu button, .rst-dropdown__menu .rst-menu-group > summary, .rst-row-menu__panel a, .rst-row-menu__panel button, .rst-locale button, .rst-scheme button, .rst-combo__option, .rst-dtp__row, .rst-dtp__pick, .rst-cal__nav, .rst-row__action, .rst-row-menu > summary, .rst-pagination > a, .rst-seg-tabs a, .rst-seg-tabs > button, .rst-switch, .rst-choice__cards label, .rst-tblock__head, .rst-bulkbar__close, .rst-bulkbar__escalate, .rst-modal-close, .rst-modal-panel > nav a, .rst-back-nav a, .rst-signin__providers > a, .rst-shell__brand, .rst-shell__nav a, .rst-shell__menu > summary, .rst-shell__chrome > summary, .rst-shell__account > summary, .rst-shell__back > a) .icon: `:where(` is outside the grammar
baseline_test.go:676: css/tokens.css: :where(.rst-btn, .rst-search, .rst-search__clear, .rst-ftok a, .rst-help, .rst-dropdown > summary, .rst-dropdown__menu a, .rst-dropdown__menu button, .rst-dropdown__menu .rst-menu-group > summary, .rst-row-menu__panel a, .rst-row-menu__panel button, .rst-locale button, .rst-scheme button, .rst-combo__option, .rst-dtp__row, .rst-dtp__pick, .rst-cal__nav, .rst-row__action, .rst-row-menu > summary, .rst-pagination > a, .rst-seg-tabs a, .rst-seg-tabs > button, .rst-switch, .rst-choice__cards label, .rst-tblock__head, .rst-bulkbar__close, .rst-bulkbar__escalate, .rst-modal-close, .rst-modal-panel > nav a, .rst-back-nav a, .rst-signin__providers > a, .rst-shell__brand, .rst-shell__nav a, .rst-shell__menu > summary, .rst-shell__chrome > summary, .rst-shell__account > summary, .rst-shell__back > a) .icon { inline-size: 1rem } is new and :where(.rst-btn, .rst-search, .rst-search__clear, .rst-ftok a, .rst-help, .rst-dropdown > summary, .rst-dropdown__menu a, .rst-dropdown__menu button, .rst-dropdown__menu .rst-menu-group > summary, .rst-row-menu__panel a, .rst-row-menu__panel button, .rst-locale button, .rst-scheme button, .rst-combo__option, .rst-dtp__row, .rst-dtp__pick, .rst-cal__nav, .rst-row__action, .rst-row-menu > summary, .rst-pagination > a, .rst-seg-tabs a, .rst-seg-tabs > button, .rst-switch, .rst-choice__cards label, .rst-tblock__head, .rst-bulkbar__close, .rst-bulkbar__escalate, .rst-modal-close, .rst-modal-panel > nav a, .rst-back-nav a, .rst-signin__providers > a, .rst-shell__brand, .rst-shell__nav a, .rst-shell__menu > summary, .rst-shell__chrome > summary, .rst-shell__account > summary, .rst-shell__back > a) .icon: `:where(` is outside the grammar
baseline_test.go:676: css/tokens.css: :where([rst-btn], [rst-search], [rst-search-clear], [rst-ftok] a, [rst-help], [rst-dropdown] > summary, [rst-dropdown-menu] a, [rst-dropdown-menu] button, [rst-dropdown-menu] [rst-menu-group] > summary, [rst-row-menu-panel] a, [rst-row-menu-panel] button, [rst-locale] button, [rst-scheme] button, [rst-combo-option], [rst-dtp-row], [rst-dtp-pick], [rst-cal-nav], [rst-row-action], [rst-row-menu] > summary, [rst-pagination] > a, [rst-seg-tabs] a, [rst-seg-tabs] > button, [rst-switch], [rst-choice-cards] label, [rst-tblock-head], [rst-bulkbar-close], [rst-bulkbar-escalate], [rst-modal-close], [rst-modal-panel] > nav a, [rst-back-nav] a, [rst-signin-providers] > a, [rst-shell-brand], [rst-shell-nav] a, [rst-shell-menu] > summary, [rst-shell-chrome] > summary, [rst-shell-account] > summary, [rst-shell-back] > a) .icon { block-size: 1rem } is new and :where([rst-btn], [rst-search], [rst-search-clear], [rst-ftok] a, [rst-help], [rst-dropdown] > summary, [rst-dropdown-menu] a, [rst-dropdown-menu] button, [rst-dropdown-menu] [rst-menu-group] > summary, [rst-row-menu-panel] a, [rst-row-menu-panel] button, [rst-locale] button, [rst-scheme] button, [rst-combo-option], [rst-dtp-row], [rst-dtp-pick], [rst-cal-nav], [rst-row-action], [rst-row-menu] > summary, [rst-pagination] > a, [rst-seg-tabs] a, [rst-seg-tabs] > button, [rst-switch], [rst-choice-cards] label, [rst-tblock-head], [rst-bulkbar-close], [rst-bulkbar-escalate], [rst-modal-close], [rst-modal-panel] > nav a, [rst-back-nav] a, [rst-signin-providers] > a, [rst-shell-brand], [rst-shell-nav] a, [rst-shell-menu] > summary, [rst-shell-chrome] > summary, [rst-shell-account] > summary, [rst-shell-back] > a) .icon: `:where(` is outside the grammar
... 62 new-rule refusals in all
Catalog gates before the drafts (go test ./internal/gallery)
i18n_test.go:154: i18n/ru.json has no translation of examples.seg-tabs.states.buttons-that-switch-in-place (...)
i18n_test.go:154: i18n/ru.json has no translation of labels.seg-tabs.buttons-that-switch-in-place ("Buttons that switch in place")
i18n_test.go:208: i18n/drafts.json: examples.seg-tabs.blurb was drafted from "A segmented control of plain links. ...", and its English is now "A segmented control of links or buttons. ..."
i18n_test.go:605: day/ar/frames/seg-tabs/buttons-that-switch-in-place.html carries the English "List"
(and the same for every locale)
TestANounAndItsVerbAreTranslatedApart with the seg-tabs noun sense taken out
--- FAIL: TestANounAndItsVerbAreTranslatedApart (3.98s)
localise_test.go:563: day/ru's seg-tabs buttons frame does not label its group Вид
localise_test.go:571: EnglishStrings lists View (noun) as "" and View as "View"; want both, each saying View
FAIL
Mutations (scratch worktree /var/tmp/fiesta-t6-mut, each reverted)
| # | Mutation | Caught by | |---|---|---| | M1 | Reset rule deleted | TestASegTabButtonLooksLikeASegTabLink, 108 lines: font-family Arial, line-height normal, cursor default, background rgb(239, 239, 239), ... | | M2 | Buttons taken out of the pressed thumb rule | Same test, 50 lines: pressed background rgba(0, 0, 0, 0) vs rgb(255, 255, 255), colour, font-weight 550 vs 600, box-shadow none | | M3 | Buttons taken out of the hover rule | Same test, 12 lines: "a hovered unpressed button is rgb(82, 82, 92), a hovered link rgb(24, 24, 27)" in every theme, scheme and pointer | | M4 | Buttons taken out of the desktop floor | Same test: min-block-size and min-inline-size "auto" vs "32px" at 1280; TestEveryTapTargetIsAtLeast44Pixels 390x844 touch: button "List" is 60.8x31.0, under the 44x44 floor | | M5 | Buttons taken out of the phone's centring rule | Same test, 36 lines at 390: display block vs flex, align-items and justify-content normal vs center | | M6 | Pressed button taken out of the forced-colours rule | Same test: forced colours background rgb(255, 255, 255) vs the link's Highlight, colour rgb(0, 0, 0) vs rgb(255, 255, 255) | | M7 | Pressed button taken out of the print rule | Same test: print box-shadow "rgba(0, 0, 0, 0) 0px 1px 0px 0px inset, rgba(16, 24, 40, 0.08) 0px 1px 2px 0px" vs "none" | | M8 | Buttons taken out of the icon :where() lists | TestEveryControlSizesTheIconInIt: "Segmented tabs: buttons ([rst-seg-tabs] > button) is a control the floor holds, and the rule that sizes an icon inside a control does not name it"; TestEveryOneOhDeclarationStillApplies: both widenedSelectors entries used by no declaration | | M9 | Hover rule written [rst-seg-tabs] button:hover (descendant, not child) | TestEveryNewRuleRequiresNewMarkup: "[rst-seg-tabs] button:hover { color: var(--rst-text) } is new and ...: no compound positively requires a name 1.0 does not style; no newOnOldMarkup entry is this selector", both spellings, and both :hover exceptions named unused. The browser test stays green here: only the grammar gate can see this one. |
Green, locally (docs-t1)
go test . ./example ./check ./internal/gallery ./internal/www ./internal/build -count=1: ok./hack/gotest.sh browser check -run 'SegTab|EveryTapTargetIsAtLeast44Pixels|TheFloorChangesNothingButSizeOnADesktop|TestEveryExampleStateMeetsTheFloors|TestBothSpellingsComputeTheSameStyles|TestForcedColoursKeepBordersAndSelection|TestPrintDrawsBordersAndNoDepth': ok (74 s; "157 of the manifest's 157 states served")./hack/gotest.sh browser internal.gallery -run 'TestPreviewFrameHeightsFit': ok (377 s) with 110 / 170 for the new keygo test ./internal/gallery -run 'TestANounAndItsVerbAreTranslatedApart|TestAVerbAndItsNounAreTranslatedApart': ok
Size (make size, gzip level 6; allotment 140)
| File | Before | After | Change | |---|---|---|---| | fiesta.css | 23,146 | 23,239 | +93 | | fiesta-plain.css | 22,431 | 22,524 | +93 | | fiesta-signal.css | 22,542 | 22,636 | +94 |