DSpace
  1. DSpace
  2. DS-378

XMLUI Submission Interface messes up in IE7 after an empty <hint> in input_forms.xml

    Details

    • Type: Bug Bug
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 1.6.0
    • Component/s: XMLUI
    • Labels:
      None
    • Environment:
      Only happens in Internet Explorer (verified in 7.0 and 8.0)
    • Attachments:
      1
    • Comments:
      1

      Description

      If your input_forms.xml file includes at least one empty <hint> tag (either <hint/> or <hint></hint>), then the XMLUI will insert in an empty XHTML tag corresponding to that empty hint text:
      <span class="field-help"/>

      When Internet Explorer encounters one of those empty XHTML tags, it seems to mess up the CSS for all text following it. Normally, the default CSS for "field-help" includes "font-size: 80%". Unfortunately, IE will apply that style to *all text* which comes after that empty tag. If you end up having multiple empty "field-help" tags on one page, you end up with drastically decreasing text size as the text is decreased by 80% after each empty tag.

      Attached is an HTML dump of an example of this problem, provided by Alice Platt on dspace-tech mailing list.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Tim Donohue
            Reporter:
            Tim Donohue
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: