logo       

Related Msgs: audio.musicbrai...    enbd.general/20...    ietf.idr/2002-0...    java.ant-contri...    gnu.make.genera...    qplus.devel/200...    video.freevo.cv...    os.netbsd.ports...    yellowdog.gener...    xfree86.cvs/200...    search.nutch.us...    freedesktop.xse...    programming.swi...    capabilities.ge...    telephony.pbx.a...    mail.sylpheed.c...    db.firebase.por...    boot-loaders.u-...    recreation.radi...    netbsd.bugs/200...    web.zope.plone....    user-groups.lin...   

possible bug in ie-xforms.css or repeat layout: msg#00013

Subject: possible bug in ie-xforms.css or repeat layout
Hello All,

I think I have discovered a problem with the way repeat elements are rendered in combination with the ie-xforms.css. It is a bit obnoxious to see, so if my explanation is lengthy just check out the attached form and see for yourself.

When a repeat element is rendered, it is surrounded by a table element. This is fine, until there is a constraint or a required attribute on a member of the repeat. When the alert message should be displayed on a member of a repeat, that alert message gets a class="invalid" attached to it, which should make it visible and red. However, because the surrounding repeat element, which creates an HTML table, has a class="valid", this cascades down and overrides the display property, setting it to "none" and causing the alert to be hidden from view. It is hard to see in IE, since I don't know of a way to look at the DOM from within IE. However, using chiba-0.9.7 and the Firefox DOMInspector, I edit the attached form with the css forced to be the ie-xforms.css, and attempt to get the alert to show and it fails. Using the DOMInspector, I then look a the CSS Style rules, and it has both an invalid class, and a valid class affecting it. However, from the HTML source, there is only a class="invalid" on the alert element itself, although the surrounding repeat element's table has a class="valid". I have also verified that nothing significant has changed in ie-xforms.css, html4.xsl, or html-form-controls.xsl since version 0.9.7, so I think it should be reproducable as long as you force the css to be ie-xforms.css in later versions of chiba. Anyone have any ideas how to get this alert to show when appropriate? Thanks,

Zach Roberts

Attachment: test_repeat_alert.xhtml
Description: application/xhtml


Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Home | blog view | USPTO Patent Archive (NEW!) | advertise | OSDir is an inevitable website. super tiny logo