Bug 153717

Summary: Dynamically updating a custom property doesn't cause a style change
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, hyatt, koivisto, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 9   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase none

Simon Fraser (smfr)
Reported 2016-01-30 14:37:37 PST
Created attachment 270321 [details] Testcase Attached testcase changes a variable on a timer, but there are no resulting style updates. It works in FF.
Attachments
Testcase (709 bytes, text/html)
2016-01-30 14:37 PST, Simon Fraser (smfr)
no flags
Radar WebKit Bug Importer
Comment 1 2016-01-30 14:38:07 PST
Simon Fraser (smfr)
Comment 2 2016-01-30 17:32:17 PST
Oddly this seems to work in debug builds, but not release builds.
Simon Fraser (smfr)
Comment 3 2016-02-29 14:40:09 PST
I wonder if some style caching is triggering this.
Antti Koivisto
Comment 4 2016-04-05 08:13:49 PDT
Looks fine with ToT, I think this was fixed by https://trac.webkit.org/r198584
Antti Koivisto
Comment 5 2016-04-05 08:52:05 PDT
Oh I didn't try release build. Maybe it is not fixed.
Antti Koivisto
Comment 6 2016-04-05 11:03:08 PDT
Seems to work fine in release too.
Simon Fraser (smfr)
Comment 7 2016-04-05 11:55:15 PDT
Right, seems to work now.
Note You need to log in before you can comment on or make changes to this bug.