GoogleChrome / GoogleChrome/lighthouse

layout shift entries with no element/nodes/data

Open
#16,348 1 comment 0 reactions 0 assignees View on GitHub
P3 report
Dominant language
JavaScript
Stars
30.8k
Forks
9.8k
Avg merge
1d 20h
Merged PRs (30d)
19

Description

### FAQ

- [x] Yes, my issue is not about [variability](https://github.com/GoogleChrome/lighthouse/blob/main/docs/variability.md) or [throttling](https://github.com/GoogleChrome/lighthouse/blob/main/docs/throttling.md).
- [x] Yes, my issue is not about a specific accessibility audit (file with [axe-core](https://github.com/dequelabs/axe-core) instead).
- [x] Yes, my issue is not answered by [other FAQs](https://github.com/GoogleChrome/lighthouse#faq).

### URL

https://www.cin7.com/

### What happened?

Hi there,

I found the page above results in empty layout shifts:

![Image](https://github.com/user-attachments/assets/9ad82a4c-aa09-4651-bb96-c79fa455e74b)

I used Lighthouse 12.3.0 run from CLI, something like:
```
lighthouse https://www.cin7.com/ --only-categories performance --throttling-method provided --screenEmulation.disabled --preset desktop --output json
```
Looking at the raw JSON, some items have a score but nothing else:

![Image](https://github.com/user-attachments/assets/86b1e05c-6eea-4fa6-9dc7-4a89e16ca06a)

I am attaching the outputted JSON file, as well as the raw trace (running again with -G flag)

[latest-run.zip](https://github.com/user-attachments/files/18897283/latest-run.zip)

[empty-layout-shifts-lh.json](https://github.com/user-attachments/files/18897299/empty-layout-shifts-lh.json)

### What did you expect?

Either including the relevant element for a layout shift or skipping empty layout shifts

### What have you tried?

_No response_

### How were you running Lighthouse?

CLI

### Lighthouse Version

12.3.0

### Chrome Version

133

### Node Version

18.16.0

### OS

Linux

### Relevant log output

```sh

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.