Closed
Bug 275227
Opened 20 years ago
Closed 20 years ago
output element with label shows output before label
Categories
(Core Graveyard :: XForms, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: aaronr, Assigned: doronr)
Details
Attachments
(2 files, 4 obsolete files)
767 bytes,
application/xhtml+xml
|
Details | |
3.44 KB,
patch
|
aaronr
:
review+
bryner
:
superreview+
|
Details | Diff | Splinter Review |
Once I apply bug 269023 so that labels work, can see right away that
xforms:output elements' values will appear BEFORE their xforms:label's value.
Testcase coming.
Assignee | ||
Comment 2•20 years ago
|
||
Still figuring out how this works, but this seems to do the trick. However,
selecting all the text is impossible now.
Assignee: aaronr → doronr
Status: NEW → ASSIGNED
Comment on attachment 170601 [details] [diff] [review]
quick fix
brian, I put you to sr since it is based off of how you handle label with input
element. Thanks.
Attachment #170601 -
Flags: superreview?(bryner)
Attachment #170601 -
Flags: review?(aaronr)
Comment on attachment 170601 [details] [diff] [review]
quick fix
Sorry, found bugs when I tried your patch. Will post testcase.
Attachment #170601 -
Flags: review?(aaronr) → review-
built on the XFORMS_20050106_BRANCH with this patch. With this testcase, what
the user SHOULD see is two lines; a label:value laid out next to another
label:value with a label:value on the line below.
What the user will see is a label:value with another label:value way off to the
right, outside the body. Then on the next line is a label with its value on a
third line.
Comment 6•20 years ago
|
||
the most likely problem is the div. that should probably be a span instead.
you cannot have a block element as a child of an inline element.
Assignee | ||
Comment 7•20 years ago
|
||
(In reply to comment #6)
> the most likely problem is the div. that should probably be a span instead.
> you cannot have a block element as a child of an inline element.
Hmm, I guess I could have a span and 2 child textnodes. That might work.
Comment 8•20 years ago
|
||
Comment on attachment 170601 [details] [diff] [review]
quick fix
minusing per aaron's comments.
Attachment #170601 -
Flags: superreview?(bryner) → superreview-
Assignee | ||
Comment 9•20 years ago
|
||
Attachment #170621 -
Attachment is obsolete: true
Assignee | ||
Comment 10•20 years ago
|
||
Attachment #170601 -
Attachment is obsolete: true
Attachment #170833 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #170838 -
Flags: review?(aaronr)
Assignee | ||
Comment 11•20 years ago
|
||
I choose to use html:span over html:label because I don't think we need the
extra functionality that html:label brings with it.
Assignee | ||
Comment 12•20 years ago
|
||
Attachment #170838 -
Attachment is obsolete: true
Attachment #170841 -
Flags: review?(aaronr)
Reporter | ||
Comment 13•20 years ago
|
||
Comment on attachment 170841 [details] [diff] [review]
add description of why not using a html:label per aaron
r=aaronr
Attachment #170841 -
Flags: review?(aaronr) → review+
Assignee | ||
Updated•20 years ago
|
Attachment #170841 -
Flags: superreview?(bryner)
Updated•20 years ago
|
Attachment #170841 -
Flags: superreview?(bryner) → superreview+
Comment 14•20 years ago
|
||
Checked in through bug 278896.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 15•20 years ago
|
||
Comment on attachment 170838 [details] [diff] [review]
use spans rather than label
turning off so it doesn't show in my review queue
Attachment #170838 -
Flags: review?(aaronr)
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•