• Skip to main content
  • Skip to primary sidebar
  • Deals
  • Features
  • Guides
  • Chromebooks
  • Videos
  • Podcast
  • More +
    • Reviews
    • Unboxing
    • Upcoming Devices
    • Chromebook Plus
    • Chrome
    • ChromeOS
    • Chrome OS Flex
  • Search
  • Sign Up
  • Log In
Chrome Unboxed – The Latest Chrome OS News

Chrome Unboxed - The Latest Chrome OS News

A Space for All Things Chrome, Google, and More!

  • Deals
  • Features
  • Guides
  • Chromebooks
  • Videos
  • Podcast
  • More +
    • Reviews
    • Unboxing
    • Upcoming Devices
    • Chromebook Plus
    • Chrome
    • ChromeOS
    • Chrome OS Flex
  • Search
  • Sign Up
  • Log In

Better web support is coming for folding devices like the Pixel Fold via DevicePosture API

June 17, 2021 By Robby Payne View Comments

Support our independent tech coverage. Chrome Unboxed is written by real people, for real people—not search algorithms. Join Chrome Unboxed Plus for just $2 a month to get an ad-free experience, access to our private Discord, and more. Learn more about membership here.
START FREE TRIAL (MONTHLY)START FREE TRIAL (ANNUAL)

There’s no doubt that more foldable phones, tablets and laptops are coming. With companies like Samsung, Motorola and Huawei blazing the trail, folding, personal electronic devices seem to be part of the future one way or another. After all, once these types of devices are a bit more sturdy, affordable, and available, who wouldn’t want to have a phone in their pocket that can turn into a small tablet or a small tablet that can also be a laptop? I know I’m very interested in where this segment is headed.

And so is Google, apparently. From a hardware standpoint, there is ample evidence that Google is planning their very own folding Pixel device and that is important for a few reasons. First, we all know Google isn’t exactly on the bleeding edge when it comes to phone design. They generally take the careful approach and adopt tech after it has been tried and tested in other handsets. The move for Google to begin readying a launch of their own folding phone tells me they’ve observed enough market growth in the category to see it as long-lasting and viable. Second, it matters because as the gatekeeper of Android, Google getting involved in a deeper way with folding form factors means Android will keep getting better at handling these unique takes on what phones and tablets could become.

Xremove ads

But Google is more than hardware and more than just Android. Let us not forget the deep interests they have in the web with their cloud services, cloud-based software, the Chrome browser and Chrome OS. If anything, one could argue that the web is Google’s main focus, main revenue source, and largest conduit to actual users on a daily basis. If they are taking folding form factors seriously enough to not only make sure Android works well with them, but also jumping in the game from a hardware standpoint, it only makes sense for them to shore up the web portion of the equation, too. And that’s where the new DevicePosture API comes in.

There are multiple APIs that have existed already for web content to help developers deal with more-complex, folding devices and web-based content. However, it seems there was some overlap and confusion with some of these methods and the W3C has now consolidated the way developers can interact with these new, folding form factors on the web via browsers, and it is called DevicePosture API. Here’s a summary from the W3C:

Featured Videos

Xremove ads

New types of mobile devices are appearing that have some sort of folding capabilities around the screen. Hence, when the device folds, it physically can be different form factor. The main interest in knowing the posture is to enable new user experiences with responsive design.

Among the described “folding” devices, there are mainly two different physical form factors: devices with a single flexible screen (seamless), and devices with two screens (with seam). They can both fold around a hinge, and the current specification applies to both types. It should be clarified as well that both seamless and (devices) with seam can be of different dimension ranging from mobile and tablets to laptop sizes. It should also be noted that different devices will have different default orientations (portrait or landscape), and that the fold might happen in a vertical or horizontal way.

From enhancing the usability of a website by avoiding the area of a fold, to enabling innovative use cases for the web, knowing the posture can help developers tailor their content to different devices. Content can be consumed and browsed even when the device is not flat, in which case the developer might want to provide a different layout for it depending on the posture state in which the device is being used.

