Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: Source/devtools/front_end/ElementsTreeOutline.js

Issue 96653004: Remove support for the obsolete <isindex> tag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/html/parser/HTMLTreeBuilder.cpp ('k') | Source/web/WebSearchableFormData.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> 3 * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com>
4 * Copyright (C) 2009 Joseph Pecoraro 4 * Copyright (C) 2009 Joseph Pecoraro
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 9 *
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 818 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 this._expandedChildrenLimit = WebInspector.ElementsTreeElement.InitialChildr enLimit; 829 this._expandedChildrenLimit = WebInspector.ElementsTreeElement.InitialChildr enLimit;
830 } 830 }
831 831
832 WebInspector.ElementsTreeElement.InitialChildrenLimit = 500; 832 WebInspector.ElementsTreeElement.InitialChildrenLimit = 500;
833 833
834 // A union of HTML4 and HTML5-Draft elements that explicitly 834 // A union of HTML4 and HTML5-Draft elements that explicitly
835 // or implicitly (for HTML5) forbid the closing tag. 835 // or implicitly (for HTML5) forbid the closing tag.
836 // FIXME: Revise once HTML5 Final is published. 836 // FIXME: Revise once HTML5 Final is published.
837 WebInspector.ElementsTreeElement.ForbiddenClosingTagElements = [ 837 WebInspector.ElementsTreeElement.ForbiddenClosingTagElements = [
838 "area", "base", "basefont", "br", "canvas", "col", "command", "embed", "fram e", 838 "area", "base", "basefont", "br", "canvas", "col", "command", "embed", "fram e",
839 "hr", "img", "input", "isindex", "keygen", "link", "meta", "param", "source" 839 "hr", "img", "input", "keygen", "link", "meta", "param", "source"
840 ].keySet(); 840 ].keySet();
841 841
842 // These tags we do not allow editing their tag name. 842 // These tags we do not allow editing their tag name.
843 WebInspector.ElementsTreeElement.EditTagBlacklist = [ 843 WebInspector.ElementsTreeElement.EditTagBlacklist = [
844 "html", "head", "body" 844 "html", "head", "body"
845 ].keySet(); 845 ].keySet();
846 846
847 WebInspector.ElementsTreeElement.prototype = { 847 WebInspector.ElementsTreeElement.prototype = {
848 highlightSearchResults: function(searchQuery) 848 highlightSearchResults: function(searchQuery)
849 { 849 {
(...skipping 1788 matching lines...) Expand 10 before | Expand all | Expand 10 after
2638 var treeOutline = new WebInspector.ElementsTreeOutline(false, false); 2638 var treeOutline = new WebInspector.ElementsTreeOutline(false, false);
2639 treeOutline.rootDOMNode = /** @type {!WebInspector.DOMNode} */ (object); 2639 treeOutline.rootDOMNode = /** @type {!WebInspector.DOMNode} */ (object);
2640 treeOutline.element.classList.add("outline-disclosure"); 2640 treeOutline.element.classList.add("outline-disclosure");
2641 if (!treeOutline.children[0].hasChildren) 2641 if (!treeOutline.children[0].hasChildren)
2642 treeOutline.element.classList.add("single-node"); 2642 treeOutline.element.classList.add("single-node");
2643 treeOutline.setVisible(true); 2643 treeOutline.setVisible(true);
2644 treeOutline.element.treeElementForTest = treeOutline.children[0]; 2644 treeOutline.element.treeElementForTest = treeOutline.children[0];
2645 return treeOutline.element; 2645 return treeOutline.element;
2646 } 2646 }
2647 } 2647 }
OLDNEW
« no previous file with comments | « Source/core/html/parser/HTMLTreeBuilder.cpp ('k') | Source/web/WebSearchableFormData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698