Bug 1278021 - Clarify what nsIFrame::IsTransformed() does. r=mattwoodrow, a=gchang
authorThinker K.F. Li <thinker@codemud.net>
Tue, 07 Jun 2016 19:47:36 +1200
changeset 339784 c25ec152b6eff61053d6d040b923baf8716abb37
parent 339783 fe119f3a7405eb68a47ddabdf75afeaf16c63208
child 339785 8902dc8b9ab1f1e055f6f70a2862392220fa4176
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow, gchang
bugs1278021
milestone49.0a2
Bug 1278021 - Clarify what nsIFrame::IsTransformed() does. r=mattwoodrow, a=gchang
layout/generic/nsIFrame.h
--- a/layout/generic/nsIFrame.h
+++ b/layout/generic/nsIFrame.h
@@ -1357,17 +1357,17 @@ public:
   bool RefusedAsyncAnimation() const
   {
     return Properties().Get(RefusedAsyncAnimationProperty());
   }
 
   /**
    * Returns true if this frame is transformed (e.g. has CSS or SVG transforms)
    * or if its parent is an SVG frame that has children-only transforms (e.g.
-   * an SVG viewBox attribute).
+   * an SVG viewBox attribute) or if its transform-style is preserve-3d.
    */
   bool IsTransformed() const;
 
   /**
    * Returns true if the frame is translucent for the purposes of creating a
    * stacking context.
    */
   bool HasOpacity() const