Editor: Tab on the stage passes a box that is not drawn
In Phone view a box hidden on a phone is not drawn, and Tab from the canvas overlay called focus() on it, which did nothing: Tab stuck on the box before it. The overlay's Tab now walks the boxes drawn in the current view (and the selected one, to go on from). A hidden box is still reached through View, Outline. On a canvas slide slides.css's phone-hidden rule loses to the canvas box's own display rule, so the browser test puts the intended rule back; that stylesheet is the renderer's and is left for its owner.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
5 files changed,
+91
−9
fixtures/stage-focus.mjs+9 −1fixtures/stage-focus.test.mjs+30 −0internal/slides/credits/assets.json+1 −1internal/slides/static/{editor.cd9b28d8d59cd0aa.js => editor.90c13b3e54239115.js}+7 −7internal/slidestest/browser_quieter_fixes_test.go+44 −0
fixtures/stage-focus.mjsLoading diff…
fixtures/stage-focus.test.mjsLoading diff…
internal/slides/credits/assets.jsonLoading diff…
internal/slides/static/{editor.cd9b28d8d59cd0aa.js => editor.90c13b3e54239115.js}Loading diff…
internal/slidestest/browser_quieter_fixes_test.goLoading diff…