[css-round-display][cssom-view] Additional attribute returns the shape of the display

Hi, 

 

I'd like to suggest adding an attribute for the shape of the screen of the
output device.

 

In CSS Round Display, there are features for supporting the non-rectangular
display.

The 'device-radius' media feature [1] enables to apply different styles to a
web page according to the display's shape.

 

Also, we have to consider the shape when we implement UI in JS for the
non-rectangular display.

For example, scrolling on most of wearable devices is implemented by JS API,
so it is necessary to have the feature which can inform the display's shape.

In Tizen Advanced UI Framework for supporting Circular UI [2], there is a JS
API which checks whether the type is circle or not.

 

So, I think it will be useful to have 'shape' attribute for the Screen
Interface which returns the rendered shape of the current window.

 

Thanks,

Jihye

 

[1] https://drafts.csswg.org/css-round-display/#descdef-media-device-radius

[2]
https://developer.tizen.org/development/ui-practices/web-application/tau/app
lications-circular-ui#injs

 

Received on Thursday, 7 April 2016 03:09:16 UTC