Changeset 116560 in webkit


Ignore:
Timestamp:
May 9, 2012 3:01:09 PM (12 years ago)
Author:
enne@google.com
Message:

Update compositing/RTL tests to fail if the root layer is shifted incorrectly
https://bugs.webkit.org/show_bug.cgi?id=85820

Reviewed by James Robinson.

For the Chromium port, if the root layer was shifted incorrectly, the
non-composited red indicator layers would get drawn outside the root
layers bounds, making it impossible to see if the test was failing.

Also turn off overflow:hidden because compositing/ tests have mock
scrollbars. This makes it much easier to debug these tests locally.

  • compositing/rtl/rtl-absolute-expected.png:
  • compositing/rtl/rtl-absolute-overflow-expected.png:
  • compositing/rtl/rtl-absolute-overflow-expected.txt:
  • compositing/rtl/rtl-absolute-overflow-scrolled-expected.png:
  • compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt:
  • compositing/rtl/rtl-absolute-overflow-scrolled.html:
  • compositing/rtl/rtl-absolute-overflow.html:
  • compositing/rtl/rtl-absolute.html:
  • compositing/rtl/rtl-fixed-expected.png:
  • compositing/rtl/rtl-fixed-overflow-expected.png:
  • compositing/rtl/rtl-fixed-overflow-expected.txt:
  • compositing/rtl/rtl-fixed-overflow-scrolled-expected.png:
  • compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
  • compositing/rtl/rtl-fixed-overflow-scrolled.html:
  • compositing/rtl/rtl-fixed-overflow.html:
  • compositing/rtl/rtl-fixed.html:
  • compositing/rtl/rtl-iframe-absolute-overflow-expected.png:
  • compositing/rtl/rtl-iframe-absolute-overflow-expected.txt:
  • compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.png:
  • compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt:
  • compositing/rtl/rtl-iframe-fixed-overflow-expected.png:
  • compositing/rtl/rtl-iframe-fixed-overflow-expected.txt:
  • compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.png:
  • compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt:
