Bug 33858 - Right border not displayed on floated element
Summary: Right border not displayed on floated element
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://paulisageek.com/tmp/chrome_bug...
Depends on:
Reported: 2010-01-19 12:56 PST by Paul Tarjan
Modified: 2013-11-18 22:23 PST (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Paul Tarjan 2010-01-19 12:56:37 PST
Test case:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" 
<html><head><style type="text/css">
div {
  float: left;
  clear: left;
  margin: 3px;
span {
  border: 1px solid;

<!-- does not show right border -->
<div><span>With trailing space, no width </span></div> 

<!-- does show right border -->
<div><span>No trailing space, no width</span></div>
<div style="width: 40ex;"><span>With trailing space, has width </span></div>
<div style="width: 40ex;"><span>No trailing space, has width</span></div>


I expect there to be a full border on all elements.
Comment 1 lixoaqui 2011-05-17 18:16:31 PDT
I confirm this is still happening, any workaround?
Comment 2 Robert Hogan 2013-11-18 22:16:50 PST
This looks OK to me on trunk. Can you confirm it's still a bug?