yceffort
04 POSTS

Css 1

  • #web-performance#debugging#blogging

    Which Element Caused This Blog's CLS

    Two causes found through the shifted elements recorded alongside CLS values: a decorative element that follows the cursor and was counted as a layout shift, and a home page list that pushed the footer down while the overall p75 stayed at 0.000. Both were confirmed with field data and lab reproductions.

    20 min read
  • ◆ Improving number-flow Part 2
    #web-performance#animation#browser

    Improving number-flow Performance: Moving Animations onto the Compositor Thread

    In the number-flow fork I built to support old browsers, animations in modern browsers were still recalculating styles on every frame. In 0.2.0 I moved the motion built with additive compositing into transform and opacity keyframes, but costs remain in the mask and in interruptions.

    Updated 24 min read
  • #browser#design-patterns#css

    Running One Web on Multiple WebViews: Folding Environment Branches into Adapters

    We supported the iOS and Android WebViews of our own app and of a partner app, and gathered the scattered environment branching into adapters. The post covers how we organized insets, the bridge, and CSS, and the problems we hit with the SSR seed and hydration.

    Updated 27 min read
  • ◆ Improving number-flow Part 1
    #browser#animation#oss

    Porting number-flow to Old Browsers: Five Decisions and Two Reversals

    number-flow turns animations on starting from Chrome 125 and Safari 17.2. While building a fork that lowers this floor to Chrome 66 and WebKit 16.4, I reversed two decisions, and after investigating a Safari bug I gave up on automatic downgrading.

    Updated 26 min read