⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 184084 in webkit


Ignore:
Timestamp:
May 11, 2015, 5:59:46 AM (11 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r182880 - We should dump GraphicsLayer's anchorPoint z component
https://bugs.webkit.org/show_bug.cgi?id=143815

Reviewed by Tim Horton.

We didn't include the z component of a layer's anchor point when dumping.
Dump if it's non-zero (to avoid having to change lots of test output).
No test with non-zero z appears to dump layers.

  • platform/graphics/GraphicsLayer.cpp:

(WebCore::GraphicsLayer::dumpProperties):

  • rendering/style/RenderStyle.cpp:

(WebCore::requireTransformOrigin): Remove a FIXME which, on further consideration,
is wrong.

Location:
releases/WebKitGTK/webkit-2.8/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.8/Source/WebCore/ChangeLog

    r184081 r184084  
     12015-04-15  Simon Fraser  <simon.fraser@apple.com>
     2
     3        We should dump GraphicsLayer's anchorPoint z component
     4        https://bugs.webkit.org/show_bug.cgi?id=143815
     5
     6        Reviewed by Tim Horton.
     7
     8        We didn't include the z component of a layer's anchor point when dumping.
     9        Dump if it's non-zero (to avoid having to change lots of test output).
     10        No test with non-zero z appears to dump layers.
     11
     12        * platform/graphics/GraphicsLayer.cpp:
     13        (WebCore::GraphicsLayer::dumpProperties):
     14        * rendering/style/RenderStyle.cpp:
     15        (WebCore::requireTransformOrigin): Remove a FIXME which, on further consideration,
     16        is wrong.
     17
    1182015-04-15  Alexey Proskuryakov  <ap@apple.com>
    219
  • releases/WebKitGTK/webkit-2.8/Source/WebCore/platform/graphics/GraphicsLayer.cpp

    r179604 r184084  
    622622    if (m_anchorPoint != FloatPoint3D(0.5f, 0.5f, 0)) {
    623623        writeIndent(ts, indent + 1);
    624         ts << "(anchor " << m_anchorPoint.x() << " " << m_anchorPoint.y() << ")\n";
     624        ts << "(anchor " << m_anchorPoint.x() << " " << m_anchorPoint.y();
     625        if (m_anchorPoint.z())
     626            ts << " " << m_anchorPoint.z();
     627        ts << ")\n";
    625628    }
    626629
Note: See TracChangeset for help on using the changeset viewer.