[Webkit-unassigned] [Bug 274657] [iOS] Multiple transform with matrix3d() produces different result

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 27 00:38:16 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=274657

--- Comment #4 from Karl Dubost <karlcow at apple.com> ---
At the beginning I thought it was because of scientific notation.
but no that doesn't change anything. but setting every scientific number to 0 doesn't change anything.

There are a lot of things which could be removed here for the purpose of the testcase. This needs to be simpler.

    #A {
      transform-style: preserve-3d;
      width: 733px;
      height: 994px;
      transform: 
    perspective(1199.86px) 
    scale(1) 
    translateZ(1199.86px) 
    matrix3d(-0.427139,    -0.387849, -0.816777, 0, 
              1.66188e-07, -0.903329,  0.428948, 0, 
              0.904186,    -0.183221, -0.385847, 0, 
              0.162948,     0.448783, -4.12311,  1) 
    translate(366.5px, 497px);
      pointer-events: all;
      backface-visibility: visible;
    }

    #B {
      position: absolute;
      pointer-events: all;
      border-radius: 20px;
      user-select: none;
      backface-visibility: visible;
      background-color: rgba(255, 0, 0, 0.333);
      width: 676px;
      height: 512px;
      transform: 
    translate(-50%, -50%) 
    matrix3d(6.54239e-10,  3.83761e-10,  0.0019989,   0, 
            -0.000520044, -0.00193007,   5.28292e-10, 0, 
            -0.00193007,   0.000520044,  5.33518e-10, 0, 
             0.594771,     0.986186,    -0.00800002,  1);
    }


the scale(1) can be removed, pointer-events, etc.
And probably something with simpler numbers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240527/8d845278/attachment.htm>


More information about the webkit-unassigned mailing list