Widgets: Table: Horizontal/Vertical line color cause errors in Firefox
----------------------------------------------------------------------

                 Key: XAP-490
                 URL: https://issues.apache.org/jira/browse/XAP-490
             Project: XAP
          Issue Type: Bug
          Components: Widgets: Table/Tree/TreeTable
            Reporter: Trevor Oldak


Run the following xal, errors will be thrown.
<xal>
  <freePane xmlns="http://openxal.org/ui/html"; height="100%" width="100%" 
borderPosition="center">
    <table height="200px" width="300px" x="10px" y="10px" 
horizontalLineColor="red" verticalLineColor="red">
      <column>
        <header text="Column #1" width="100px"/>
      </column>
      <column>
        <header text="Column #2" width="100px"/>
      </column>
      <row>
        <cell text="Row 1 Cell 1"/>
        <cell text="Row 1 Cell 2"/>
      </row>
      <row>
        <cell text="Row 2 Cell 1"/>
        <cell text="Row 2 Cell 2"/>
      </row>
      <row>
        <cell text="Row 3 Cell 1"/>
        <cell text="Row 3 Cell 2"/>
      </row>
    </table>
  </freePane>
</xal>

The errors:
[16:38:58 ERROR exception] Exception: Bad attribute with name 
horizontalLineColor and value red on element <table id="xap:1184186331971118" 
height="200px" width="300px" x="10px" y="10px" horizontalLineColor="red" 
verticalLineColor="red"><column id="xap:1184186331971119"><header 
id="xap:1184186331971120" text="Column #1" width="100px"/></column><column 
id="xap:1184186331971121"><header id="xap:1184186331971122" text="Column #2" 
width="100px"/></column><row id="xap:1184186331971123"><cell 
id="xap:1184186331971124" text="Row 1 Cell 1"/><cell id="xap:1184186331971125" 
text="Row 1 Cell 2"/></row><row id="xap:1184186331971126"><cell 
id="xap:1184186331971127" text="Row 2 Cell 1"/><cell id="xap:1184186331971128" 
text="Row 2 Cell 2"/></row><row id="xap:1184186331971129"><cell 
id="xap:1184186331971130" text="Row 3 Cell 1"/><cell id="xap:1184186331971131" 
text="Row 3 Cell 2"/></row></table> because of Exception: 
NS_ERROR_DOM_SYNTAX_ERR - An invalid or illegal string was specified

[16:39:0 ERROR exception] Exception: Bad attribute with name verticalLineColor 
and value red on element <table id="xap:1184186331971118" height="200px" 
width="300px" x="10px" y="10px" horizontalLineColor="red" 
verticalLineColor="red"><column id="xap:1184186331971119"><header 
id="xap:1184186331971120" text="Column #1" width="100px"/></column><column 
id="xap:1184186331971121"><header id="xap:1184186331971122" text="Column #2" 
width="100px"/></column><row id="xap:1184186331971123"><cell 
id="xap:1184186331971124" text="Row 1 Cell 1"/><cell id="xap:1184186331971125" 
text="Row 1 Cell 2"/></row><row id="xap:1184186331971126"><cell 
id="xap:1184186331971127" text="Row 2 Cell 1"/><cell id="xap:1184186331971128" 
text="Row 2 Cell 2"/></row><row id="xap:1184186331971129"><cell 
id="xap:1184186331971130" text="Row 3 Cell 1"/><cell id="xap:1184186331971131" 
text="Row 3 Cell 2"/></row></table> because of Exception: 
NS_ERROR_DOM_SYNTAX_ERR - An invalid or illegal string was specified

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to