Title: [227474] branches/safari-605-branch/Source/WebInspectorUI
- Revision
- 227474
- Author
- jmarc...@apple.com
- Date
- 2018-01-23 21:22:32 -0800 (Tue, 23 Jan 2018)
Log Message
Cherry-pick r227463. rdar://problem/36807123
Modified Paths
Diff
Modified: branches/safari-605-branch/Source/WebInspectorUI/ChangeLog (227473 => 227474)
--- branches/safari-605-branch/Source/WebInspectorUI/ChangeLog 2018-01-24 05:22:30 UTC (rev 227473)
+++ branches/safari-605-branch/Source/WebInspectorUI/ChangeLog 2018-01-24 05:22:32 UTC (rev 227474)
@@ -1,3 +1,20 @@
+2018-01-23 Jason Marcell <jmarc...@apple.com>
+
+ Cherry-pick r227463. rdar://problem/36807123
+
+ 2018-01-23 Joseph Pecoraro <pecor...@apple.com>
+
+ Web Inspector: Network's columns shake when scrolling at non-default zoom level
+ https://bugs.webkit.org/show_bug.cgi?id=181998
+ <rdar://problem/36449808>
+
+ Reviewed by Matt Baker.
+
+ * UserInterface/Views/Table.js:
+ When zoomed the bounding client rect values were fractional, which was
+ unexpected by this area of code. Floor the values to get a value we expect
+ to be able to evenly distribute.
+
2018-01-22 Jason Marcell <jmarc...@apple.com>
Cherry-pick r227370. rdar://problem/36763189
Modified: branches/safari-605-branch/Source/WebInspectorUI/UserInterface/Views/Table.js (227473 => 227474)
--- branches/safari-605-branch/Source/WebInspectorUI/UserInterface/Views/Table.js 2018-01-24 05:22:30 UTC (rev 227473)
+++ branches/safari-605-branch/Source/WebInspectorUI/UserInterface/Views/Table.js 2018-01-24 05:22:32 UTC (rev 227474)
@@ -709,8 +709,8 @@
if (isNaN(this._cachedWidth)) {
let boundingClientRect = this._scrollContainerElement.getBoundingClientRect();
- this._cachedWidth = boundingClientRect.width;
- this._cachedHeight = boundingClientRect.height;
+ this._cachedWidth = Math.floor(boundingClientRect.width);
+ this._cachedHeight = Math.floor(boundingClientRect.height);
}
// Not visible yet.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes