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)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

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")
Reassigning to Rod.
Assignee: karnaze → rods
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
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.
targeting
Status: NEW → ASSIGNED
Target Milestone: M14
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.
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...
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed.
Updating QA contact.
QA Contact: ckritzer → bsharma
Verified build 2001080603 os:win98
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.