Bug 163736 - Asynchronous SVG transformations aren't always reflected in the dom.
Summary: Asynchronous SVG transformations aren't always reflected in the dom.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Safari 9
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-10-20 09:21 PDT by Ben Dean
Modified: 2022-07-15 16:35 PDT (History)
5 users (show)

See Also:


Attachments
small test case (679 bytes, text/html)
2016-10-20 09:21 PDT, Ben Dean
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Dean 2016-10-20 09:21:26 PDT
Created attachment 292206 [details]
small test case

Scheduling an SVG transformation on an element long enough after page load doesn't change the element's transform attribute in the dom.

To replicate, open the test case and inspect the rotated SVG element in devtools. The element's transform attribute should include "rotate(30)" but doesn't.

But the dom updates as expected if the transformation is only delayed immediately (or a few ms) after page load, or if it's applied in the console.
Comment 1 Ben Dean 2016-10-20 09:24:58 PDT
Also filed for chromium -- https://bugs.chromium.org/p/chromium/issues/detail?id=657860
Comment 2 Ben Dean 2016-10-20 09:54:59 PDT
This is actually a problem involving mutation observer records -- please see the discussion on the chromium bug report https://bugs.chromium.org/p/chromium/issues/detail?id=657860
Comment 3 Brent Fulgham 2022-07-15 16:35:43 PDT
Still seems to be a problem.
Comment 4 Radar WebKit Bug Importer 2022-07-15 16:35:53 PDT
<rdar://problem/97100458>