OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 "perspective": WebInspector.UIString("Composition due to association with an
element with perspective applied."), | 81 "perspective": WebInspector.UIString("Composition due to association with an
element with perspective applied."), |
82 "preserve3D": WebInspector.UIString("Composition due to association with an
element with a \"transform-style: preserve-3d\" style."), | 82 "preserve3D": WebInspector.UIString("Composition due to association with an
element with a \"transform-style: preserve-3d\" style."), |
83 "root": WebInspector.UIString("Root layer."), | 83 "root": WebInspector.UIString("Root layer."), |
84 "layerForClip": WebInspector.UIString("Layer for clip."), | 84 "layerForClip": WebInspector.UIString("Layer for clip."), |
85 "layerForScrollbar": WebInspector.UIString("Layer for scrollbar."), | 85 "layerForScrollbar": WebInspector.UIString("Layer for scrollbar."), |
86 "layerForScrollingContainer": WebInspector.UIString("Layer for scrolling con
tainer."), | 86 "layerForScrollingContainer": WebInspector.UIString("Layer for scrolling con
tainer."), |
87 "layerForForeground": WebInspector.UIString("Layer for foreground."), | 87 "layerForForeground": WebInspector.UIString("Layer for foreground."), |
88 "layerForBackground": WebInspector.UIString("Layer for background."), | 88 "layerForBackground": WebInspector.UIString("Layer for background."), |
89 "layerForMask": WebInspector.UIString("Layer for mask."), | 89 "layerForMask": WebInspector.UIString("Layer for mask."), |
90 "layerForVideoOverlay": WebInspector.UIString("Layer for video overlay."), | 90 "layerForVideoOverlay": WebInspector.UIString("Layer for video overlay."), |
91 "scrollBlocksOn": WebInspector.UIString("Composition due to association with
an element with a CSS \"scroll-blocks-on\" property applied."), | |
92 }; | 91 }; |
93 | 92 |
94 WebInspector.LayerDetailsView.prototype = { | 93 WebInspector.LayerDetailsView.prototype = { |
95 /** | 94 /** |
96 * @param {?WebInspector.LayerView.Selection} selection | 95 * @param {?WebInspector.LayerView.Selection} selection |
97 * @override | 96 * @override |
98 */ | 97 */ |
99 hoverObject: function(selection) { }, | 98 hoverObject: function(selection) { }, |
100 | 99 |
101 /** | 100 /** |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 var text = WebInspector.LayerDetailsView.CompositingReasonDetail[com
positingReasons[i]] || compositingReasons[i]; | 216 var text = WebInspector.LayerDetailsView.CompositingReasonDetail[com
positingReasons[i]] || compositingReasons[i]; |
218 // If the text is more than one word but does not terminate with per
iod, add the period. | 217 // If the text is more than one word but does not terminate with per
iod, add the period. |
219 if (/\s.*[^.]$/.test(text)) | 218 if (/\s.*[^.]$/.test(text)) |
220 text += "."; | 219 text += "."; |
221 list.createChild("li").textContent = text; | 220 list.createChild("li").textContent = text; |
222 } | 221 } |
223 }, | 222 }, |
224 | 223 |
225 __proto__: WebInspector.Widget.prototype | 224 __proto__: WebInspector.Widget.prototype |
226 } | 225 } |
OLD | NEW |