Closed Bug 1696470 Opened 4 years ago Closed 3 years ago

Scrolling https://colorjs.io/ appears to spend large time in style

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: mayankleoboy1, Unassigned)

Details

Attachments

(1 file)

  1. Go to https://colorjs.io/
  2. Let the page load for 10-15 seconds
  3. Scroll to the bottom of the page where there is a greenish grid on the right
  4. Keeping this grid in view, scroll the page up and down a bit

ER: Smooth scrolling
AR: micro janks

Profile with sequential styling and ublock disabled : https://share.firefox.dev/30cwKvv

Attached file about:support

They change a custom property on the root element every time we scroll. That's a full-document restyle right there :(

If there is n0thing much acti0nab1e here, I am happy t0 c10se this bug

Flags: needinfo?(emilio)

Yeah, I don't think we can improve this one a whole lot. On fast machines the restyle is <16ms which means no jank, but it's still a bunch of work.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(emilio)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: