Closed
Bug 24838
Opened 25 years ago
Closed 25 years ago
fieldsets cause strange behaviour on contained frames
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: bugs, Assigned: eric)
References
Details
try this:
edit->Preferences->Wallet
click the "view signons" button (or the "view wallet contents" button)... note
the button jump from the right side of the pane to the left. the XUL code is
this:
<html:fieldset>
<html:legend>&walletHeader;</html:legend>
<html:div class="hspace-both">&walletDetails;</html:div>
<spring style="height: 10px;"/>
<box align="horizontal" style="width: 93%;" flex="100%" class="hspace-both">
<html:label for="walletServer" accesskey="c" tabindex="0">
&server.label;
</html:label>
<html:input name="Wallet Server:" type="text" id="walletServer"
pref="true" preftype="string" prefstring="wallet.Server"
flex="100%"/>
</box>
<box align="horizontal" flex="100%" style="width: 93%" class="hspace-both">
<spring flex="100%"/>
<titledbutton value="&viewWallet.label;" class="dialog push"
onclick="viewWallet();"/>
</box>
</html:fieldset>
replacing the fieldset with a box yields expected results (no jumping)
note also the need to put a inline style width on the boxes contained within the
fieldset (style="width: 93%") in order to force the box to occupy as much
horizontal space as is available. This is another problem with fieldsets that I
think could be related to bug 20070 ("html:fieldset does not always size
correctly")
Comment 2•25 years ago
|
||
Eric, I am assigning this to you, because you need to turn on the rework of the
fieldset code and see why it isn't working as well with boxes as it should. My
guess is that this bug's issues will be solved then.
Assignee: rods → evaughan
Comment 3•25 years ago
|
||
Bug description says this is happening for both the view-signons button and the
view-wallet button. I'm definitely seeing this for the view-signon button (I've
even reported it in bug 24351) but I am not seeing in on the view-wallet button.
The latter works fine for me.
Comment 5•25 years ago
|
||
Well things have changed again. Previously I saw this only on the signon
viewer. With a tree that I just pulled, I am seeing this on the wallet editor
and the cookie viewer as well. All three of these have buttons in the
preference panel, and pressing any of them cause the button to jump to another
position.
Assignee | ||
Comment 6•25 years ago
|
||
I currenly have fixes for these. It involves a new tag called <titledbox> its
like a fieldset but xul based. I'm currently fixing up the preferences. Hope no
one minds...
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•25 years ago
|
||
Fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•