[Webkit-unassigned] [Bug 65535] New: A .style like API for setting transform values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 2 07:00:12 PDT 2011


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

           Summary: A .style like API for setting transform values
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pbakaus at zynga.com
                CC: simon.fraser at apple.com, dino at apple.com


"Our engine spends a lot of time creating CSS transform strings (string building alone uses 7% CPU on a i7 Mac Book Pro)

This (plus the overhead of parsing the strings to get out the transform data) makes stuff really slow.

A .style like API for setting transform values would be highly appreciated:

   node.transform.translateX = 20;
   node.transform.translateY = 10;
   node.transform.translateZ = 30;
   node.transform.scaleY = 1.0;
   node.transform.scaleX = 1.5;
   etc.


Note: We do not want to create strings here so omitting the px should be possible."

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list