<!DOCTYPE html> <!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] -->
<style>
  div {
    float: right;
    font-family: Ahem;
    font-size: 20px;
    color: white;
    border: 1px solid green;
  }
</style>
<div>floating text content</div>
