[Webkit-unassigned] [Bug 55238] Web Inspector: Resizing columns in the network panel is weird

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 19 04:32:00 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=55238


Pavel Feldman <pfeldman at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #93976|review?                     |review-
               Flag|                            |




--- Comment #6 from Pavel Feldman <pfeldman at chromium.org>  2011-05-19 04:32:00 PST ---
(From update of attachment 93976)
View in context: https://bugs.webkit.org/attachment.cgi?id=93976&action=review

There is a series of style nits, but otherwise looks good. Thanks for fixing this!

> Source/WebCore/inspector/front-end/DataGrid.js:927
> +        if (typeof this._resizeMethod==="undefined")

Nit: this should be:

typeof this._resizeMethod === "undefined"

> Source/WebCore/inspector/front-end/DataGrid.js:965
> +        if(this.resizeMethod==WebInspector.DataGrid.ResizeMethod.Last)

Spaces around == and before ( as well.

> Source/WebCore/inspector/front-end/DataGrid.js:966
> +        {

Style for if is
if (foo === bar) {
...
}

> Source/WebCore/inspector/front-end/DataGrid.js:969
> +        else if(this.resizeMethod==WebInspector.DataGrid.ResizeMethod.First)

ditto

> Source/WebCore/inspector/front-end/DataGrid.js:971
> +            leftEdgeOfPreviousColumn+=firstRowCells[leftCellIndex].offsetWidth - firstRowCells[0].offsetWidth;

Spaces around += are missing.

> Source/WebCore/inspector/front-end/DataGrid.js:1011
> +    Nearest:    'nearest',

No need to align values into a column.
Please use " instead of '

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list