<!DOCTYPE html>
<html>
  <head>
    <link rel='match' href='last_child_pseudo_b.html'>
    <title>:last-child test</title>
    <style type="text/css">
      html            { background: red;}
      html:last-child { background: yellow; }

      p { width: 20px; height: 20px; background: orange; float: left; margin-left: 10px; }
      div { clear: both; }
      #p1, #p2, #p3 { background: red; }
      #d1 > *:last-child { background: green }
      #d2 > *:last-child { background: green }
      #d3 > *:last-