[SCM] WebKit Debian packaging branch, debian/experimental, updated. debian/1.3.8-1-142-g786665c
pfeldman at chromium.org
pfeldman at chromium.org
Mon Dec 27 16:26:44 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 2a8de579f6d3da48e1d6c7164b974f895f83ed10
Author: pfeldman at chromium.org <pfeldman at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Dec 21 07:11:50 2010 +0000
2010-12-20 Pavel Feldman <pfeldman at chromium.org>
Reviewed by Joseph Pecoraro.
Web Inspector: cycle through tag name / attributes / new attribute on Tab.
https://bugs.webkit.org/show_bug.cgi?id=38429
* inspector/front-end/ElementsTreeOutline.js:
(WebInspector.ElementsTreeElement.prototype._tagNameEditingCommitted.moveToNextAttributeIfNeeded):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74397 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 9851d67..8a22663 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,14 @@
+2010-12-20 Pavel Feldman <pfeldman at chromium.org>
+
+ Reviewed by Joseph Pecoraro.
+
+ Web Inspector: cycle through tag name / attributes / new attribute on Tab.
+
+ https://bugs.webkit.org/show_bug.cgi?id=38429
+
+ * inspector/front-end/ElementsTreeOutline.js:
+ (WebInspector.ElementsTreeElement.prototype._tagNameEditingCommitted.moveToNextAttributeIfNeeded):
+
2010-12-20 Yuta Kitamura <yutak at chromium.org>
Reviewed by Alexey Proskuryakov.
diff --git a/WebCore/inspector/front-end/ElementsTreeOutline.js b/WebCore/inspector/front-end/ElementsTreeOutline.js
index 919c8f6..f25f858 100644
--- a/WebCore/inspector/front-end/ElementsTreeOutline.js
+++ b/WebCore/inspector/front-end/ElementsTreeOutline.js
@@ -1033,8 +1033,12 @@ WebInspector.ElementsTreeElement.prototype = {
if (!found) {
if (moveDirection === "backward" && attributes.length > 0)
moveToAttribute = attributes[attributes.length - 1].name;
- else if (moveDirection === "forward" && !/^\s*$/.test(newText))
- moveToNewAttribute = true;
+ else if (moveDirection === "forward") {
+ if (!/^\s*$/.test(newText))
+ moveToNewAttribute = true;
+ else
+ moveToTagName = true;
+ }
}
}
@@ -1112,8 +1116,10 @@ WebInspector.ElementsTreeElement.prototype = {
function moveToNextAttributeIfNeeded()
{
- if (moveDirection !== "forward")
+ if (moveDirection !== "forward") {
+ this._addNewAttribute();
return;
+ }
var attributes = this.representedObject.attributes;
if (attributes.length > 0)
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list