Via W3C Github

With this new API, developers can craft their sites or web apps to understand better what a device is actually doing and respond the right way. For instance, if a users spans the window to full screen, what does the content in the browser do? Does it go into columns, desktop-style view, or remain static? What about when partially folded? What about when dropped to one side of the folding hinge? Or laid on the table in a laptop orientation? The DevicePosture API gives control to developers to write behaviors based on these positions, inviting fixes to odd layouts and opening the door to unique experiences on the web with foldable electronics.

via the Chromium Gerrit

As you can see in the commit above, Google has already added this API to Chrome, so the world’s most popular browser will already be in the position to take advantage of these updated capabilities and I’m excited to see what comes of this over time. Foldable phones, tablets and laptops are part of our future one way or another, and as more and more people choose these form factors over the standard slab phones and laptops we now use, we’ll need the platforms to build great experience for them on the web. This is a huge move in that direction for sure.

SUBSCRIBE TO UPSTREAM

Get Chrome Unboxed delivered straight to your inbox

Upstream is our flagship, curated newsletter with the top stories, most click-worthy deals, giveaways, and trending articles from Chrome Unboxed sent directly to your inbox a few times a week. Join 31,000+ subscribers.

Xremove ads
SUBSCRIBE HERE!

Filed Under: Chrome, ChromeOS, News, Pixel

About Robby Payne

As the founder of Chrome Unboxed, Robby has been reviewing Chromebooks for over a decade. His passion for ChromeOS and the devices it runs on drives his relentless pursuit to find the best Chromebooks, best services, and best tips for those looking to adopt ChromeOS and those who've already made the switch.

Primary Sidebar

Xremove ads

Deals

The Acer Chromebook Plus Spin 714 hits a new all-time low at $270 off

By Robby Payne
March 25, 2026

The best Chromebook deals today

By Robby Payne
March 24, 2026

You can score $40 off Google’s battery-powered Nest Doorbell right now

By Joseph Humphrey
March 20, 2026

The touchscreen Lenovo Chromebook Slim 3 is a steal at under $200

By Robby Payne
March 16, 2026

Google TV Streamer and Remote held in front of a wall-mounted TV

The premium Google TV Streamer 4K is back down to $80

By Joseph Humphrey
March 16, 2026

More Deals

Xremove ads

Reviews

Acer Chromebook Plus Spin 514 Review: Kompanio Ultra power in a convertible

By Robby Payne
December 24, 2025

My review after 6 weeks with the Lenovo Chromebook Plus 14 [VIDEO]

By Robby Payne
August 11, 2025

One week with the best small Android tablet you can buy, and I’m sold

By Robby Payne
May 9, 2025

Best Chromebooks of 2024 [VIDEO]

By Robby Payne
November 28, 2024

Samsung Galaxy Chromebook Plus Review: Samsung is back! [VIDEO]

By Robby Payne
October 28, 2024

More Reviews

Xremove ads

Guides

This Chromebook trackpad shortcut is definitely not new, but is blowing my mind

By Robby Payne
March 11, 2024

How to reduce broadcast delay on YouTube TV to stop live spoilers

By Robby Payne
December 8, 2023

Windows PC keyboard and Chromebook

How to use a Windows keyboard with a Chromebook

By Joseph Humphrey
December 8, 2023

How reset and revert your Chromebook to the previous version of Chrome OS

By Robby Payne
November 29, 2023

My Chromebook Plus features disappeared: here’s how I fixed it

By Robby Payne
November 24, 2023

More Guides

TWITTER · FACEBOOK · INSTAGRAM · YOUTUBE · EMAIL · ABOUT

Copyright © 2026 · Chrome Unboxed · Chrome is a registered trademark of Google Inc.
We are participants in various affiliate advertising programs designed to provide a means for us to earn fees by linking to affiliated sites.

PRIVACY POLICY