Skip to content

[css-viewport-1] Make sure to always return one segment#12088

Merged
tabatkins merged 1 commit into
w3c:mainfrom
darktears:one-segment
May 2, 2025
Merged

[css-viewport-1] Make sure to always return one segment#12088
tabatkins merged 1 commit into
w3c:mainfrom
darktears:one-segment

Conversation

@darktears
Copy link
Copy Markdown
Contributor

When the device is not folded (flat) or it's a regular device always return one segment (typically the size of the viewport). This is to follow developer feedback and consistency with the rest of the platform.

#11957

@darktears
Copy link
Copy Markdown
Contributor Author

cc @bramus

@darktears darktears requested a review from emilio April 16, 2025 14:49
@zcorpan
Copy link
Copy Markdown
Contributor

zcorpan commented Apr 16, 2025

This makes sense to me.

Comment thread css-viewport-1/Overview.bs Outdated
@bramus
Copy link
Copy Markdown
Contributor

bramus commented Apr 16, 2025

Thanks! Before merging the change I think we do need a resolution on the issue for this, which can be done async.

Copy link
Copy Markdown
Member

@tabatkins tabatkins left a comment

Choose a reason for hiding this comment

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

Needs to say that it still returns an array, containing that single size.

When the device is not folded (flat) or it's a regular device
always return one segment (typically the size of the viewport).
This is to follow developer feedback and consistency with the rest
of the platform.
@darktears
Copy link
Copy Markdown
Contributor Author

@tabatkins updated the wording, good catch. Thanks.

@darktears
Copy link
Copy Markdown
Contributor Author

The resolution was approved so @tabatkins or @emilio please merge at your earliest convenience.

@tabatkins tabatkins merged commit 79eced7 into w3c:main May 2, 2025
1 check 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.

5 participants