Changeset 84236 in webkit
- Timestamp:
- Apr 19, 2011 2:58:22 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r84235 r84236 1 2011-04-19 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r84150. 4 http://trac.webkit.org/changeset/84150 5 https://bugs.webkit.org/show_bug.cgi?id=58875 6 7 Broken backspace in Search box of Web Inspector (Requested by 8 apavlov on #webkit). 9 10 * inspector/front-end/inspector.js: 11 (WebInspector.documentKeyDown): 12 1 13 2011-04-19 Andrey Adaikin <aandrey@google.com> 2 14 -
trunk/Source/WebCore/inspector/front-end/inspector.js
r84150 r84236 792 792 if (!isMac) 793 793 PageAgent.reloadPage(event.ctrlKey || event.shiftKey); 794 break;795 case "U+0008": // Backspace796 if (this.currentFocusElement && document.defaultView) {797 // We inhibit the Backspace default handling for non-editable elements798 // (which otherwise may result into a navigation to the previous history entry with a docked inspector).799 var computedStyle = document.defaultView.getComputedStyle(this.currentFocusElement, null, "");800 var userModify = computedStyle.getPropertyValue("-webkit-user-modify");801 if (!userModify || userModify === "read-only")802 event.preventDefault();803 }804 794 break; 805 795 }
Note: See TracChangeset
for help on using the changeset viewer.