Re: [Xsltforms-support] Cross-browser problem with XForms dialog and table with XForms repeat
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2010-03-12 22:02:43
|
Brian, > > I encountered cross-browser problem when using XForms dialog inside a > table with XForms repeat. This XForms dialog has another table with > XForms repeat. > > In Firefox, it renders correctly -- the dialog is hidden initially and > I can click on the "show" button to show the dialog. However, in IE, > the supposed-to-be-hidden dialog appears and the "show" button shows > an empty dialog. > > > > Attached please find a simplified version of my code and two > screenshots for IE and FF. > > > > Is this a bug or something I did incorrectly? > It appears that Internet Explorer doesn't accept "div" at "td" level ! For this test case, I suggest this: <table border="1"> <thead> <tr> <th>A</th> <th>B</th> </tr> </thead> <tbody> <xf:repeat nodeset="test" appearance="full"> <tr> <td> <xf:output ref="a" /> </td> <td> <xf:output ref="b" /> </td> <td style="border-style: none; padding:0"> <xf:dialog id="dialog"> <div> <table border="1"> <thead> <tr> <th>A</th> </tr> </thead> <tbody> <xf:repeat nodeset="test" appearance="full"> <tr> <td>inner</td> </tr> </xf:repeat> </tbody> </table> </div> <xf:trigger> <xf:label>hide</xf:label> <xf:hide ev:event="DOMActivate" dialog="dialog"/> </xf:trigger> </xf:dialog> </td> </tr> </xf:repeat> </tbody> </table> (I have explicitely added "thead" elements). Rendering is not absolutely perfect but this is just a testcase... Thanks! -Alain |