<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head> <meta charset="UTF-8" /> <title>CSS Regions: :hover on content node parent when the parent is in the named flow and rendered as a sibling of its child</title> <link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" /> <link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help" /> <link href="http://www.w3.org/TR/css3-regions/#the-flow-from-property" rel="help" /> <meta content="CSS properties set through rules that use the :hover pseudo-class on an element are properly propagated to children that are flowed into regions even when they're visually rendered as siblings" name="assert" /> <meta content="interact ahem" name="flags" /> <style> #source { font-family: Ahem; font-size: 20px; line-height: 1em; width: 5em; height: 5em; flow-into: f; } #parent { color: blue; width: 100px; height: 100px; background-color: yellow; flow-into: f; } #parent:hover { color: lime; } #region { flow-from: f; } .region { width: 100px; height: 200px; } .region p { width: 100%; height: 50%; background-color: red; } </style> </head> <body> <ol> <li>You should not see any red before or during this test</li> <li>Move the mouse over the yellow square</li> <li>The blue square should turn green</li> </ol> <div id="parent"> <div id="source">xxxxx<br />xxxxx<br />xxxxx<br />xxxxx<br />xxxxx</div> </div> <div id="region" class="region"> <p></p> </div> </body></html>