Changeset 116173 in webkit
- Timestamp:
- May 4, 2012 2:30:52 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r116078 r116173 1 2012-05-04 Jer Noble <jer.noble@apple.com> 2 3 Taking a visibility:hidden element full screen causes full screen window to disappear. 4 https://bugs.webkit.org/show_bug.cgi?id=85432 5 6 Reviewed by Maciej Stachowiak. 7 8 * ManualTests/fullscreen/full-screen-zero-width.html: Added. 9 1 10 2012-05-04 Carlos Garcia Campos <cgarcia@igalia.com> 2 11 -
trunk/Source/WebKit/mac/ChangeLog
r116165 r116173 1 2012-05-02 Jer Noble <jer.noble@apple.com> 2 3 Taking a visibility:hidden element full screen causes full screen window to disappear. 4 https://bugs.webkit.org/show_bug.cgi?id=85432 5 6 Reviewed by Maciej Stachowiak. 7 8 When given an initial or final frame with a zero width or height, return a rect representing 9 the entire screen, rather than a rect with a zero or infinite size. Doing otherwise will 10 confuse the window server when it's instructed to scale the full screen window to that size. 11 12 * WebView/WebFullScreenController.mm: 13 (windowFrameFromApparentFrames): 14 1 15 2012-05-04 Jer Noble <jer.noble@apple.com> 2 16 -
trunk/Source/WebKit/mac/WebView/WebFullScreenController.mm
r116031 r116173 472 472 { 473 473 NSRect initialWindowFrame; 474 if (!NSWidth(initialFrame) || !NSWidth(finalFrame) || !NSHeight(initialFrame) || !NSHeight(finalFrame)) 475 return screenFrame; 476 474 477 CGFloat xScale = NSWidth(screenFrame) / NSWidth(finalFrame); 475 478 CGFloat yScale = NSHeight(screenFrame) / NSHeight(finalFrame); -
trunk/Source/WebKit2/ChangeLog
r116165 r116173 1 2012-05-02 Jer Noble <jer.noble@apple.com> 2 3 Taking a visibility:hidden element full screen causes full screen window to disappear. 4 https://bugs.webkit.org/show_bug.cgi?id=85432 5 6 Reviewed by Maciej Stachowiak. 7 8 When given an initial or final frame with a zero width or height, return a rect representing 9 the entire screen, rather than a rect with a zero or infinite size. Doing otherwise will 10 confuse the window server when it's instructed to scale the full screen window to that size. 11 12 * UIProcess/mac/WKFullScreenWindowController.mm: 13 (windowFrameFromApparentFrames): 14 1 15 2012-04-30 Jer Noble <jer.noble@apple.com> 2 16 -
trunk/Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm
r116031 r116173 469 469 { 470 470 NSRect initialWindowFrame; 471 if (!NSWidth(initialFrame) || !NSWidth(finalFrame) || !NSHeight(initialFrame) || !NSHeight(finalFrame)) 472 return screenFrame; 473 471 474 CGFloat xScale = NSWidth(screenFrame) / NSWidth(finalFrame); 472 475 CGFloat yScale = NSHeight(screenFrame) / NSHeight(finalFrame);
Note: See TracChangeset
for help on using the changeset viewer.