images are loaded by apply_style directly from disk. In order to use the resource manager to load the image we need to know the url of the current document (in order to resolve relative paths), and that url isn't available to the layout task currently.
It seems like layout shouldn't be responsible for loading images anyway, so something needs to be reconsidered here.
images are loaded by apply_style directly from disk. In order to use the resource manager to load the image we need to know the url of the current document (in order to resolve relative paths), and that url isn't available to the layout task currently.
It seems like layout shouldn't be responsible for loading images anyway, so something needs to be reconsidered here.