https://bugzilla.novell.com/show_bug.cgi?id=650050

https://bugzilla.novell.com/show_bug.cgi?id=650050#c0


           Summary: ListItem does not render non-standard Attributes
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


Created an attachment (id=397677)
 --> (http://bugzilla.novell.com/attachment.cgi?id=397677)
Test case

User-Agent:       Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1;
Trident/5.0)

https://bugzilla.novell.com/show_bug.cgi?id=507836 may be related.
This also occurs on Mono 2.6.x.

Non-standard Attributes for a ListItem (<option>) are omitted when generating
the HTML for it.

On .NET, the non-standard attribute is NOT omitted, i.e., it is returned in the
output HTML as is.

This behaviour occurs whether specified in HTML or via code.

Reproducible: Always

Steps to Reproduce:
1. See the attached test case

Actual Results:  
<select id="sel" runat="server" arb="xyz">
    <option value="A" lang="en">Option A</option>
</select>

The non-standard attribute >> url="URL-A" << is omitted for the ListItem, but
>> arb="xyz" << for the HtmlSelect control IS returned as is (as expected).

Expected Results:  
<select id="sel" runat="server" arb="xyz">
    <option value="A" url="URL-A" lang="en">Option A</option>
</select>

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to