Changeset 52279 in webkit
- Timestamp:
- Dec 17, 2009 12:53:12 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r52273 r52279 1 2009-12-17 Pavel Feldman <pfeldman@dhcp-172-28-174-220.spb.corp.google.com> 2 3 Reviewed by Timothy Hatcher. 4 5 Web Inspector: Incorrect Doctype. 6 7 REGRESSION(4.0.4-TOT):Web Inspector: Incorrect Doctype 8 https://bugs.webkit.org/show_bug.cgi?id=32671 9 10 * inspector/elements-panel-structure-expected.txt: 11 * inspector/elements-panel-structure.html: 12 1 13 2009-12-17 Chris Fleizach <cfleizach@apple.com> 2 14 -
trunk/LayoutTests/inspector/elements-panel-structure-expected.txt
r50582 r52279 2 2 3 3 4 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 4 5 <html> 5 6 <head> -
trunk/LayoutTests/inspector/elements-panel-structure.html
r50582 r52279 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 1 2 <html> 2 3 <head> -
trunk/WebCore/ChangeLog
r52278 r52279 1 2009-12-17 Pavel Feldman <pfeldman@dhcp-172-28-174-220.spb.corp.google.com> 2 3 Reviewed by Timothy Hatcher. 4 5 Web Inspector: Incorrect Doctype. 6 7 REGRESSION(4.0.4-TOT):Web Inspector: Incorrect Doctype 8 https://bugs.webkit.org/show_bug.cgi?id=32671 9 10 * inspector/InspectorDOMAgent.cpp: 11 (WebCore::InspectorDOMAgent::buildObjectForNode): 12 * inspector/front-end/DOMAgent.js: 13 (WebInspector.DOMNode): 14 1 15 2009-12-17 Benjamin Otte <otte@gnome.org> 2 16 -
trunk/WebCore/inspector/InspectorDOMAgent.cpp
r51601 r52279 40 40 #include "DOMWindow.h" 41 41 #include "Document.h" 42 #include "DocumentType.h" 42 43 #include "Event.h" 43 44 #include "EventListener.h" … … 523 524 value.set("children", children); 524 525 } 526 if (node->nodeType() == Node::DOCUMENT_TYPE_NODE) { 527 DocumentType* docType = static_cast<DocumentType*>(node); 528 value.set("publicId", docType->publicId()); 529 value.set("systemId", docType->systemId()); 530 value.set("internalSubset", docType->internalSubset()); 531 } 525 532 return value; 526 533 } -
trunk/WebCore/inspector/front-end/DOMAgent.js
r51846 r52279 61 61 this._matchedCSSRules = []; 62 62 63 if (this.nodeType == Node.ELEMENT_NODE) {63 if (this.nodeType === Node.ELEMENT_NODE) { 64 64 // HTML and BODY from internal iframes should not overwrite top-level ones. 65 65 if (!this.ownerDocument.documentElement && this.nodeName === "HTML") … … 67 67 if (!this.ownerDocument.body && this.nodeName === "BODY") 68 68 this.ownerDocument.body = this; 69 } else if (this.nodeType === Node.DOCUMENT_TYPE_NODE) { 70 this.publicId = payload.publicId; 71 this.systemId = payload.systemId; 72 this.internalSubset = payload.internalSubset; 69 73 } 70 74 }
Note: See TracChangeset
for help on using the changeset viewer.