aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/layout_task.rs
diff options
context:
space:
mode:
authorAdenilson Cavalcanti <cavalcantii@gmail.com>2015-03-25 15:29:53 -0700
committerAdenilson Cavalcanti <cavalcantii@gmail.com>2015-03-30 10:02:54 -0700
commitcdebb3ca543bb7f8d0bd71d8387925f5d8439f75 (patch)
tree1009813ef5995ab8ed71af4ef43252b373913479 /components/layout/layout_task.rs
parent5ead929fea34ca6d05d6bc4f0a07eeab4dfae207 (diff)
downloadservo-cdebb3ca543bb7f8d0bd71d8387925f5d8439f75.tar.gz
servo-cdebb3ca543bb7f8d0bd71d8387925f5d8439f75.zip
Load a placeholder when a url to an image is broken.
I decided to use the old Netscape broken image link icon (later we may replace the image asset for something more trendier). The ref test will expect that a failed load should display the rippy image. ImageCacheTask users can define if a placeholder image should be loaded at start up or not. This enables both the new behavior (e.g. always return an image even for broken urls) as also the previous one.
Diffstat (limited to 'components/layout/layout_task.rs')
0 files changed, 0 insertions, 0 deletions