Hey, What's the feeling of upstream on that spec? Maybe we can implement it right away over there (even behind a feature flag which we could turn on in Crosswalk)?
Thanks. On Tue, Sep 1, 2015 at 10:57 AM, Hur, Joone <[email protected]> wrote: > LGTM > > The CSS Round Display has been approved for First Public Working Draft in the > last CSS working group meeting. > The device-radius is one of key features of the specification so it would be > good to implement it in Crosswalk. > > Experimentally, I tried to run Crosswalk on Android wear devices and test > this feature. > Web applications could be aware of display shape and apply different CSS for > different display shapes such as round display and rectangle display. > > Thanks, > Joone > > -----Original Message----- > From: Crosswalk-dev > [mailto:[email protected]] On Behalf Of > Hyojin Song > Sent: Wednesday, August 5, 2015 11:51 PM > To: 'Crosswalk-dev' <[email protected]> > 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 > [email protected] > https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev > _______________________________________________ > Crosswalk-dev mailing list > [email protected] > https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev _______________________________________________ Crosswalk-dev mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev
