Changeset 106237 in webkit
- Timestamp:
- Jan 30, 2012 5:04:28 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r106226 r106237 1 2012-01-30 Alexander Pavlov <apavlov@chromium.org> 2 3 Web Inspector: [Styles] Unable to paste and subsequently edit multiple properties in the Styles pane 4 https://bugs.webkit.org/show_bug.cgi?id=77209 5 6 Reviewed by Pavel Feldman. 7 8 * inspector/styles/styles-add-blank-property-expected.txt: 9 * inspector/styles/styles-add-blank-property.html: 10 1 11 2012-01-30 Yuzo Fujishima <yuzo@google.com> 2 12 -
trunk/LayoutTests/inspector/styles/styles-add-blank-property-expected.txt
r99713 r106237 25 25 26 26 27 After append and change of a 'compound' property: 28 [expanded] 29 element.style { () 30 font-size: 12px; 31 margin-left: 3px; 32 color: red; 33 font-weight: bold; 27 34 35 ======== Matched CSS Rules ======== 36 [expanded] 37 div { (user agent stylesheet) 38 display: block; 39 40 41 -
trunk/LayoutTests/inspector/styles/styles-add-blank-property.html
r89804 r106237 56 56 InspectorTest.addResult("After append:"); 57 57 InspectorTest.dumpSelectedElementStyles(true); 58 59 treeElement = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1].addNewBlankProperty(); 60 treeElement.startEditing(); 61 treeElement.nameElement.textContent = "color"; 62 treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent("Enter")); 63 64 treeElement.valueElement.textContent = "green; font-weight: bold"; 65 treeElement.kickFreeFlowStyleEditForTest(); 66 67 treeElement.valueElement.textContent = "red; font-weight: bold"; 68 treeElement.kickFreeFlowStyleEditForTest(); 69 70 treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent("Enter")); 71 InspectorTest.runAfterPendingDispatches(step6); 72 } 73 74 function step6() 75 { 76 InspectorTest.selectNodeWithId("other"); 77 InspectorTest.runAfterPendingDispatches(step7); 78 } 79 80 function step7() 81 { 82 InspectorTest.selectNodeAndWaitForStyles("inspected", step8); 83 } 84 85 86 function step8() 87 { 88 InspectorTest.addResult("After append and change of a 'compound' property:"); 89 InspectorTest.dumpSelectedElementStyles(true); 58 90 InspectorTest.completeTest(); 59 91 } -
trunk/Source/WebCore/ChangeLog
r106236 r106237 1 2012-01-30 Alexander Pavlov <apavlov@chromium.org> 2 3 Web Inspector: [Styles] Unable to paste and subsequently edit multiple properties in the Styles pane 4 https://bugs.webkit.org/show_bug.cgi?id=77209 5 6 Reviewed by Pavel Feldman. 7 8 Check if the property value contains a ";" before kicking the freeflow text update. 9 10 * inspector/front-end/StylesSidebarPane.js: 11 (WebInspector.StylePropertyTreeElement.prototype): 12 1 13 2012-01-30 Vsevolod Vlasov <vsevik@chromium.org> 2 14 -
trunk/Source/WebCore/inspector/front-end/StylesSidebarPane.js
r105409 r106237 1988 1988 function apply() 1989 1989 { 1990 this.applyStyleText(this.nameElement.textContent + ": " + this.valueElement.textContent, false, false, false); 1990 var valueText = this.valueElement.textContent; 1991 if (valueText.indexOf(";") === -1) 1992 this.applyStyleText(this.nameElement.textContent + ": " + valueText, false, false, false); 1991 1993 } 1992 1994 if (now)
Note: See TracChangeset
for help on using the changeset viewer.