This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 229186 - <video> element should allow "muted" attribute
Summary: <video> element should allow "muted" attribute
Status: REOPENED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-30 03:33 UTC by _ gtzabari
Modified: 2014-10-06 13:25 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gtzabari 2013-04-30 03:33:27 UTC
Product Version: NetBeans IDE 7.3 (Build 201302132200)
Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\7.3
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\7.3

Netbeans flags <video muted="true"> as an error, but the HTML5 standard indicates this attribute is valid: http://www.w3.org/TR/html5/embedded-content-0.html#attr-media-muted
Comment 1 Vladimir Riha 2013-05-23 09:06:06 UTC
reproducible

Product Version: NetBeans IDE Dev (Build web-main-10598-on-20130523)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.2.0-43-generic-pae running on i386; UTF-8; en_US (nb
Comment 2 Marek Fukala 2013-06-24 13:28:41 UTC
Isn't the boolean attribute supposed to be used in such form: <video muted></video>? This works well, resp. the validator won't complain.
Comment 3 _ gtzabari 2013-06-24 16:17:25 UTC
You're right.

Can we improve the error message? Instead of:

  Bad value "true" for attribute "muted" on element "video".

perhaps it should say:

  Boolean attribute "muted" may have a value of "muted" or no value at all. See http://www.w3.org/TR/html5/infrastructure.html#boolean-attributes for more information.
Comment 4 _ gtzabari 2013-06-24 16:17:44 UTC
(reopening as enhancement)