Skip to content
  • hyatt@apple.com's avatar
    WebCore: · 54328434
    hyatt@apple.com authored
    2008-04-15  Anatoli Papirovski  <apapirovski@mac.com>
    
            Reviewed by hyatt
    
            [CSS1, CSS3] Fixed the background-origin calculation for root elements
            (background-size and background-position are affected), r10794
            [CSS3] Fixed the background-size transformation where width is specified in percentage and height is left to auto
    
            Test: fast/backgrounds/background-origin-root-element.html
    
            * rendering/RenderBox.cpp:
            (WebCore::RenderBox::calculateBackgroundSize):
            (WebCore::RenderBox::calculateBackgroundImageGeometry):
    
    LayoutTests:
    
    2008-04-15  Anatoli Papirovski  <apapirovski@mac.com>
    
            Reviewed by hyatt
    
            Added test case for background-origin calculation on root elements
            (background-repeat and background-size), r10794 [CSS1 + CSS3]
    
            * fast/backgrounds/background-origin-root-element.html: Added.
            * platform/mac/fast/backgrounds/background-origin-root-element-expected.checksum: Added.
            * platform/mac/fast/backgrounds/background-origin-root-element-expected.png: Added.
            * platform/mac/fast/backgrounds/background-origin-root-element-expected.txt: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31912 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    54328434