W3C home > Mailing lists > Public > www-style@w3.org > February 2014

RE: [css-transforms] Initial value of transform-style

From: Matt Rakow <marakow@microsoft.com>
Date: Thu, 27 Feb 2014 18:41:30 +0000
To: Rik Cabanier <cabanier@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <223e9280c4974ff8b292c3bec21d1861@BL2PR03MB260.namprd03.prod.outlook.com>
>Simon recently presented a solution at the CSS F2F and posted a document to public-fx [1] to clear some things up.
>1: https://docs.google.com/document/d/1mNF7Z67WnnV05RqXa37PmfvRbgAZwj7-h-7Y_uQ_UPE/edit?pli=1#

Ah, thanks for the pointer.  It looks like the presentation was on the day I wasn't able to make it unfortunately :(

Simon, how do you feel about the "auto" value vs. using inheritance as I suggested in my other mail [1]?  Right now it sounds like "auto" would act as "inherit, unless a transform is applied in which case flat" which still seems a bit confusing to me.  For example, it seems unintuitive that these two examples would produce different results:

<div style="transform-style: preserve-3d; transform: rotateX(30deg);">
    <div>
        <div>
            <div>
                <div style="transform-style: preserve-3d; transform: rotateX(30deg);">

<div style="transform-style: preserve-3d; transform: rotateX(30deg);">
    <div>
        <div style="transform: scale(1)">
            <div>
                <div style="transform-style: preserve-3d; transform: rotateX(30deg);">

Thanks,
-Matt

[1] http://lists.w3.org/Archives/Public/www-style/2014Feb/0783.html
Received on Thursday, 27 February 2014 18:42:14 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:19 UTC