Changeset 150458 in webkit


Ignore:
Timestamp:
May 21, 2013 11:21:14 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[CSSRegions] Remove percentages from offsetLeft/offsetTop tests to avoid sub-pixel errors
https://bugs.webkit.org/show_bug.cgi?id=116544

Patch by Radu Stavila <stavila@adobe.com> on 2013-05-21
Reviewed by Andreas Kling.

  • fast/regions/offsetLeft-offsetTop-in-multiple-regions.html:
  • fast/regions/offsetLeft-offsetTop-in-region-absolute-sticky-fixed.html:
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r150452 r150458  
     12013-05-21  Radu Stavila  <stavila@adobe.com>
     2
     3        [CSSRegions] Remove percentages from offsetLeft/offsetTop tests to avoid sub-pixel errors
     4        https://bugs.webkit.org/show_bug.cgi?id=116544
     5
     6        Reviewed by Andreas Kling.
     7
     8        * fast/regions/offsetLeft-offsetTop-in-multiple-regions.html:
     9        * fast/regions/offsetLeft-offsetTop-in-region-absolute-sticky-fixed.html:
     10
    1112013-05-20  Jer Noble  <jer.noble@apple.com>
    212
  • trunk/LayoutTests/fast/regions/offsetLeft-offsetTop-in-multiple-regions.html

    r150383 r150458  
    2626                        padding-left: 5px;
    2727                        margin: 5px;
    28                         margin-left: 5%;
     28                        margin-left: 10px;
    2929                        left: 40px;
    3030                        -webkit-flow-into: flow2;
     
    117117                #first_region2 {
    118118                        position: relative;
    119                         left: 449px;
     119                        left: 464px;
    120120                        top: -140px;
    121121                        width: 500px;
     
    125125                #second_region2 {
    126126                        position: relative;
    127                         left: 418px;
     127                        left: 424px;
    128128                        top: -94px;
    129129                        width: 330px;
     
    133133                #third_region2 {
    134134                        position: relative;
    135                         left: 565px;
     135                        left: 569px;
    136136                        top: -66px;
    137137                        width: 282px;
  • trunk/LayoutTests/fast/regions/offsetLeft-offsetTop-in-region-absolute-sticky-fixed.html

    r150383 r150458  
    3434                        padding-left: 5px;
    3535                        margin: 5px;
    36                         margin-left: 5%;
     36                        margin-left: 10px;
    3737                        left: 40px;
    3838                        -webkit-flow-into: flow3;
     
    4141                #divMain4 {
    4242                        border: 2px solid blue;
    43                         width: 90%;
     43                        width: 225px;
    4444                        height: 120px;
    4545                        padding-left: 5px;
    4646                        padding-top: 5px;
    47                         margin: 3.5%;
     47                        margin: 8px;
    4848                        -webkit-flow-into: flow4;
    4949                }
     
    122122                        position: relative;
    123123                        margin-top: 20px;
    124                         left: 562px;
     124                        left: 564px;
    125125                        top: 53px;
    126126                        width: 250px;
Note: See TracChangeset for help on using the changeset viewer.