Interesting proposal. I have several questions for this 1), about "shape-inside" I think the layout engine and "float" can do this too. If browser knows that this is a round display, he can promise that everything should be layout inside the display.
2), about "device-radius" I didn't understand why need this. Here is my assumption about how to run browser on a round display: a), Sent a request to server. In the http header part, tell server that I am a round display. b), Sever responses with page adapted to round display. c), browser engine layout/render/paint/composite. So browser does not need server told him device-radius. Vice versa, server needs browser inform him about this. 3), layout/composite related code not changed After check your two PR https://github.com/crosswalk-project/blink-crosswalk/pull/65 and https://github.com/crosswalk-project/blink-crosswalk/pull/265, I didn't see any layout/composite related code changed. So this is still not done? Regards, Xing -----Original Message----- From: Crosswalk-dev [mailto:crosswalk-dev-boun...@lists.crosswalk-project.org] On Behalf Of Hyojin Song Sent: Thursday, August 6, 2015 2:51 PM To: 'Crosswalk-dev' Subject: [Crosswalk-dev] Intent to Implement: Support the 'device-radius' media feature in CSS Media Queries **Description** CSS Round Display spec is officially being developed in the W3C CSS Working Group. I proposed this spec in CSS working group and became an editor of the css-round-display spec as follows. https://drafts.csswg.org/css-round-display/ There are several proposed ideas in the specification, and I would like to contribute the 'device-radius' media feature as one of the CSS Media Queries' features. This feature has been discussed in the CSS WG mailing list and F2F meeting so that it has become mature in the process. The use case of the property is very clear and reasonable as several devices with round display are recently released. According to the value of 'device-radius', it could identify the shape of a display such as a rectangle, a rectangle with rounded corners, a round, and an ellipse. Please find the details below link. https://drafts.csswg.org/css-round-display/#device-radius-media-feature **Affected component** chromium-crosswalk, blink-crosswalk **Related feature** XWALK-4734 https://crosswalk-project.org/jira/browse/XWALK-4734 **Target release** Crosswalk-16 **Implementation details** 1. A new media feature(device-radius) should be supported within CSS Media Queries syntax. 2. The algorithm of device-radius is similar to border-radius mechanism except for a little factors. - border-radius' specification: https://drafts.csswg.org/css-backgrounds-3/#the-border-radius 3. CSS Round Display spec provides more information about principle of device-radius 4. CSS Round Display: https://drafts.csswg.org/css-round-display/ Thanks, - hyojin _______________________________________________ Crosswalk-dev mailing list Crosswalk-dev@lists.crosswalk-project.org https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev _______________________________________________ Crosswalk-dev mailing list Crosswalk-dev@lists.crosswalk-project.org https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev