Index: third_party/WebKit/Source/devtools/front_end/ui/Popover.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/Popover.js b/third_party/WebKit/Source/devtools/front_end/ui/Popover.js |
index 576fcb908a892f9c31013d6a9b77602d3eb4a0dd..cccb6642a28b6339b83807cb020678f627e0853b 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/Popover.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/Popover.js |
@@ -240,7 +240,7 @@ |
} |
this.element.className = WebInspector.Popover._classNamePrefix + " " + verticalAlignment + "-" + horizontalAlignment + "-arrow"; |
- this.element.positionAt(newElementPosition.x, Math.max(0, newElementPosition.y - borderWidth), container); |
+ this.element.positionAt(newElementPosition.x, newElementPosition.y - borderWidth, container); |
this.element.style.width = newElementPosition.width + borderWidth * 2 + "px"; |
this.element.style.height = newElementPosition.height + borderWidth * 2 + "px"; |
}, |