Skip to content

fix: remove incorrect screenLeft polyfill - #393

Merged
dipikabh merged 2 commits into
mdn:mainfrom
Josh-Cena:codex/remove-screenleft-polyfill
Sep 22, 2026
Merged

dipikabh merged 2 commits into
mdn:mainfrom
Josh-Cena:codex/remove-screenleft-polyfill

Conversation

@Josh-Cena

Copy link
Copy Markdown
Member

The example doesn't move the circle if the window starts with screenLeft=0, as noticed in mdn/content#45097.

Remove the incorrect feature detection. Every browser supports screenLeft anyway, and whenever this fallback runs it assigns static values rather than live aliases, so it is never useful.

@Josh-Cena
Josh-Cena requested review from a team as code owners September 2, 2026 00:56
@Josh-Cena
Josh-Cena requested a review from dipikabh September 2, 2026 00:56

@dipikabh dipikabh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dipikabh
dipikabh merged commit 0e0af89 into mdn:main Sep 22, 2026
1 check passed
@Josh-Cena
Josh-Cena deleted the codex/remove-screenleft-polyfill branch September 22, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants