Tested the issue on windows 7, Linux Ubuntu 14.04 and Mac 10.12.2 using chrome version 56.0.2924.76 and 58.0.2997.0 with the below steps
1. Created the html file with the given code snippet
2.Opened html file got the output as "one"
3.Observed the error in console
Please find the attached screen shot and provide us the expected behavior to triage the issue from test team end.
Thanks,
This was the intended purpose of my original CL (well, not that it is developer-
visible, but that it removes the style). I landed it as an optimization to
help improve performance of style recalc, because mutable local style defeats some
of the style optimizations (at least it did at the time I wrote this patch).
Marking as untriaged for the style team to decide what to do with this bug.
Can can probably swap with an immutable empty inline style instead? Then change the inlineStyle() checks to look for mutability instead.
WebKit actually changed their behavior to cache inline styles in the MatchedPropertiesCache too avoiding the need to disable some optimizations here, so we might consider that as a follow up.
Comment 1 by eco...@igalia.com
, Jan 30 2017