Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: LayoutTests/inspector/styles/edit-value-with-trimmed-url.html

Issue 13084008: Revert 140817 "Web Inspector: [Styles] Editing a property value ..." (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/inspector/styles/edit-value-with-trimmed-url-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/elements-test.js"></script>
5 <script>
6
7 function test()
8 {
9 WebInspector.showPanel("elements");
10 InspectorTest.selectNodeAndWaitForStyles("inspected", step1);
11
12 function step1()
13 {
14 var treeElement = InspectorTest.getElementStylePropertyTreeItem("backgro und");
15 InspectorTest.addResult("Viewing 'background' value in Styles:");
16 InspectorTest.addResult(treeElement.valueElement.textContent);
17
18 treeElement.startEditing(treeElement.valueElement);
19 InspectorTest.addResult("Editing 'background' value in Styles:");
20 InspectorTest.addResult(treeElement.valueElement.textContent);
21 InspectorTest.completeTest();
22 }
23 }
24
25 </script>
26 </head>
27
28 <body onload="runTest()">
29 <p>
30 Tests that editing a CSS property value in the Styles pane restores the original , non-trimmed value text. <a href="https://bugs.webkit.org/show_bug.cgi?id=10793 6">Bug 107936</a>.
31 </p>
32
33 <div id="inspected" style="background: transparent url(data:image/png;base64,iVB ORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJ lYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC) repeat-y 50% top" />
34
35 </body>
36 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/styles/edit-value-with-trimmed-url-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698