Closed
Bug 391926
Opened 18 years ago
Closed 15 years ago
Conflict between bind node type as boolean and display:table-row
Categories
(Core Graveyard :: XForms, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: aandsrick, Unassigned)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
I have two input controls showing two nodes from a simple instance. One of the nodes is intended to be boolean, the other is text. I want to show the input controls on separate lines.
As soon as I have the style display:table-row and at the same time bind the node type as boolean, the boolean input control (checkbox) jumps to the top. I can either have both the inputs showing as text (not a checkbox) on separate lines (in the correct order), or I can have them side-by-side with the boolean as a checkbox. If I unbind the type, or alternatively remove the display:table-row, then the order of the input controls is correct.
Using plugin version 0.8.0.3.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Test case
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xf="http://www.w3.org/2002/xforms"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<head>
<title>Test</title>
<xf:model>
<xf:instance>
<data xmlns="">
<column-1>false</column-1>
<column-2>This is a piece of text</column-2>
</data>
</xf:instance>
<xf:bind nodeset="column-1" type="xs:boolean" />
</xf:model>
<style type="text/css">
@namespace xf url("http://www.w3.org/2002/xforms");
xf|input {
display: table-row;
}
</style>
</head>
<body>
<xf:input ref="column-2" class="columnField">
<xf:label>Text</xf:label>
</xf:input>
<xf:input ref="column-1" class="columnField">
<xf:label>Boolean</xf:label>
</xf:input>
</body>
</html>
Comment 2•15 years ago
|
||
Looks like fixed
Comment 3•15 years ago
|
||
Boy, I wouldn't think that it is a duplicate of 83830 unless they did more underlying work in that patch that did end up affecting this bug. There wasn't any problem with whether the table cell bound to the xbl, it is more the order in which the xbl binding took place if I remember right. I'll close this as 'works for me' once I verify it works on 0.8.7.
This works for me on the build we are putting out as 0.8.7
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Assignee | ||
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
•