Changeset 48401 in webkit
- Timestamp:
- Sep 15, 2009 2:26:26 PM (15 years ago)
- Location:
- trunk/WebKit/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/mac/ChangeLog
r48400 r48401 1 2009-09-15 Simon Fraser <simon.fraser@apple.com> 2 3 Reviewed by Dan Bernstein. 4 5 Fixed position elements flash when CSS transforms are applied on page > 2048px tall 6 https://bugs.webkit.org/show_bug.cgi?id=27272 7 8 Update the previous workaround for misplaced compositing layers, which used a 4096px 9 threshold, to 2048px since that's the GPU max texture size on some older hardware. 10 11 * WebView/WebHTMLView.mm: 12 (-[WebHTMLView _updateLayerHostingViewPosition]): 13 1 14 2009-09-15 Alex Milowski <alex@milowski.com> 2 15 -
trunk/WebKit/mac/WebView/WebHTMLView.mm
r47999 r48401 5463 5463 return; 5464 5464 5465 const CGFloat maxHeight = 4096;5465 const CGFloat maxHeight = 2048; 5466 5466 NSRect layerViewFrame = [self bounds]; 5467 5467 … … 5469 5469 CGFloat documentHeight = layerViewFrame.size.height; 5470 5470 5471 // Clamp the size of the view to <= 4096pxto avoid the bug.5471 // Clamp the size of the view to <= maxHeight to avoid the bug. 5472 5472 layerViewFrame.size.height = maxHeight; 5473 5473 NSRect visibleRect = [[self enclosingScrollView] documentVisibleRect];
Note: See TracChangeset
for help on using the changeset viewer.