W3C home > Mailing lists > Public > www-style@w3.org > April 2016

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

From: Jihye Hong <jh.hong@lge.com>
Date: Thu, 7 Apr 2016 12:08:41 +0900
To: "'www-style list'" <www-style@w3.org>
Cc: "'Hyojin Song'" <hyojin22.song@lge.com>
Message-ID: <002001d1907a$c9d563b0$5d802b10$@lge.com>


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

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.





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


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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:02 UTC