Changeset 152424 in webkit


Ignore:
Timestamp:
Jul 5, 2013 2:28:23 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

iframe constrained by max-width in full screen
https://bugs.webkit.org/show_bug.cgi?id=118250

Patch by Zalan Bujtas <Alan Bujtas> on 2013-07-05
Reviewed by Antti Koivisto.

Ensure that contents inside iframe can go full screen properly.

Set max-width and max-height values to the default 'none', so that iframes are not
constrained when entering full screen.

Source/WebCore:

Test: fullscreen/full-screen-iframe-with-max-width-height.html

  • css/fullscreen.css:

(iframe:-webkit-full-screen):

LayoutTests:

  • fullscreen/full-screen-iframe-with-max-width-height-expected.txt: Added.
  • fullscreen/full-screen-iframe-with-max-width-height.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r152422 r152424  
     12013-07-05  Zalan Bujtas  <zalan@apple.com>
     2
     3        iframe constrained by max-width in full screen
     4        https://bugs.webkit.org/show_bug.cgi?id=118250
     5
     6        Reviewed by Antti Koivisto.
     7
     8        Ensure that contents inside iframe can go full screen properly.
     9
     10        Set max-width and max-height values to the default 'none', so that iframes are not
     11        constrained when entering full screen.
     12
     13        * fullscreen/full-screen-iframe-with-max-width-height-expected.txt: Added.
     14        * fullscreen/full-screen-iframe-with-max-width-height.html: Added.
     15
    1162013-07-05  Eric Carlson  <eric.carlson@apple.com>
    217
  • trunk/Source/WebCore/ChangeLog

    r152422 r152424  
     12013-07-05  Zalan Bujtas  <zalan@apple.com>
     2
     3        iframe constrained by max-width in full screen
     4        https://bugs.webkit.org/show_bug.cgi?id=118250
     5
     6        Reviewed by Antti Koivisto.
     7
     8        Ensure that contents inside iframe can go full screen properly.
     9
     10        Set max-width and max-height values to the default 'none', so that iframes are not
     11        constrained when entering full screen.
     12
     13        Test: fullscreen/full-screen-iframe-with-max-width-height.html
     14
     15        * css/fullscreen.css:
     16        (iframe:-webkit-full-screen):
     17
    1182013-07-05  Eric Carlson  <eric.carlson@apple.com>
    219
  • trunk/Source/WebCore/css/fullscreen.css

    r148065 r152424  
    5252    left: 0 !important;
    5353    top: 0 !important;
     54    max-width: none !important;
     55    max-height: none !important;
    5456}
Note: See TracChangeset for help on using the changeset viewer.