[whatwg] <menuitem>: Issue reported by the web developers

Hello Friends,

 

We have implemented contextmenu attribute in blink as per the specification.

There is an issue reported by the web developers.

 

As per specification [1][2], <menuitem> should not have end tag, but few
websites uses <menuitem>Some markup</menuitem> which resulted in broken
sites[3][4].

Firefox allows  <menuitem>Some markup</menuitem>. So, we are wondering if
specification can be modified to allow <menuitem>Some markup</menuitem> for
backward compatibility.

 

Please provide your guidance on the same.

 

 

[1] <https://html.spec.whatwg.org/multipage/forms.html#the-menuitem-element>
https://html.spec.whatwg.org/multipage/forms.html#the-menuitem-element

[2] <https://html.spec.whatwg.org/multipage/syntax.html#void-elements>
https://html.spec.whatwg.org/multipage/syntax.html#void-elements

[3]https://crbug.com/412945

[4]https://crbug.com/434240

 

 

Thanks and regards,

Sanjoy Pal

 

Received on Wednesday, 26 November 2014 05:53:16 UTC