layout/reftests/first-line/out-of-flow-1b.html
author bzbarsky@mit.edu
Wed, 07 Nov 2007 09:13:00 -0800
changeset 7656 db9be2d12403c8eaa9bedeb09afe39e67c69632b
child 37575 8153246e8deb19ec9e745fa3df0f0cf89e6a2c50
permissions -rw-r--r--
Implement hixie's first-line proposal: only inherit properties that inherit by default from ::first-line. Inherit the reset properties from its style parent (which is the node that we'd inherit from if the ::first-line were not there). Bug 395623, r+sr=dbaron, a=beltzner

<!DOCTYPE html>
<html>
  <head>
    <style>
      div { color: red }
      div::first-line { color: green }
    </style>
  </head>
  <body>
    <div><span><span style="float: left">This should be green</span></span></div>
  </body>
</html>