Changeset 86109 in webkit


Ignore:
Timestamp:
May 9, 2011 5:25:55 PM (13 years ago)
Author:
jer.noble@apple.com
Message:

2011-05-08 Jeremy Noble <jer.noble@apple.com>

Reviewed by Dan Bernstein.

Full-screen video disappears behind black screen with scrollbar, followed by crash at jerryseinfeld.com
https://bugs.webkit.org/show_bug.cgi?id=60449

  • fullscreen/full-screen-remove-sibling-expected.txt: Added.
  • fullscreen/full-screen-remove-sibling.html: Added.

2011-05-08 Jeremy Noble <jer.noble@apple.com>

Reviewed by Dan Bernstein.

Full-screen video disappears behind black screen with scrollbar, followed by crash at jerryseinfeld.com
https://bugs.webkit.org/show_bug.cgi?id=60449

Make RenderFullScreen a non-anonymous block, so that it does not get deleted when a parent attempts to
coalesce anonymous children.

Test: fullscreen/full-screen-remove-sibling.html

  • rendering/RenderObject.h: (WebCore::RenderObject::isAnonymousBlock):
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r86100 r86109  
     12011-05-08  Jeremy Noble  <jer.noble@apple.com>
     2
     3        Reviewed by Dan Bernstein.
     4
     5        Full-screen video disappears behind black screen with scrollbar, followed by crash at jerryseinfeld.com
     6        https://bugs.webkit.org/show_bug.cgi?id=60449
     7
     8        * fullscreen/full-screen-remove-sibling-expected.txt: Added.
     9        * fullscreen/full-screen-remove-sibling.html: Added.
     10
    1112011-05-09  Adam Barth  <abarth@webkit.org>
    212
  • trunk/Source/WebCore/ChangeLog

    r86105 r86109  
     12011-05-08  Jeremy Noble  <jer.noble@apple.com>
     2
     3        Reviewed by Dan Bernstein.
     4
     5        Full-screen video disappears behind black screen with scrollbar, followed by crash at jerryseinfeld.com
     6        https://bugs.webkit.org/show_bug.cgi?id=60449
     7
     8        Make RenderFullScreen a non-anonymous block, so that it does not get deleted when a parent attempts to
     9        coalesce anonymous children.
     10
     11        Test: fullscreen/full-screen-remove-sibling.html
     12
     13        * rendering/RenderObject.h:
     14        (WebCore::RenderObject::isAnonymousBlock):
     15
    1162011-05-09  Jeremy Noble  <jer.noble@apple.com>
    217
  • trunk/Source/WebCore/rendering/RenderObject.h

    r85964 r86109  
    400400        // RenderBlock having a BLOCK or BOX display. Other classes such as RenderTextFragment
    401401        // are not RenderBlocks and will return false. See https://bugs.webkit.org/show_bug.cgi?id=56709.
    402         return m_isAnonymous && (style()->display() == BLOCK || style()->display() == BOX) && style()->styleType() == NOPSEUDO && isRenderBlock() && !isListMarker();
     402        return m_isAnonymous && (style()->display() == BLOCK || style()->display() == BOX) && style()->styleType() == NOPSEUDO && isRenderBlock() && !isListMarker()
     403#if ENABLE(FULLSCREEN_API)
     404            && !isRenderFullScreen()
     405#endif
     406            ;
    403407    }
    404408    bool isAnonymousColumnsBlock() const { return style()->specifiesColumns() && isAnonymousBlock(); }
Note: See TracChangeset for help on using the changeset viewer.