[FCP++] Background image: track individually
Background image is different from normal image in that one node could have multiple background images, while a normal image is one node by itself. Currently we are using node id to track all of the background images attached to a node. All of the background images attached to one node are regarded as one image (tracked by one ImageRecord) in FCP++. We should track each background images separately instead to have higher resolution to the background image behaviors. This CL will address this issue. We will use the DOM node id and the style image pointer as a pair to be the id. Bug: 936149 Change-Id: I6302872dbd2a2b3e082eeeaa7720354eced50275 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1554426Reviewed-by:Steve Kobes <skobes@chromium.org> Commit-Queue: Liquan (Max) Gu <maxlg@chromium.org> Cr-Commit-Position: refs/heads/master@{#653274}
Showing
This diff is collapsed.
Please register or sign in to comment