fieldsets cause strange behaviour on contained frames

VERIFIED FIXED in M14

Status

()

Core
Layout: Form Controls
P3
normal
VERIFIED FIXED
19 years ago
17 years ago

People

(Reporter: Ben Goodger (use ben at mozilla dot org for email), Assigned: Eric Vaughan)

Tracking

Trunk
x86
Windows 98
Points:
---

Firefox Tracking Flags

(Not tracked)

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 1

19 years ago
Reassigning to Rod.
Assignee: karnaze → rods

Comment 2

19 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

19 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.
(Assignee)

Comment 4

19 years ago
targeting
Status: NEW → ASSIGNED
Target Milestone: M14

Comment 5

19 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

19 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

18 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
(Assignee)

Comment 7

18 years ago
Fixed.

Comment 8

18 years ago
Updating QA contact.
QA Contact: ckritzer → bsharma

Comment 9

17 years ago
Verified build 2001080603 os:win98
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.