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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 "clipsCompositingDescendants": WebInspector.UIString("Composition due to ass
ociation with an element clipping compositing descendants."), | 77 "clipsCompositingDescendants": WebInspector.UIString("Composition due to ass
ociation with an element clipping compositing descendants."), |
78 "perspective": WebInspector.UIString("Composition due to association with an
element with perspective applied."), | 78 "perspective": WebInspector.UIString("Composition due to association with an
element with perspective applied."), |
79 "preserve3D": WebInspector.UIString("Composition due to association with an
element with a \"transform-style: preserve-3d\" style."), | 79 "preserve3D": WebInspector.UIString("Composition due to association with an
element with a \"transform-style: preserve-3d\" style."), |
80 "root": WebInspector.UIString("Root layer."), | 80 "root": WebInspector.UIString("Root layer."), |
81 "layerForClip": WebInspector.UIString("Layer for clip."), | 81 "layerForClip": WebInspector.UIString("Layer for clip."), |
82 "layerForScrollbar": WebInspector.UIString("Layer for scrollbar."), | 82 "layerForScrollbar": WebInspector.UIString("Layer for scrollbar."), |
83 "layerForScrollingContainer": WebInspector.UIString("Layer for scrolling con
tainer."), | 83 "layerForScrollingContainer": WebInspector.UIString("Layer for scrolling con
tainer."), |
84 "layerForForeground": WebInspector.UIString("Layer for foreground."), | 84 "layerForForeground": WebInspector.UIString("Layer for foreground."), |
85 "layerForBackground": WebInspector.UIString("Layer for background."), | 85 "layerForBackground": WebInspector.UIString("Layer for background."), |
86 "layerForMask": WebInspector.UIString("Layer for mask."), | 86 "layerForMask": WebInspector.UIString("Layer for mask."), |
87 "layerForVideoOverlay": WebInspector.UIString("Layer for video overlay.") | 87 "layerForVideoOverlay": WebInspector.UIString("Layer for video overlay."), |
| 88 "scrollBlocksOn": WebInspector.UIString("Composition due to association with
an element with a CSS \"scroll-blocks-on\" property applied."), |
88 }; | 89 }; |
89 | 90 |
90 WebInspector.LayerDetailsView.prototype = { | 91 WebInspector.LayerDetailsView.prototype = { |
91 /** | 92 /** |
92 * @param {?WebInspector.Layers3DView.Selection} selection | 93 * @param {?WebInspector.Layers3DView.Selection} selection |
93 */ | 94 */ |
94 setObject: function(selection) | 95 setObject: function(selection) |
95 { | 96 { |
96 this._selection = selection; | 97 this._selection = selection; |
97 if (this.isShowing()) | 98 if (this.isShowing()) |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 var text = WebInspector.LayerDetailsView.CompositingReasonDetail[com
positingReasons[i]] || compositingReasons[i]; | 200 var text = WebInspector.LayerDetailsView.CompositingReasonDetail[com
positingReasons[i]] || compositingReasons[i]; |
200 // If the text is more than one word but does not terminate with per
iod, add the period. | 201 // If the text is more than one word but does not terminate with per
iod, add the period. |
201 if (/\s.*[^.]$/.test(text)) | 202 if (/\s.*[^.]$/.test(text)) |
202 text += "."; | 203 text += "."; |
203 list.createChild("li").textContent = text; | 204 list.createChild("li").textContent = text; |
204 } | 205 } |
205 }, | 206 }, |
206 | 207 |
207 __proto__: WebInspector.View.prototype | 208 __proto__: WebInspector.View.prototype |
208 } | 209 } |
OLD | NEW |