Lazy attribute synchronization does not generate mutation records (MutationObserver) [or get reflected in DevTools]
Reported by
bend...@fullstory.com,
Oct 20 2016
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36 Steps to reproduce the problem: 1. Open test case 2. Inspect the blue svg shape in dev tools What is the expected behavior? The 'transform' attribute of the element should always reflect the change What went wrong? If the transformation happens asynchronously after a long enough delay, the dom attribute doesn't update. Did this work before? N/A Does this work in other browsers? N/A Chrome version: 54.0.2840.59 Channel: stable OS Version: OS X 10.11.6 Flash Version: Shockwave Flash 23.0 r0 It seems to always succeed after 1ms and always fail after 100ms, with some flakiness around 11ms.
,
Oct 20 2016
Also filed for webkit -- https://bugs.webkit.org/show_bug.cgi?id=163736
,
Oct 20 2016
Thanks for the quick reply. Calling getAttribute works for me too -- I had forgotten to check it. But besides the DevTools view, mutation observer records aren't triggered as expected -- see updated test case. This is true on page load as well as after a delay.
,
Oct 20 2016
Yeah, that makes sense since they rely on the same set of hooks. Will need to look into what the MutationObserver expectations might be in this case.
,
Oct 20 2016
Renaming. Based on the symptoms, this will not be restricted to transforms.
,
Oct 20 2016
,
Dec 15 2017
Issue 795174 has been merged into this issue.
,
Dec 17
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Dec 17
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by f...@opera.com
, Oct 20 2016Status: Available (was: Unconfirmed)