Bug 15311 - float:left for span is causing the misalignment of checkbox.
Summary: float:left for span is causing the misalignment of checkbox.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Evangelism (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P3 Normal
Assignee: Nobody
URL: http://vip.bokee.com/register.php
Depends on:
Reported: 2007-09-28 16:45 PDT by Anantha Keesara
Modified: 2008-05-03 06:27 PDT (History)
3 users (show)

See Also:

float:left for span is causing the misalignment of checkbox. (263 bytes, text/html)
2007-09-28 16:48 PDT, Anantha Keesara
no flags Details
strict test case (249 bytes, text/html)
2008-02-15 10:01 PST, Robert Blaut
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anantha Keesara 2007-09-28 16:45:39 PDT
1. Launch Safari.
2. Goto http://vip.bokee.com/register.php

Scroll to end of the page to see checkbox misalignment.

Other Browsers:
FF, IE and opera don't have this issue.

Please see attached reduction.
Comment 1 Anantha Keesara 2007-09-28 16:48:48 PDT
Created attachment 16436 [details]
float:left for span is causing the misalignment of checkbox.
Comment 2 Robert Blaut 2008-02-15 10:01:35 PST
Created attachment 19138 [details]
strict test case

The test shows that Webkit and Opera (in strict mode) properly renders this case. Your test case is rendered in quirks mode in Opera. The mode emulated old browsers bugs. Firefox is wrong in both cases. The bug report is INVALID.
Comment 3 Robert Blaut 2008-02-15 10:04:38 PST
The bug report should be considered as an evangelism bug. 
Comment 4 Eric Seidel (no email) 2008-04-15 14:52:54 PDT
FF3b5 does not agree with WebKit on the "strict" test case.  FF3b5 renders both the strict and quirks test cases identically.
Comment 5 Eric Seidel (no email) 2008-05-02 15:38:50 PDT
What is Gecko doing here?  Are they treating the checkbox as though it were a block element and expanding the width to fill the remaining space on the line? thus pushing the floated span down a line?  I'm confused by their behavior.  Our behavior does match my expectations.
Comment 6 Eric Seidel (no email) 2008-05-02 15:47:49 PDT
Hyatt, if you could please comment as to what you think IE/FF are doing here?  That would be great.  If our behavior is correct here, please close.  Using IE's inspector, I do not see the checkbox filling the line.
Comment 7 Philippe Wittenbergh 2008-05-03 06:27:18 PDT
With the strict test case, WebKit is correct and Gecko is wrong.

Gecko bug: