Changeset 142208 in webkit


Ignore:
Timestamp:
Feb 7, 2013 4:59:19 PM (11 years ago)
Author:
zoltan@webkit.org
Message:

[CSS Regions] Turn selecting-text-through-different-region-flows test into a reftest
https://bugs.webkit.org/show_bug.cgi?id=109228

Reviewed by Eric Seidel.

Simplify and turn the test into a reftest, remove the unnecessary expected files.

  • fast/regions/selecting-text-through-different-region-flows-expected.html: Added.
  • fast/regions/selecting-text-through-different-region-flows-expected.txt: Removed.
  • fast/regions/selecting-text-through-different-region-flows.html:
  • platform/chromium-linux/fast/regions/selecting-text-through-different-region-flows-expected.png: Removed.
  • platform/chromium-mac-lion/fast/regions/selecting-text-through-different-region-flows-expected.png: Removed.
  • platform/chromium-mac-snowleopard/fast/regions/selecting-text-through-different-region-flows-expected.png: Removed.
  • platform/chromium-win/fast/regions/selecting-text-through-different-region-flows-expected.png: Removed.
  • platform/chromium-win/fast/regions/selecting-text-through-different-region-flows-expected.txt: Removed.
  • platform/efl/fast/regions/selecting-text-through-different-region-flows-expected.png: Removed.
  • platform/efl/fast/regions/selecting-text-through-different-region-flows-expected.txt: Removed.
  • platform/gtk/fast/regions/selecting-text-through-different-region-flows-expected.txt: Removed.
  • platform/qt/fast/regions/selecting-text-through-different-region-flows-expected.png: Removed.
  • platform/qt/fast/regions/selecting-text-through-different-region-flows-expected.txt: Removed.
Location:
trunk/LayoutTests
Files:
1 added
5 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r142206 r142208  
     12013-02-07  Zoltan Horvath  <zoltan@webkit.org>
     2
     3        [CSS Regions] Turn selecting-text-through-different-region-flows test into a reftest
     4        https://bugs.webkit.org/show_bug.cgi?id=109228
     5
     6        Reviewed by Eric Seidel.
     7
     8        Simplify and turn the test into a reftest, remove the unnecessary expected files.
     9
     10        * fast/regions/selecting-text-through-different-region-flows-expected.html: Added.
     11        * fast/regions/selecting-text-through-different-region-flows-expected.txt: Removed.
     12        * fast/regions/selecting-text-through-different-region-flows.html:
     13        * platform/chromium-linux/fast/regions/selecting-text-through-different-region-flows-expected.png: Removed.
     14        * platform/chromium-mac-lion/fast/regions/selecting-text-through-different-region-flows-expected.png: Removed.
     15        * platform/chromium-mac-snowleopard/fast/regions/selecting-text-through-different-region-flows-expected.png: Removed.
     16        * platform/chromium-win/fast/regions/selecting-text-through-different-region-flows-expected.png: Removed.
     17        * platform/chromium-win/fast/regions/selecting-text-through-different-region-flows-expected.txt: Removed.
     18        * platform/efl/fast/regions/selecting-text-through-different-region-flows-expected.png: Removed.
     19        * platform/efl/fast/regions/selecting-text-through-different-region-flows-expected.txt: Removed.
     20        * platform/gtk/fast/regions/selecting-text-through-different-region-flows-expected.txt: Removed.
     21        * platform/qt/fast/regions/selecting-text-through-different-region-flows-expected.png: Removed.
     22        * platform/qt/fast/regions/selecting-text-through-different-region-flows-expected.txt: Removed.
     23
    1242013-02-07  Alexei Svitkine  <asvitkine@chromium.org>
    225
  • trunk/LayoutTests/fast/regions/selecting-text-through-different-region-flows.html

    r139197 r142208  
    22<html>
    33<head>
    4 <script>
    5 if (window.testRunner)
    6      testRunner.dumpEditingCallbacks();
    7 </script>
    84<style>
    95body { width: 600px; }
    106
    11 #footNote > * {
     7#footNote {
    128    -webkit-flow-into: footNote;
    139    display: block;
    14 }
    15 #footNoteRegion { -webkit-flow-from: footNote; }
    16 
    17 #content {
    18     -webkit-flow-into: content;
    19     border-bottom: 1px solid black;
    20     padding-bottom: 5px;
     10    font-size: 13px;
    2111}
    2212
     13#footNoteRegion { -webkit-flow-from: footNote; }
     14#content { -webkit-flow-into: content; }
    2315#region { -webkit-flow-from: content; }
    24 
    25 #footNote::before {
    26     counter-increment: footnote-reference;
    27     content: counter(footnote-reference);
    28 }
    29 
    30 #footNote > * > *:first-child::before {
    31     counter-increment: footnote;
    32     content: counter(footnote);
    33 }
    34 
    35 #footNote > * > *::before, #footNote::before {
    36     position: relative;
    37     top: -0.5em;
    38     font-size: 80%;
    39 }
    40 
    41 #footNote {
    42     font-size: 12px;
    43     line-height: 1em;
    44     font-weight: bold;
    45 }
    4616</style>
    4717</head>
    4818<body>
     19
    4920<div id="region"></div>
    5021<div id="footNoteRegion"></div>
    51 
    5222<div id="content">
    53     <h1>Selecting text through different CSS-Region flows</h1>
    54     <div contenteditable="true" id="contentText">
    55         This text contains a footnote as a nested region what is diplayed below the article.<span id="footNote">
    56         <span><span></span>This is a footnote. Footnotes can be quite long and go over several lines. This footnote
     23    <h1 style="margin-top: 0px">Selecting text through different CSS-Region flows</h1>
     24    <div id="contentText">
     25        This text contains a footnote as a nested region what is diplayed below the article. (1) <span id="footNote">
     26        <span><span></span>(1) This is a footnote. Footnotes can be quite long and go over several lines. This footnote
    5727        is nested inside the text above and displayed here with the help of css-regions.</span></span> If you start selecting
    5828        text from this article until somewhere in the footnote and then click somewhere, the selection should be cleared.
    5929    </div>
    6030</div>
     31
    6132<script>
    6233if (window.testRunner) {
Note: See TracChangeset for help on using the changeset viewer.