| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2009, 2010 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2009 Joseph Pecoraro | 3 * Copyright (C) 2009 Joseph Pecoraro |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 if (!this._pseudoElements) | 268 if (!this._pseudoElements) |
| 269 return null; | 269 return null; |
| 270 return this._pseudoElements.get(WebInspector.DOMNode.PseudoElementNames.
After); | 270 return this._pseudoElements.get(WebInspector.DOMNode.PseudoElementNames.
After); |
| 271 }, | 271 }, |
| 272 | 272 |
| 273 /** | 273 /** |
| 274 * @return {boolean} | 274 * @return {boolean} |
| 275 */ | 275 */ |
| 276 isInsertionPoint: function() | 276 isInsertionPoint: function() |
| 277 { | 277 { |
| 278 return !this.isXMLNode() && (this._nodeName === "SHADOW" || this._nodeNa
me === "CONTENT"); | 278 return !this.isXMLNode() && (this._nodeName === "SHADOW" || this._nodeNa
me === "CONTENT" || this._nodeName === "SLOT"); |
| 279 }, | 279 }, |
| 280 | 280 |
| 281 /** | 281 /** |
| 282 * @return {!Array.<!WebInspector.DOMNodeShortcut>} | 282 * @return {!Array.<!WebInspector.DOMNodeShortcut>} |
| 283 */ | 283 */ |
| 284 distributedNodes: function() | 284 distributedNodes: function() |
| 285 { | 285 { |
| 286 return this._distributedNodes || []; | 286 return this._distributedNodes || []; |
| 287 }, | 287 }, |
| 288 | 288 |
| (...skipping 1991 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2280 } | 2280 } |
| 2281 | 2281 |
| 2282 /** | 2282 /** |
| 2283 * @param {!WebInspector.Target} target | 2283 * @param {!WebInspector.Target} target |
| 2284 * @return {?WebInspector.DOMModel} | 2284 * @return {?WebInspector.DOMModel} |
| 2285 */ | 2285 */ |
| 2286 WebInspector.DOMModel.fromTarget = function(target) | 2286 WebInspector.DOMModel.fromTarget = function(target) |
| 2287 { | 2287 { |
| 2288 return /** @type {?WebInspector.DOMModel} */ (target.model(WebInspector.DOMM
odel)); | 2288 return /** @type {?WebInspector.DOMModel} */ (target.model(WebInspector.DOMM
odel)); |
| 2289 } | 2289 } |
| OLD | NEW |