Chromium Code Reviews
DescriptionSchedule cursor update on URL cursor image loaded
When setting a custom cursor image through CSS URL, the cursor will reflect the change only when the image was already cached.
This is because we schedule cursor update on style/layout change, but at that time the resource image might not been downloaded yet.
This CL adds resource image listeners when the style changed, and will schedule update when the image was loaded.
Note:
The layout test will crash on Debug mode, this is due to https://crbug.com/596782 and not related to this CL.
(Release build is fine though)
BUG=532233
Committed: https://crrev.com/3f1e03998e7a4bc4a422e7eb4f6a25a17eebf508
Cr-Commit-Position: refs/heads/master@{#405019}
Patch Set 1 : Add resource listeners and layout test #
Total comments: 2
Patch Set 2 : dtapuska's review #
Total comments: 2
Patch Set 3 : eae's review #
Messages
Total messages: 18 (8 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||