WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
16841
Display Error: empty object renders with a space in Safari, different in FF
https://bugs.webkit.org/show_bug.cgi?id=16841
Summary
Display Error: empty object renders with a space in Safari, different in FF
Cameo Wood
Reported
2008-01-11 10:42:27 PST
data:text/html,<p align="center"><object height="350" width="425"></object></p> I'm not sure which behaviour is correct, but I thought I'd send this along to you guys to look into at mrowe's recommendation.
Attachments
Minimal test case
(268 bytes, text/html)
2008-02-07 05:41 PST
,
Robert Blaut
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Dave Hyatt
Comment 1
2008-01-11 10:49:07 PST
It's almost like Firefox is doing <object> fallback for empty object elements (so they turn into spans effectively and then the width/height is ignored). It's not clear to me if that should be done or not, since technically there is nothing to fall back to.
Ian 'Hixie' Hickson
Comment 2
2008-01-14 18:42:08 PST
I'd say the following two tests should be handled the same: data:text/html,<p><object height="350" width="425"></object></p> data:text/html,<p><object height="350" width="425">X</object></p> I don't think we should change fallback behaviour just because the element is empty.
Eric Seidel (no email)
Comment 3
2008-02-06 16:24:11 PST
This is related and possibly a dupe of 15205.
Robert Blaut
Comment 4
2008-02-07 05:41:20 PST
Created
attachment 18982
[details]
Minimal test case
Robert Blaut
Comment 5
2008-02-07 05:43:36 PST
***
Bug 15205
has been marked as a duplicate of this bug. ***
Robert Blaut
Comment 6
2008-02-07 05:51:37 PST
***
Bug 10622
has been marked as a duplicate of this bug. ***
Eric Seidel (no email)
Comment 7
2008-05-05 10:11:19 PDT
Hyatt, Hixie: if you two disagree with FF's behavior, it would be great if you could file a bug with them. It seems real world websites depend on this (given the dupes we've seen reported).
Eric Seidel (no email)
Comment 8
2008-05-05 10:12:19 PDT
Oh, and BTW, this is not just FF which we're differing from. FF is just matching IE's behavior here. IE collapses empty <object> tags as well.
Mark Rowe (bdash)
Comment 9
2008-10-08 14:17:39 PDT
***
Bug 21482
has been marked as a duplicate of this bug. ***
Mark Rowe (bdash)
Comment 10
2008-10-08 14:24:02 PDT
<
rdar://problem/6279163
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug