<!DOCTYPE html>
<html>
<style>
    #container {
        float: right;
    }
</style>
</head>
<body>
<p> webkit.org/b/117370: Ignore trailing space when deciding whether text fits on a line.</p> 
<div id="container">
        <a href="">A</a>
        <a href="">B</a></div>
</div>
</body>
