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 242026

Summary: Support HTML5 <main> tag
Product: web Reporter: Fleshgrinder
Component: HTML EditorAssignee: Marek Fukala <mfukala>
Status: RESOLVED FIXED    
Severity: normal CC: ashunigam
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Fleshgrinder 2014-02-17 21:19:45 UTC
NetBeans currently doesn't know about the HTML5 <main> tag.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main
Comment 1 Vladimir Riha 2014-02-19 08:13:47 UTC
Reproducible

Product Version: NetBeans IDE Dev (Build 201402190001)
Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b69
Runtime: Java(TM) SE Runtime Environment 1.8.0-b129
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 2 Marek Fukala 2014-07-24 09:27:03 UTC
changeset:   276041:bae9120d09f7
summary:     #242026 - Support HTML5 <main> tag

The fix is quite hacky though - the whole html5 metadata need an update including the documentation. I've just manually added the main tag + its 'role' attribute to the generated elements model, but there's no documentation...
Comment 3 Quality Engineering 2014-07-25 02:35:30 UTC
Integrated into 'main-silver', will be available in build *201407250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bae9120d09f7
User: Marek Fukala <mfukala@netbeans.org>
Log: #242026 - Support HTML5 <main> tag
Comment 4 Vladimir Riha 2014-12-07 09:55:40 UTC
*** Bug 249134 has been marked as a duplicate of this bug. ***