Title: [144437] trunk/Source/WebCore
Revision
144437
Author
[email protected]
Date
2013-03-01 03:46:22 -0800 (Fri, 01 Mar 2013)

Log Message

Web Inspector: [DataGrid] Columns are misaligned after rows being refreshed.
https://bugs.webkit.org/show_bug.cgi?id=111077

Reviewed by Pavel Feldman.

Analysis: DataGridNode.refresh removes all cells and then recreates them.
The issue is that mandatory "corner" cell is not recreated.

* inspector/front-end/DataGrid.js:
(WebInspector.DataGridNode.prototype.refresh):
Added "corner" cell restoration code.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (144436 => 144437)


--- trunk/Source/WebCore/ChangeLog	2013-03-01 11:39:02 UTC (rev 144436)
+++ trunk/Source/WebCore/ChangeLog	2013-03-01 11:46:22 UTC (rev 144437)
@@ -1,3 +1,17 @@
+2013-03-01  Eugene Klyuchnikov  <[email protected]>
+
+        Web Inspector: [DataGrid] Columns are misaligned after rows being refreshed.
+        https://bugs.webkit.org/show_bug.cgi?id=111077
+
+        Reviewed by Pavel Feldman.
+
+        Analysis: DataGridNode.refresh removes all cells and then recreates them.
+        The issue is that mandatory "corner" cell is not recreated.
+
+        * inspector/front-end/DataGrid.js:
+        (WebInspector.DataGridNode.prototype.refresh):
+        Added "corner" cell restoration code.
+
 2013-02-28  Alexander Pavlov  <[email protected]>
 
         Web Inspector: Selector's raw start position in its line is considered to be 0 when computing UILocation

Modified: trunk/Source/WebCore/inspector/front-end/DataGrid.js (144436 => 144437)


--- trunk/Source/WebCore/inspector/front-end/DataGrid.js	2013-03-01 11:39:02 UTC (rev 144436)
+++ trunk/Source/WebCore/inspector/front-end/DataGrid.js	2013-03-01 11:46:22 UTC (rev 144437)
@@ -1252,6 +1252,7 @@
 
         this._element.removeChildren();
         this.createCells();
+        this._element.createChild("td", "corner");
     },
 
     /**
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to