Closed
Bug 1518633
Opened 5 years ago
Closed 5 years ago
Consider adding a profiler label for anchor node selection
Categories
(Core :: Layout: Scrolling and Overflow, enhancement, P3)
Core
Layout: Scrolling and Overflow
Tracking
()
RESOLVED
FIXED
mozilla66
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: rhunt, Assigned: rhunt)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Anchor node selection [1] is a pretty involved frame tree traversal. Scroll anchoring does its best to batch and defer this, but it's possible it could take a non-trivial amount of time on some pages.
It might make sense to have a profiler label here so we could identify when this is happening.
[1] https://drafts.csswg.org/css-scroll-anchoring-1/#anchor-node-selection
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
This mouse click seems superfluous, as window.focus() is called immediately after. In addition, this click is somehow causing a page up scroll, as it's clicking a slider frame. This causes the test to fail with scroll anchoring enabled, for some reason. Removing this click seems to be the easiest solution, as it doesn't seem intentional.
Pushed by rhunt@eqrion.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/ad851d4345c0 part 15 - Remove unneeded mouse click test_bug633762. r=mattwoodrow
Assignee | ||
Comment 4•5 years ago
|
||
Ugh, wrong bug number for that commit. It should be bug 1305957.
Comment 5•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Assignee | ||
Updated•5 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•5 years ago
|
Blocks: scroll-anchoring, scroll-anchoring-release
Updated•5 years ago
|
Updated•5 years ago
|
Priority: -- → P3
Assignee | ||
Comment 6•5 years ago
|
||
This shouldn't block release of scroll anchoring.
No longer blocks: scroll-anchoring-release
Pushed by rhunt@eqrion.net: https://hg.mozilla.org/integration/mozilla-inbound/rev/5f184a902803 Add profiler label for anchor node selection. r=mstange
Comment 8•5 years ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 5 years ago → 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•