* SUMMARY Web Inspector: Processing Instruction Nodes appear poorly in DOM Tree. We only see their node name. Not their data (attributes). * STEPS TO REPRODUCE 1. Inspect <http://www.schillmania.com/content/entries/2004/10/24/application-xhtml+xml/> 2. View DOM Tree => processing instruction nodes display poorly and unstyled * NOTES The content is served with a "application/xhtml+xml" mime type and looks like: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/css" href="/2009/2009.css" title="main" media="screen"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> .... NOTE: We don't even show the <?xml?> processing instruction in the UI. We probably should.
<rdar://problem/18643248>
Created attachment 239769 [details] [PATCH] Proposed Fix
Created attachment 239771 [details] [IMAGE] Before
Created attachment 239772 [details] [IMAGE] After
Comment on attachment 239769 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=239769&action=review > Source/WebInspectorUI/UserInterface/Models/DOMSearchMatchObject.js:117 > + for (var i = 0; i < attributes.length; ++i) { for of?
Created attachment 239806 [details] [PATCH] Comments Addressed
Comment on attachment 239806 [details] [PATCH] Comments Addressed Clearing flags on attachment: 239806 Committed r174687: <http://trac.webkit.org/changeset/174687>
All reviewed patches have been landed. Closing bug.