<?xml version="1.0" encoding="utf-8" ?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Image Caption Test</title>
<style>
caption, legend { color: red; }
</style>
</head>
<body>
  <p>Some text before figures</p>
  <figure>
    <img src="/style/michel-fortin.png" />
    <caption>Figure caption (should be red)</caption>
  </figure>
  <p>Some text between figures</p>
  <figure>
    <img src="/style/michel-fortin.png" />
    <legend>Figure legend (should be red)</legend>
  </figure>
  <p>Some text after figures</p>
</body>
</html>