Intent to Implement: Media query feature 'shape'

109 views
Skip to first unread message

Hur, Joone

unread,
Oct 27, 2016, 4:33:24 PM10/27/16
to blink-dev

Contact emails
joon...@intel.com, hyojin...@lge.com, jh....@lge.com

Spec
https://drafts.csswg.org/css-round-display-1/#shape-media-feature


Summary
The shape media query feature describes the general shape of the targeted display area of the output device.

 

This media query feature has been updated in CSS Round Display spec as follows:

- The name of 'device-radius' is changed to 'shape' .

- The functionality of the media feature('shape')  is the same as the old name('device-radius').

- The value set is changed from numbers([<length>|<percentage>]) to strings(rect|round).

 

The original intent to implement:

https://groups.google.com/a/chromium.org/d/msg/blink-dev/SriPY5CUjaI/qpU-xnQlAwAJ

 

CSS WG discussion on the spec change:

https://lists.w3.org/Archives/Public/www-style/2016May/0233.html


Motivation
There are many devices with the round display on the market such as smart watches and thermostat so web developers needs to know the display shape to apply specific CSS styles according to the display shape.

 

Interoperability risk
Firefox: No public signals
Edge: No public signals
Safari: No public signals
Web developers:  Positive

Compatibility risk
None.


Ongoing technical constraints
None.


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes, it will be supported on all platforms, but the value can be “round” or “rect” on Android and Linux. If others platforms support the round display in the future, we can add the support.


OWP launch tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=535803


Link to entry on the Chrome Platform Status
https://www.chromestatus.com/features/5167313951129600


Requesting approval to ship?
No.

dan...@chromium.org

unread,
Oct 12, 2018, 3:58:58 PM10/12/18
to joon...@intel.com, blink-dev
Hello,

I found some dead SetDisplayShape code in LocalFrameView today and it led me back to here. Is this still being implemented?

Thanks,
Dana

dan...@chromium.org

unread,
Oct 17, 2018, 12:27:25 PM10/17/18
to Joone Hur, blink-dev
Sounds like this isn't happening.. What is the procedure for removing code that is no longer under development? Is there a process of notification or a timeline specified that I should wait for?

Thanks!
Dana

Jochen Eisinger

unread,
Oct 17, 2018, 6:11:04 PM10/17/18
to dan...@chromium.org, Joone Hur, blink-dev
as this isn't yet launched, there is no process to follow

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHtyhaRMRxXLiK5Lf2yWDsW7zmF22Ti5ZFAQL0_4Uc3-ujbiZw%40mail.gmail.com.

Hur, Joone

unread,
Oct 18, 2018, 12:56:39 PM10/18/18
to dan...@chromium.org, blink-dev
Hi,

I have a local patch for Android backend that uses SetDisplayShape code, but I’m not sure if Android Wear supports WebView or a Web Browser.

Thanks,
Joone

Torne (Richard Coles)

unread,
Oct 18, 2018, 1:39:31 PM10/18/18
to Hur, Joone, dan...@chromium.org, blink-dev
Android Wear does not include WebView (it was disabled for space/memory reasons), and there's no supported web browser either (though I think there are some third party apps that embed somebody's web rendering engine anyway - no idea if they're based on chromium or not)

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
Reply all
Reply to author
Forward
0 new messages