Closed
Bug 67133
Opened 24 years ago
Closed 23 years ago
Alternate contents of an empty <OBJECT> (data=.html file) is not being rendered.
Categories
(Core :: Layout: Form Controls, defect, P4)
Tracking
()
People
(Reporter: illinar, Assigned: serhunt)
References
()
Details
(Keywords: testcase)
Attachments
(2 files)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; 0.7) Gecko/20010109
BuildID: 2001010901
Mozilla 0.6 worked absolutely correctly with this page, Internet Explorer (all
versions) works with it correctly as well, but 0.7 suddenly crashes trying to
render this page, probably that is caused by <form> elements of the page, since
page is displayed, except the <form> part and afterwards Mozilla dies.
Reproducible: Always
Steps to Reproduce:
just open the url
Actual Results: crash with GPF
Expected Results: render the page correctly as Mozilla 0.6 does
probably that is caused by <form> tag without </form>, also
tag <object>...</object> is there...
Comment 1•24 years ago
|
||
no crash, linux build 2001-01-29-08.
Could you please try a more recent Mozilla build?
Comment 2•24 years ago
|
||
WORKSFORME
Platform: PC
OS: Windows 98
Mozilla Build: 2001012904
Comment 3•24 years ago
|
||
marking worksforme using the 2001020104 nightly on win2k.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Mozilla build 20001020104 stops crashing but it doesn't render the page
properly, in fact - the whole <object><form>...</object> section disappears -
there is a large gap there
again Mozilla at W2K platform
Status: VERIFIED → UNCONFIRMED
Resolution: WORKSFORME → ---
Comment 6•24 years ago
|
||
If I am reading correctly, an <object> ... </object>, the ... should be
rendered if <object> isn't loaded correctly.
http://www.w3.org/TR/html4/struct/objects.html#h-13.1
"If the user agent is not able to render the object for whatever reason
(configured not to, lack of resources, wrong architecture, etc.), it must try
to render its contents."
Therefore, I believe this bug is valid. As for the chance of there being a
duplicate, I find it rather likely.
Comment 7•24 years ago
|
||
Although I think the Summary should be changed to "Form inclosed in an an empty
object not being rendered". I think the browser is acting as if this object is
valid even though it isn't being loaded.
Comment 8•24 years ago
|
||
Confirmed on the OBJECT/Form not being rendered.
Platform: PC
OS: Windows 98
Mozilla Build: 2001020320
Marking NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: crash while trying to open the url → Form inclosed in an an empty <OBJECT> not being rendered.
Comment 9•24 years ago
|
||
This seems to be an object frame issue, it does seem that the button in the form
should be rendered and it doesn't appears any frames are being created. Over to
core layout
Assignee: rods → attinasi
Comment 10•24 years ago
|
||
Comment 11•24 years ago
|
||
The testcase works fin in Nav6 RTM. Building with fresh source to check on
recent build...
Comment 12•24 years ago
|
||
By setting processChildren to PR_TRUE when the ObjectFrame is created I can get
all of the other frmaes to be created (form,input) but nothing is displayed,
probably because all of the frame rects are 0,0,0,0. I'm not sure what is up...
Here is the frame dump:
ObjectFrame(object)(1)@00DC1E30 next=00DC214C {0,0,0,0} [state=00000024]
sc=0272B130<
Text(0)@00DC1E78[0,1,T] next=00DC1EB4 {0,0,0,0} [state=41000024] sc=02729F60<
"\n"
>
Block(form)(1)@00DC1EB4 next=00DC2110 {0,0,0,0} [state=00000406]
sc=02729B60(i=1,b=0)<
line 00DC20E8: count=3 state=inline,dirty,NOT Impacted,[0x3001] {0,0,0,0} <
Text(0)@00DC1F1C[0,0,F] next=00DC1F58 {0,0,0,0} [state=00000426]
sc=0272DE60<
""
>
ButtonControl(input)(1)@00DC1F58 next=00DC20AC {0,0,0,0} [state=00000426]
sc=0272DDF0<
Area(input)(1)@00DC1FFC {0,0,0,0} [state=00090406] sc=0272D230(i=1,b=0)<
line 00DC2084: count=1 state=inline,dirty,NOT Impacted,[0x1001]
{0,0,0,0} <
Text(-1)@00DC2048[0,0,F] {0,0,0,0} [state=00000406]sc=0272AB10<
""
>
>
>
>
Text(2)@00DC20AC[0,0,F] {0,0,0,0} [state=00000426] sc=0272DE60<
""
>
>
>
Text(2)@00DC2110[0,0,F] {0,0,0,0} [state=00000426] sc=02729F60<
""
>
>
Status: NEW → ASSIGNED
Comment 13•24 years ago
|
||
Hmm. The Object frame is never being reflowed, probably the reason for the empty
rects. Must ahve something to do with the fact that it is marked as a replaced
element but that it has no data coming in... maybe?
Updated•24 years ago
|
Assignee: attinasi → av
Status: ASSIGNED → NEW
Priority: -- → P4
Comment 14•24 years ago
|
||
This is looking more and more like an Object Frame issue. Note that you can get
the child frames to be created by setting processChildren to PR_TRUE when the
ObjectFrame is created in CSSFrameConstructor CreateByTag, but there are still
other problems with the way the Object frame handles itself in Reflow when it
has children (it thinks it is an image).
Over to the PluginMaster to look at, thought the priority sems pretty low for
this kind of markup...
Comment 16•24 years ago
|
||
This actually has nothing to do with Forms.
Mozilla doesn't render contents of an empty <object>, which means it treats it
as a valid object?
Attaching a new testcase with 2 objects, one empty, one with missing data.
Old summary: Form inclosed in an an empty <OBJECT> not being rendered.
New summary: Alternate contents of an empty <OBJECT> is not being rendered.
CCing Ian Hixie and David Baron for their evaluation.
Keywords: testcase
Summary: Form inclosed in an an empty <OBJECT> not being rendered. → Alternate contents of an empty <OBJECT> is not being rendered.
Comment 17•24 years ago
|
||
Marking duplicate of a bug that's a lot clearer since it starts off with that
description of the problem.
*** This bug has been marked as a duplicate of 65455 ***
Status: NEW → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → DUPLICATE
Comment 20•23 years ago
|
||
*** Bug 168866 has been marked as a duplicate of this bug. ***
Comment 21•23 years ago
|
||
reopening re: bug 168866
Status: VERIFIED → REOPENED
Resolution: DUPLICATE → ---
Summary: Alternate contents of an empty <OBJECT> is not being rendered. → Alternate contents of an empty <OBJECT> (data=.html file) is not being rendered.
Comment 22•23 years ago
|
||
I am not sure why this was reopened, but am remarking as a dup of bug 65455
*** This bug has been marked as a duplicate of 65455 ***
Status: REOPENED → RESOLVED
Closed: 24 years ago → 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•