Created attachment 74750 [details] Web page that reproduce the issue When I add a data attribute to an element via a click event and that I've set a style rule that apply based on this data attribute. On any webkit version I've tried (Safari/Chromium included), the style is not applied. This works on Firefox 4b7. Not sure my explanation is clear enough so here's a test page to reproduce it: http://www.jeremyselier.com/s/bug/css-datavar
Not just data attributes — looks like *any* attributes that are toggled/changed via JavaScript don’t cause a repaint.
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.