Bug 15311

Summary: float:left for span is causing the misalignment of checkbox.
Product: WebKit Reporter: Anantha Keesara <anantha>
Component: EvangelismAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: hyatt, jensimmons, phiw2, webkit
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://vip.bokee.com/register.php
Attachments:
Description Flags
float:left for span is causing the misalignment of checkbox.
none
strict test case none

Description Anantha Keesara 2007-09-28 16:45:39 PDT
Steps:
1. Launch Safari.
2. Goto http://vip.bokee.com/register.php

Issue:
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:
https://bugzilla.mozilla.org/show_bug.cgi?id=50630