Add a .style like API for setting transform values

NEW
Unassigned

Status

()

7 years ago
a year ago

People

(Reporter: mounir, Unassigned)

Tracking

(Blocks: 1 bug, {dev-doc-needed})

Trunk
dev-doc-needed
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [games:p?][diamond])

(Reporter)

Description

7 years ago
Zynga claims creating CSS transform strings takes 7% of CPU usage on an i7 Mac Book Pro [1] and would like an API that allow setting transform values using integer directly from the .style property.
That should probably be added to CSSOM specifications. If no one came with a proposal to the CSS WG and that proposal sounds sensible, maybe Mozilla could propose and implements something?

[1] https://bugs.webkit.org/show_bug.cgi?id=65535
[2] http://dev.w3.org/csswg/cssom

Updated

7 years ago
Whiteboard: [games:p3]

Updated

6 years ago
Keywords: dev-doc-needed

Comment 1

4 years ago
Mournir, would you be willing to mentor a contributor through this bug?
Flags: needinfo?(mounir)

Updated

4 years ago
Whiteboard: [games:p3] → [games:p3][diamond]
Whiteboard: [games:p3][diamond] → [games:p?][diamond]
(Reporter)

Updated

2 years ago
Flags: needinfo?(mounir)
You need to log in before you can comment on or make changes to this bug.