Bug 21877 - <table width=50%> is not sized and resized properly
Summary: <table width=50%> is not sized and resized properly
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tables (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2008-10-24 16:02 PDT by Anantha Keesara
Modified: 2022-08-18 13:16 PDT (History)
6 users (show)

See Also:

reduction.zip (447 bytes, application/octet-stream)
2008-10-24 16:02 PDT, Anantha Keesara
no flags Details
Safari 15.5 differs while running HTML test case directly (150.70 KB, image/png)
2022-06-02 20:57 PDT, Ahmad Saleem
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anantha Keesara 2008-10-24 16:02:08 PDT
I Steps:
 Go to the attached testcase
 II Issue:
 making the width of a <marquee> equal to the total width of all its children.  When the <marquee> has no width attribute, IE lets the parent decide the width; webkit uses the sum of the children.
 III Other Browsers:
 IE7: ok
 FF3: ok
 IV Nightly tested: 37819
Comment 1 Anantha Keesara 2008-10-24 16:02:10 PDT
Created attachment 24660 [details]
Comment 2 Ahmad Saleem 2022-06-02 20:57:04 PDT
Created attachment 459982 [details]
Safari 15.5 differs while running HTML test case directly

For some strange reason - if I run this following "html" test case from the zip file, directly on Safari 15.5, it runs differently compared to other browser as visible in the attached screenshot but if I run it by copying "HTML" of the page into JS Fiddle. It runs fine.

JS Fiddle Link - https://jsfiddle.net/dfzj1kb6/3/

In short - if I run "html" directly, it is broken but if I run via JSFiddle, I am unable to reproduce this bug and it behaves like all other browsers. Thanks!