Closed
Bug 308455
Opened 18 years ago
Closed 18 years ago
Move labels
Categories
(Core Graveyard :: XForms, defect)
Core Graveyard
XForms
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: peter.nunn, Assigned: peter.nunn)
Details
(Keywords: fixed1.8)
Attachments
(2 files, 1 obsolete file)
2.50 KB,
patch
|
smaug
:
review+
doronr
:
review+
|
Details | Diff | Splinter Review |
1.19 KB,
patch
|
smaug
:
review+
doronr
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050914 Firefox/1.6a1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050914 Firefox/1.6a1 Most xforms processors have labels before the content and the alerts/help/hint after the content. The default behavior is to place all decorations before the content of the control. Reproducible: Always
Assignee | ||
Comment 1•18 years ago
|
||
Patch moves controls to after the xforms content but leaves labels before the content
Attachment #196026 -
Flags: review?(smaug)
Comment 2•18 years ago
|
||
(In reply to comment #1) > Created an attachment (id=196026) [edit] > Fix to move labels before content and all other xforms after > > Patch moves controls to after the xforms content but leaves labels before the > content Please, don't use tabs, but spaces. And I didn't check whether you're using \r\n line endings. It must be \n.
Comment 3•18 years ago
|
||
Comment on attachment 196026 [details] [diff] [review] Fix to move labels before content and all other xforms after Ok, there were no \r\ns. But please replace tabs with spaces. r+
Attachment #196026 -
Flags: review?(smaug) → review+
Comment 4•18 years ago
|
||
Comment on attachment 196026 [details] [diff] [review] Fix to move labels before content and all other xforms after > <!-- LABEL: <DEFAULT> --> > <binding id="xformswidget-label" > extends="chrome://xforms/content/xforms.xml#xformswidget-base"> > <content> > <html:span anonid="content"></html:span> > <html:span anonid="anoncontent"> >- <children/> >+ <children/> > </html:span> And what is this change? Remove it. > <content> >- <children/> >+ <children includes="label" /> Remove the space before \> > onkeypress="if (event.keyCode == event.DOM_VK_RETURN) this.parentNode.dispatchDOMActivate();" > xbl:inherits="accesskey"/> >+ <children /> Remove the space before \> > <binding id="xformswidget-textarea" > extends="chrome://xforms/content/xforms.xml#xformswidget-base"> > <content> >- <children/> >+ <children includes="label" /> Remove the space before \>
Assignee | ||
Comment 5•18 years ago
|
||
Attachment #196026 -
Attachment is obsolete: true
Attachment #196071 -
Flags: review?(smaug)
Comment 6•18 years ago
|
||
Comment on attachment 196071 [details] [diff] [review] Patch to move labels before content Aaron, what do you think about this?
Attachment #196071 -
Flags: review?(smaug)
Attachment #196071 -
Flags: review?(aaronr)
Attachment #196071 -
Flags: review+
Comment 7•18 years ago
|
||
Comment on attachment 196071 [details] [diff] [review] Patch to move labels before content or doron?
Attachment #196071 -
Flags: review?(aaronr) → review?(doronr)
Updated•18 years ago
|
Attachment #196071 -
Flags: review?(doronr) → review+
Comment 8•18 years ago
|
||
Checked in to trunk
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Whiteboard: xf-to-branch
Updated•18 years ago
|
Assignee: aaronr → peter.nunn
Status: ASSIGNED → NEW
Comment 9•18 years ago
|
||
Should 'output' element have the same behaviour?
Comment 10•18 years ago
|
||
(In reply to comment #9) > Should 'output' element have the same behaviour? Hmmm, yes I guess it should. I do not know whether we just missed it, or somebody had a reason for not including it? (I just forgot about it)
Comment 11•18 years ago
|
||
Attachment #197412 -
Flags: review?(smaug)
Updated•18 years ago
|
Attachment #197412 -
Flags: superreview-
Attachment #197412 -
Flags: review?(smaug)
Attachment #197412 -
Flags: review?(doronr)
Attachment #197412 -
Flags: review+
Comment 12•18 years ago
|
||
Comment on attachment 197412 [details] [diff] [review] Move label for output too oops, I don't know how I managed to set the sr flag
Attachment #197412 -
Flags: superreview-
Updated•18 years ago
|
Attachment #197412 -
Flags: review?(doronr) → review+
Comment 13•18 years ago
|
||
It seems to me label for checkbox is right behind label. Should <xf:input type="xsd:boolean" have the same behaviour or not?
Comment 14•18 years ago
|
||
(In reply to comment #11) > Created an attachment (id=197412) [edit] > Move label for output too Checked in to trunk
Updated•18 years ago
|
OS: Windows XP → All
Hardware: PC → All
Comment 15•18 years ago
|
||
(In reply to comment #13) > It seems to me label for checkbox is right behind label. Should <xf:input > type="xsd:boolean" have the same behaviour or not? I'm no big UI wiz. I just assume that XForms labels appear before the control. So I do not know...
Comment 16•18 years ago
|
||
(In reply to comment #15) > (In reply to comment #13) > > It seems to me label for checkbox is right behind label. Should <xf:input > > type="xsd:boolean" have the same behaviour or not? > > I'm no big UI wiz. I just assume that XForms labels appear before the control. > So I do not know... Looks like we are being consistent with the other processors, too. An individual boolean input will have the label before the checkbox, just like the label is before a regular input. However, if you have a select with appearance='full', then the labels will be after the checkboxes in the group.
Comment 17•18 years ago
|
||
(In reply to comment #16) > (In reply to comment #15) > > (In reply to comment #13) > > > It seems to me label for checkbox is right behind label. Should <xf:input > > > type="xsd:boolean" have the same behaviour or not? > > > > I'm no big UI wiz. I just assume that XForms labels appear before the control. > > So I do not know... > > Looks like we are being consistent with the other processors, too. An > individual boolean input will have the label before the checkbox, just like the > label is before a regular input. However, if you have a select with > appearance='full', then the labels will be after the checkboxes in the group. Ok. It's just a question. I looked at xul:checkbox and I thought it would be good. (In reply to comment #14) > (In reply to comment #11) > > Created an attachment (id=197412) [edit] [edit] > > Move label for output too > > Checked in to trunk I have a question. Since patches were checked when bug will be fixed and when patched will be included into trunk? From what does it depended on?
Comment 18•18 years ago
|
||
> (In reply to comment #14)
> > (In reply to comment #11)
> > > Created an attachment (id=197412) [edit] [edit] [edit]
> > > Move label for output too
> >
> > Checked in to trunk
>
> I have a question. Since patches were checked when bug will be fixed and when
> patched will be included into trunk? From what does it depended on?
To "branch" I guess you mean. We do not have a good procedure for that for
now... we'll probably update branch in batches, or maybe we could just build an
XPI for branch manually occasionally.
Comment 19•18 years ago
|
||
checked into branch 20051004
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: xf-to-branch
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•