Location:
trunk/LayoutTests
Files:
25 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r116553 r116560  
     12012-05-09  Adrienne Walker  <enne@google.com>
     2
     3        Update compositing/RTL tests to fail if the root layer is shifted incorrectly
     4        https://bugs.webkit.org/show_bug.cgi?id=85820
     5
     6        Reviewed by James Robinson.
     7
     8        For the Chromium port, if the root layer was shifted incorrectly, the
     9        non-composited red indicator layers would get drawn outside the root
     10        layers bounds, making it impossible to see if the test was failing.
     11
     12        Also turn off overflow:hidden because compositing/ tests have mock
     13        scrollbars. This makes it much easier to debug these tests locally.
     14
     15        * compositing/rtl/rtl-absolute-expected.png:
     16        * compositing/rtl/rtl-absolute-overflow-expected.png:
     17        * compositing/rtl/rtl-absolute-overflow-expected.txt:
     18        * compositing/rtl/rtl-absolute-overflow-scrolled-expected.png:
     19        * compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt:
     20        * compositing/rtl/rtl-absolute-overflow-scrolled.html:
     21        * compositing/rtl/rtl-absolute-overflow.html:
     22        * compositing/rtl/rtl-absolute.html:
     23        * compositing/rtl/rtl-fixed-expected.png:
     24        * compositing/rtl/rtl-fixed-overflow-expected.png:
     25        * compositing/rtl/rtl-fixed-overflow-expected.txt:
     26        * compositing/rtl/rtl-fixed-overflow-scrolled-expected.png:
     27        * compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt:
     28        * compositing/rtl/rtl-fixed-overflow-scrolled.html:
     29        * compositing/rtl/rtl-fixed-overflow.html:
     30        * compositing/rtl/rtl-fixed.html:
     31        * compositing/rtl/rtl-iframe-absolute-overflow-expected.png:
     32        * compositing/rtl/rtl-iframe-absolute-overflow-expected.txt:
     33        * compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.png:
     34        * compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt:
     35        * compositing/rtl/rtl-iframe-fixed-overflow-expected.png:
     36        * compositing/rtl/rtl-iframe-fixed-overflow-expected.txt:
     37        * compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.png:
     38        * compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt:
     39
    1402012-05-09  Zan Dobersek  <zandobersek@gmail.com>
    241
  • trunk/LayoutTests/compositing/rtl/rtl-absolute-overflow-expected.txt

    r89687 r116560  
    11(GraphicsLayer
    2   (position -208.00 0.00)
    3   (bounds 1008.00 1016.00)
     2  (position -215.00 0.00)
     3  (bounds 1000.00 1000.00)
    44  (children 1
    55    (GraphicsLayer
    6       (bounds 1008.00 1016.00)
     6      (bounds 1000.00 1000.00)
    77      (children 1
    88        (GraphicsLayer
    9           (position 258.00 50.00)
     9          (position 265.00 50.00)
    1010          (bounds 100.00 100.00)
    1111          (drawsContent 1)
  • trunk/LayoutTests/compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt

    r89687 r116560  
    11(GraphicsLayer
    2   (position -208.00 0.00)
    3   (bounds 1008.00 1016.00)
     2  (position -215.00 0.00)
     3  (bounds 1000.00 1000.00)
    44  (children 1
    55    (GraphicsLayer
    6       (bounds 1008.00 1016.00)
     6      (bounds 1000.00 1000.00)
    77      (children 1
    88        (GraphicsLayer
  • trunk/LayoutTests/compositing/rtl/rtl-absolute-overflow-scrolled.html

    r89709 r116560  
    44    body {
    55        direction: rtl;
    6         overflow: hidden;
     6        margin: 0px;
     7        background-color: red;
    78    }
    89
     
    2728        width: 1000px;
    2829        height: 1000px;
     30        background-color: white;
    2931    }
    3032
  • trunk/LayoutTests/compositing/rtl/rtl-absolute-overflow.html

    r89709 r116560  
    44    body {
    55        direction: rtl;
    6         overflow: hidden;
     6        margin: 0px;
     7        background-color: red;
    78    }
    89
     
    2728        width: 1000px;
    2829        height: 1000px;
     30        background-color: white;
    2931    }
    3032
  • trunk/LayoutTests/compositing/rtl/rtl-absolute.html

    r89709 r116560  
    44    body {
    55        direction: rtl;
    6         overflow: hidden;
     6        margin: 0px;
     7        background-color: red;
    78    }
    89
     
    2425    }
    2526
     27    #root {
     28        width: 100%;
     29        height: 100%;
     30        /* root element should exactly cover red background */
     31        background-color: white;
     32    }
     33
    2634    #layertree {
    2735        position: absolute;
     
    4149</script>
    4250<body>
     51    <div id="root"></div>
    4352    <div class="positioned indicator"></div>
    4453    <div class="positioned layer"></div>
  • trunk/LayoutTests/compositing/rtl/rtl-fixed-overflow-expected.txt

    r89687 r116560  
    11(GraphicsLayer
    2   (position -208.00 0.00)
    3   (bounds 1008.00 1016.00)
     2  (position -215.00 0.00)
     3  (bounds 1000.00 1000.00)
    44  (children 1
    55    (GraphicsLayer
    6       (bounds 1008.00 1016.00)
     6      (bounds 1000.00 1000.00)
    77      (children 1
    88        (GraphicsLayer
    9           (position 258.00 50.00)
     9          (position 265.00 50.00)
    1010          (bounds 100.00 100.00)
    1111          (drawsContent 1)
  • trunk/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt

    r89687 r116560  
    11(GraphicsLayer
    2   (position -208.00 0.00)
    3   (bounds 1008.00 1016.00)
     2  (position -215.00 0.00)
     3  (bounds 1000.00 1000.00)
    44  (children 1
    55    (GraphicsLayer
    6       (bounds 1008.00 1016.00)
     6      (bounds 1000.00 1000.00)
    77      (children 1
    88        (GraphicsLayer
  • trunk/LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled.html

    r89709 r116560  
    44    body {
    55        direction: rtl;
    6         overflow: hidden;
     6        margin: 0px;
     7        background-color: red;
    78    }
    89
     
    2728        width: 1000px;
    2829        height: 1000px;
     30        background-color: white;
    2931    }
    3032
  • trunk/LayoutTests/compositing/rtl/rtl-fixed-overflow.html

    r89709 r116560  
    44    body {
    55        direction: rtl;
    6         overflow: hidden;
     6        margin: 0px;
     7        background-color: red;
    78    }
    89
     
    2728        width: 1000px;
    2829        height: 1000px;
     30        background-color: white;
    2931    }
    3032
  • trunk/LayoutTests/compositing/rtl/rtl-fixed.html

    r89709 r116560  
    44    body {
    55        direction: rtl;
    6         overflow: hidden;
     6        margin: 0px;
     7        background-color: red;
    78    }
    89
     
    2425    }
    2526
     27    #root {
     28        width: 100%;
     29        height: 100%;
     30        background-color: white;
     31    }
     32
    2633    #layertree {
    2734        position: absolute;
     
    4148</script>
    4249<body>
     50    <div id="root"></div>
    4351    <div class="positioned indicator"></div>
    4452    <div class="positioned layer"></div>
  • trunk/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt

    r89709 r116560  
    1010          (children 1
    1111            (GraphicsLayer
    12               (children 1
     12              (children 4
    1313                (GraphicsLayer
    14                   (bounds 400.00 400.00)
     14                  (bounds 385.00 385.00)
    1515                  (children 1
    1616                    (GraphicsLayer
    1717                      (children 1
    1818                        (GraphicsLayer
    19                           (position -608.00 0.00)
    20                           (bounds 1008.00 1016.00)
     19                          (position -615.00 0.00)
     20                          (bounds 1000.00 1000.00)
    2121                          (children 1
    2222                            (GraphicsLayer
    23                               (bounds 1008.00 1016.00)
     23                              (bounds 1000.00 1000.00)
    2424                              (drawsContent 1)
    2525                              (children 1
    2626                                (GraphicsLayer
    27                                   (position 658.00 50.00)
     27                                  (position 665.00 50.00)
    2828                                  (bounds 100.00 100.00)
    2929                                  (drawsContent 1)
     
    3737                  )
    3838                )
     39                (GraphicsLayer
     40                  (position 385.00 0.00)
     41                  (bounds 15.00 385.00)
     42                  (drawsContent 1)
     43                )
     44                (GraphicsLayer
     45                  (position 0.00 385.00)
     46                  (bounds 385.00 15.00)
     47                  (drawsContent 1)
     48                )
     49                (GraphicsLayer
     50                  (position 385.00 385.00)
     51                  (bounds 15.00 15.00)
     52                  (drawsContent 1)
     53                )
    3954              )
    4055            )
  • trunk/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt

    r89687 r116560  
    1010          (children 1
    1111            (GraphicsLayer
    12               (children 1
     12              (children 4
    1313                (GraphicsLayer
    14                   (bounds 400.00 400.00)
     14                  (bounds 385.00 385.00)
    1515                  (children 1
    1616                    (GraphicsLayer
    1717                      (children 1
    1818                        (GraphicsLayer
    19                           (position -608.00 0.00)
    20                           (bounds 1008.00 1016.00)
     19                          (position -615.00 0.00)
     20                          (bounds 1000.00 1000.00)
    2121                          (children 1
    2222                            (GraphicsLayer
    23                               (bounds 1008.00 1016.00)
     23                              (bounds 1000.00 1000.00)
    2424                              (drawsContent 1)
    2525                              (children 1
     
    3737                  )
    3838                )
     39                (GraphicsLayer
     40                  (position 385.00 0.00)
     41                  (bounds 15.00 385.00)
     42                  (drawsContent 1)
     43                )
     44                (GraphicsLayer
     45                  (position 0.00 385.00)
     46                  (bounds 385.00 15.00)
     47                  (drawsContent 1)
     48                )
     49                (GraphicsLayer
     50                  (position 385.00 385.00)
     51                  (bounds 15.00 15.00)
     52                  (drawsContent 1)
     53                )
    3954              )
    4055            )
  • trunk/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-expected.txt

    r89709 r116560  
    1010          (children 1
    1111            (GraphicsLayer
    12               (children 1
     12              (children 4
    1313                (GraphicsLayer
    14                   (bounds 400.00 400.00)
     14                  (bounds 385.00 385.00)
    1515                  (children 1
    1616                    (GraphicsLayer
    1717                      (children 1
    1818                        (GraphicsLayer
    19                           (position -608.00 0.00)
    20                           (bounds 1008.00 1016.00)
     19                          (position -615.00 0.00)
     20                          (bounds 1000.00 1000.00)
    2121                          (children 1
    2222                            (GraphicsLayer
    23                               (bounds 1008.00 1016.00)
     23                              (bounds 1000.00 1000.00)
    2424                              (drawsContent 1)
    2525                              (children 1
    2626                                (GraphicsLayer
    27                                   (position 658.00 50.00)
     27                                  (position 665.00 50.00)
    2828                                  (bounds 100.00 100.00)
    2929                                  (drawsContent 1)
     
    3737                  )
    3838                )
     39                (GraphicsLayer
     40                  (position 385.00 0.00)
     41                  (bounds 15.00 385.00)
     42                  (drawsContent 1)
     43                )
     44                (GraphicsLayer
     45                  (position 0.00 385.00)
     46                  (bounds 385.00 15.00)
     47                  (drawsContent 1)
     48                )
     49                (GraphicsLayer
     50                  (position 385.00 385.00)
     51                  (bounds 15.00 15.00)
     52                  (drawsContent 1)
     53                )
    3954              )
    4055            )
  • trunk/LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt

    r89687 r116560  
    1010          (children 1
    1111            (GraphicsLayer
    12               (children 1
     12              (children 4
    1313                (GraphicsLayer
    14                   (bounds 400.00 400.00)
     14                  (bounds 385.00 385.00)
    1515                  (children 1
    1616                    (GraphicsLayer
    1717                      (children 1
    1818                        (GraphicsLayer
    19                           (position -608.00 0.00)
    20                           (bounds 1008.00 1016.00)
     19                          (position -615.00 0.00)
     20                          (bounds 1000.00 1000.00)
    2121                          (children 1
    2222                            (GraphicsLayer
    23                               (bounds 1008.00 1016.00)
     23                              (bounds 1000.00 1000.00)
    2424                              (drawsContent 1)
    2525                              (children 1
    2626                                (GraphicsLayer
    27                                   (position 658.00 50.00)
     27                                  (position 665.00 50.00)
    2828                                  (bounds 100.00 100.00)
    2929                                  (drawsContent 1)
     
    3737                  )
    3838                )
     39                (GraphicsLayer
     40                  (position 385.00 0.00)
     41                  (bounds 15.00 385.00)
     42                  (drawsContent 1)
     43                )
     44                (GraphicsLayer
     45                  (position 0.00 385.00)
     46                  (bounds 385.00 15.00)
     47                  (drawsContent 1)
     48                )
     49                (GraphicsLayer
     50                  (position 385.00 385.00)
     51                  (bounds 15.00 15.00)
     52                  (drawsContent 1)
     53                )
    3954              )
    4055            )
Note: See TracChangeset for help on using the changeset viewer.