| Summary: | Web Inspector: Include <template> node content in DOM Tree | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||||
| Component: | Web Inspector | Assignee: | Joseph Pecoraro <joepeck> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | burg, commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Attachments: |
|
||||||||
Created attachment 257596 [details]
[PATCH] Proposed Fix
Won't apply yet, requires the Pseudo Element patch's refactoring.
Comment on attachment 257596 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=257596&action=review > Source/WebInspectorUI/UserInterface/Models/DOMNode.js:269 > + templateContent() Getter? (In reply to comment #3) > Comment on attachment 257596 [details] > [PATCH] Proposed Fix > > View in context: > https://bugs.webkit.org/attachment.cgi?id=257596&action=review > > > Source/WebInspectorUI/UserInterface/Models/DOMNode.js:269 > > + templateContent() > > Getter? All of these DOMNode methods are methods and can be getters. I want to refactor the style quite a bit, but for this patch at least I wanted to follow the pattern. Comment on attachment 257596 [details] [PATCH] Proposed Fix Clearing flags on attachment: 257596 Committed r187507: <http://trac.webkit.org/changeset/187507> All reviewed patches have been landed. Closing bug. Created attachment 257679 [details]
[PATCH] For Landing
|
* SUMMARY Include <template> node content in DOM Tree. * TEST <body> <template> <h1>Header</h1> <p>Paragraph</p> </template> </body> * STEPS TO REPRODUCE 1. Inspect test page => Should be able to expand the <template> element in DOM Tree and see its contents. * NOTES - Backend already sends the frontend "DOMNode.templateContent" information, the frontend does nothing with it.