Changeset 105200 in webkit


Ignore:
Timestamp:
Jan 17, 2012 3:25:53 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Convert some fast/regions pixel tests to reftests
https://bugs.webkit.org/show_bug.cgi?id=74133

Patch by Jacob Goldstein <jacobg@adobe.com> on 2012-01-17
Reviewed by Tony Chang.

  • fast/regions/webkit-flow-inlines-dynamic-expected.html: Added.
  • fast/regions/webkit-flow-inlines-dynamic.html:
  • platform/efl/fast/regions/webkit-flow-inlines-dynamic-expected.png: Removed.
  • platform/efl/fast/regions/webkit-flow-inlines-dynamic-expected.txt: Removed.
  • platform/mac/fast/regions/webkit-flow-inlines-dynamic-expected.png: Removed.
  • platform/mac/fast/regions/webkit-flow-inlines-dynamic-expected.txt: Removed.
Location:
trunk/LayoutTests
Files:
1 added
4 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r105194 r105200  
     12012-01-17  Jacob Goldstein  <jacobg@adobe.com>
     2
     3        Convert some fast/regions pixel tests to reftests
     4        https://bugs.webkit.org/show_bug.cgi?id=74133
     5
     6        Reviewed by Tony Chang.
     7
     8        * fast/regions/webkit-flow-inlines-dynamic-expected.html: Added.
     9        * fast/regions/webkit-flow-inlines-dynamic.html:
     10        * platform/efl/fast/regions/webkit-flow-inlines-dynamic-expected.png: Removed.
     11        * platform/efl/fast/regions/webkit-flow-inlines-dynamic-expected.txt: Removed.
     12        * platform/mac/fast/regions/webkit-flow-inlines-dynamic-expected.png: Removed.
     13        * platform/mac/fast/regions/webkit-flow-inlines-dynamic-expected.txt: Removed.
     14
    1152012-01-17  Csaba Osztrogonác  <ossy@webkit.org>
    216
  • trunk/LayoutTests/fast/regions/webkit-flow-inlines-dynamic.html

    r97701 r105200  
    22
    33 <style>
     4
     5    @font-face {
     6            font-family: webkit-ahem;
     7            font-style: normal;
     8            src: url(../../resources/Ahem.ttf);
     9    }
     10
     11    #test-goals, #test, #test2{
     12            font-family: webkit-ahem;
     13    }
     14
    415    #content {
    516        -webkit-flow-into: flow1;
    6         text-align: justify;
    717        padding: 5px;
    818    }
     
    1323   
    1424    #second-box {
    15         margin:10px;
     25        margin:7px;
    1626        border: 1px solid green;
    1727    }
     
    2333
    2434    #region1 {
    25         width: 200px;
    26         height: 100px;
     35        width: 15em;
     36        height: 55px;
    2737    }
    2838   
    2939    #region2 {
    30         width: 300px;
    31         height: 180px;
     40        width: 35em;
     41        height: 45px;
    3242    }
    3343   
    3444    #region3 {
    35         width: 120px;
    36         height: 120px;
     45        width: 10em;
     46        height: 55px;
    3747    }
    3848</style>
    3949
     50<div id="topLevel">
     51        <span id="test-goals">Text should flow through all three regions and not spill outside of the border</span>
     52</div>
    4053<div id="content">
    4154    <div id="first-box">
    4255        <div id="second-box">
    43             <span id="test">This line of text should not get out of the region.</span> This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region.<br><br>
    44             This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region.<br><br>
    45             This line of text should not get out of the region.<br><br>
     56            <span id="test">mnopq mnopq mnopq mnopq </span> <span id="test2"> mnopqmnopq mnopqmnopq mnopqmnopq mnopqmnopq mnopqmnopq mno mno mno mno mno mno mno mno</span>
    4657        </div>
    4758    </div>
     
    5667<script>
    5768document.body.offsetWidth;
    58 document.getElementById('test').appendChild(document.createTextNode(" Here is some added content that will mess things up, since it shoves things down."));
     69document.getElementById('test').appendChild(document.createTextNode("qponmqponm "));
    5970</script>
Note: See TracChangeset for help on using the changeset viewer.