w3c / w3c/csswg-drafts

[cssom-view] Support for multi-screen devices

Open
#7,642 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

cssom-view-1
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

The Multi-Screen Window Placement spec suggests enhancements for supporting multi-screen devices. I would greatly appreciate feedback and help regarding integrating some of that work in the CSSOM-View Module. Here are some pertinent high-level proposals in the spec:

  1. Extend the Screen interface with an onchange EventHandler and isExtended boolean.
  2. Refine attribute and method definitions for Window.screenX|Left|Y|Top and Window.moveTo|By().
  3. Refine concepts to define web-exposed screen information for devices with multiple screens.
  4. Define a Window.getScreenDetails() method and ScreenDetails and ScreenDetailed interfaces to supply multi-screen information.

I invite anyone to discuss this topic in a tentative W3C TPAC 2022 breakout session, and I will file similar issues on HTML and Fullscreen specs soon. Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the Multi-Screen Window Placement specification alongside the CSSOM-View Module sections for Screen, Window.screenX|Left|Y|Top, and Window.moveTo|By(). Compare the proposed Screen extensions, screen-information concepts, getScreenDetails(), ScreenDetails, and ScreenDetailed interfaces. Done would require an agreed CSSOM-View integration scope and corresponding specification changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.