Skip to content

chore(bidi): add support for prefers-color-scheme emulation - #43668

Merged
Dmitry Gozman (dgozman) merged 1 commit into
microsoft:mainfrom
hbenl:prefers-color-scheme
Oct 28, 2026
Merged

Dmitry Gozman (dgozman) merged 1 commit into
microsoft:mainfrom
hbenl:prefers-color-scheme

Conversation

@hbenl

Copy link
Copy Markdown
Collaborator

Fixes the following tests:

  • library/browsercontext-basic.spec.ts:
    • BC-028 should emulate media in popup
    • BC-029 should emulate media in cross-process iframe
  • library/browsercontext-reuse.spec.ts:
    • reuse launch > BC-083 should update viewport and media
    • reuse connect > BC-083 should update viewport and media
  • library/defaultbrowsercontext-2.spec.ts:
    • DC-014 should support colorScheme option
  • page/page-emulate-media.spec.ts:
    • EM-003 should emulate colorScheme should work
    • EM-004 should default to light
    • EM-006 should work during navigation
    • EM-007 should change the actual colors in css

@dgozman
Dmitry Gozman (dgozman) merged commit 62cef72 into microsoft:main Oct 28, 2026
4 checks passed
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.

2 participants