Changeset 101949 in webkit
- Timestamp:
- Dec 4, 2011 12:28:17 AM (12 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 added
- 32 deleted
- 3 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r101947 r101949 1 2011-12-02 Ryosuke Niwa <rniwa@webkit.org> 2 3 Convert isolate and plaintext tests to reftests 4 https://bugs.webkit.org/show_bug.cgi?id=73680 5 6 Reviewed by Darin Adler. 7 8 Convert bdi-element-expected.html, unicode-bidi-isolate-aharon.html, and unicode-bidi-plaintext.html to reftests. 9 In addition, isolate the failing test case in unicode-bidi-plaintext.html as unicode-bidi-isolate-aharon-failing.html. 10 11 * css3/bdi-element-expected.html: Copied from LayoutTests/css3/bdi-element.html. 12 * css3/unicode-bidi-isolate-aharon-expected.html: Copied from LayoutTests/css3/unicode-bidi-isolate-aharon.html. 13 * css3/unicode-bidi-isolate-aharon-failing-expected.html: Added. 14 * css3/unicode-bidi-isolate-aharon-failing.html: Added. 15 * css3/unicode-bidi-isolate-aharon.html: 16 * fast/text/international/unicode-bidi-plaintext.html: 17 * platform/chromium-cg-mac-leopard/css3/bdi-element-expected.png: Removed. 18 * platform/chromium-cg-mac-leopard/css3/bdi-element-expected.txt: Removed. 19 * platform/chromium-cg-mac-leopard/fast/text/international/unicode-bidi-plaintext-expected.png: Removed. 20 * platform/chromium-cg-mac/css3/bdi-element-expected.png: Removed. 21 * platform/chromium-linux/css3/bdi-element-expected.png: Removed. 22 * platform/chromium-linux/fast/text/international/unicode-bidi-plaintext-expected.png: Removed. 23 * platform/chromium-mac-leopard/css3/bdi-element-expected.png: Removed. 24 * platform/chromium-mac-leopard/css3/bdi-element-expected.txt: Removed. 25 * platform/chromium-mac-leopard/fast/text/international/unicode-bidi-plaintext-expected.png: Removed. 26 * platform/chromium-mac/css3/bdi-element-expected.png: Removed. 27 * platform/chromium-mac/fast/text/international/unicode-bidi-plaintext-expected.png: Removed. 28 * platform/chromium-win/css3/bdi-element-expected.png: Removed. 29 * platform/chromium-win/css3/bdi-element-expected.txt: Removed. 30 * platform/chromium-win/fast/text/international/unicode-bidi-plaintext-expected.png: Removed. 31 * platform/chromium-win/fast/text/international/unicode-bidi-plaintext-expected.txt: Removed. 32 * platform/chromium/css3/bdi-element-expected.txt: Removed. 33 * platform/efl/css3/bdi-element-expected.png: Removed. 34 * platform/efl/css3/bdi-element-expected.txt: Removed. 35 * platform/efl/fast/text/international/unicode-bidi-plaintext-expected.png: Removed. 36 * platform/efl/fast/text/international/unicode-bidi-plaintext-expected.txt: Removed. 37 * platform/gtk/css3/bdi-element-expected.png: Removed. 38 * platform/gtk/css3/bdi-element-expected.txt: Removed. 39 * platform/gtk/fast/text/international/unicode-bidi-plaintext-expected.png: Removed. 40 * platform/gtk/fast/text/international/unicode-bidi-plaintext-expected.txt: Removed. 41 * platform/mac/css3/bdi-element-expected.png: Removed. 42 * platform/mac/css3/bdi-element-expected.txt: Removed. 43 * platform/mac/fast/text/international/unicode-bidi-plaintext-expected.png: Removed. 44 * platform/mac/fast/text/international/unicode-bidi-plaintext-expected.txt: Removed. 45 * platform/qt/css3/bdi-element-expected.png: Removed. 46 * platform/qt/css3/bdi-element-expected.txt: Removed. 47 * platform/win/fast/text/international/unicode-bidi-plaintext-expected.png: Removed. 48 * platform/win/fast/text/international/unicode-bidi-plaintext-expected.txt: Removed. 49 1 50 2011-12-03 Vincent Scheib <scheib@chromium.org> 2 51 -
trunk/LayoutTests/css3/bdi-element-expected.html
r101733 r101949 12 12 </p> 13 13 <ul> 14 <li>User <bdi>jcranmer</bdi>: 12 posts.15 <li>User <bdi>hober</bdi>: 5 posts.16 <li>User < bdi>إيان</bdi>: 3 posts.14 <li>User jcranmer: 12 posts. 15 <li>User hober: 5 posts. 16 <li>User <span style="display: inline-block;">إيان</span><span dir="ltr">: 3 posts.</span></span> 17 17 </ul> 18 18 </body> -
trunk/LayoutTests/css3/unicode-bidi-isolate-aharon-expected.html
r101733 r101949 2 2 <html><head> 3 3 <title>Test cases for unicode-bidi:isolate</title> 4 <style>5 .test {6 position: relative;7 color: red;8 z-index: -1;9 height: 0px; /* Remove height: 0px to see side-by-side comparisons. */10 }11 .isolate {12 unicode-bidi: -webkit-isolate;13 }14 </style>15 4 </head><body> 16 5 No red text should be visible in any of the sections below. 17 6 opposite-to-base isolate followed by number. 18 7 <div> 19 <div class="test">20 <span class="isolate">א</span> (3 reviews)21 </div>22 8 <div class="reference"> 23 9 <span dir="ltr">א</span> (3 reviews) … … 27 13 opposite-to-base isolate with opposite-to-base text before it with neutrals in between. 28 14 <div> 29 <div class="test">30 א: <span class="isolate">ב</span>31 </div>32 15 <div class="reference"> 33 16 <span dir="ltr">א</span>: <span dir="ltr">ב</span> … … 37 20 opposite-to-base isolate with opposite-to-base text before it and nothing in between. 38 21 <div> 39 <div class="test">40 א<span class="isolate">ב</span>41 </div>42 22 <div class="reference"> 43 23 <bdo dir="ltr">אב</bdo> … … 47 27 two opposite-to-base isolates with neutrals in between. 48 28 <div> 49 <div class="test">50 <span class="isolate">א</span> = <span class="isolate">ב</span>51 </div>52 29 <div class="reference"> 53 30 <span dir="ltr">א</span> = <span dir="ltr">ב</span> … … 57 34 two opposite-to-base isolates with nothing in between. 58 35 <div> 59 <div class="test">60 <span class="isolate">א</span><span class="isolate">ב</span>61 </div>62 36 <div class="reference"> 63 37 <bdo dir="ltr">אב</bdo> … … 67 41 same-as-base isolate preceded by opposite-to-base text and followed by number 68 42 <div dir="rtl"> 69 <div class="test">70 see <span class="isolate">א</span><sup>3</sup>71 </div>72 43 <div class="reference"> 73 44 see <span dir="ltr">א</span><sup>3</sup> … … 77 48 same-as-base isolate surrounded by opposite-to-base text 78 49 <div dir="rtl"> 79 <div class="test">80 with <span class="isolate">א</span>=<span class="isolate">ב</span> everywhere81 </div>82 50 <div class="reference"> 83 51 with <span dir="ltr">א</span>=<span dir="ltr">ב</span> everywhere … … 87 55 chimeric isolate surrounded by chimeric text 88 56 <div> 89 <div class="test">90 about <span class="isolate">that א</span> - ב91 </div>92 57 <div class="reference"> 93 58 about that <span dir="ltr">א</span> - ב … … 95 60 </div> 96 61 <hr> 97 same-as-base isolate containing <br> surrounded by opposite-to-base text98 <!-- FIXME: This subtest may be invalid, see https://bugs.webkit.org/show_bug.cgi?id=50912#c30 -->99 <div dir="rtl">100 <div class="test">101 things to do: (1) <span class="isolate">א<br></span> (2) sleep102 </div>103 <div class="reference">104 <span dir="ltr">things to do: (1) א</span><br><span dir="ltr"> (2) sleep</span>105 </div>106 </div>107 <hr>108 62 nested chimeric isolates surrounded by chimeric text 109 63 <div> 110 <div class="test">111 about <span class="isolate">that <span class="isolate">strange א</span> - ב</span> - ג112 </div>113 64 <div class="reference"> 114 65 about that strange <span dir="ltr">א</span> - <span dir="ltr">ב</span> - ג -
trunk/LayoutTests/css3/unicode-bidi-isolate-aharon.html
r94775 r101949 3 3 <title>Test cases for unicode-bidi:isolate</title> 4 4 <style> 5 .test {6 position: relative;7 color: red;8 z-index: -1;9 height: 0px; /* Remove height: 0px to see side-by-side comparisons. */10 }11 5 .isolate { 12 6 unicode-bidi: -webkit-isolate; 7 unicode-bidi: -moz-isolate; 8 unicode-bidi: isolate; 13 9 } 14 10 </style> … … 20 16 <span class="isolate">א</span> (3 reviews) 21 17 </div> 22 <div class="reference">23 <span dir="ltr">א</span> (3 reviews)24 </div>25 18 </div> 26 19 <hr> … … 29 22 <div class="test"> 30 23 א: <span class="isolate">ב</span> 31 </div>32 <div class="reference">33 <span dir="ltr">א</span>: <span dir="ltr">ב</span>34 24 </div> 35 25 </div> … … 40 30 א<span class="isolate">ב</span> 41 31 </div> 42 <div class="reference">43 <bdo dir="ltr">אב</bdo>44 </div>45 32 </div> 46 33 <hr> … … 49 36 <div class="test"> 50 37 <span class="isolate">א</span> = <span class="isolate">ב</span> 51 </div>52 <div class="reference">53 <span dir="ltr">א</span> = <span dir="ltr">ב</span>54 38 </div> 55 39 </div> … … 60 44 <span class="isolate">א</span><span class="isolate">ב</span> 61 45 </div> 62 <div class="reference">63 <bdo dir="ltr">אב</bdo>64 </div>65 46 </div> 66 47 <hr> … … 69 50 <div class="test"> 70 51 see <span class="isolate">א</span><sup>3</sup> 71 </div>72 <div class="reference">73 see <span dir="ltr">א</span><sup>3</sup>74 52 </div> 75 53 </div> … … 80 58 with <span class="isolate">א</span>=<span class="isolate">ב</span> everywhere 81 59 </div> 82 <div class="reference">83 with <span dir="ltr">א</span>=<span dir="ltr">ב</span> everywhere84 </div>85 60 </div> 86 61 <hr> … … 89 64 <div class="test"> 90 65 about <span class="isolate">that א</span> - ב 91 </div>92 <div class="reference">93 about that <span dir="ltr">א</span> - ב94 </div>95 </div>96 <hr>97 same-as-base isolate containing <br> surrounded by opposite-to-base text98 <!-- FIXME: This subtest may be invalid, see https://bugs.webkit.org/show_bug.cgi?id=50912#c30 -->99 <div dir="rtl">100 <div class="test">101 things to do: (1) <span class="isolate">א<br></span> (2) sleep102 </div>103 <div class="reference">104 <span dir="ltr">things to do: (1) א</span><br><span dir="ltr"> (2) sleep</span>105 66 </div> 106 67 </div> … … 111 72 about <span class="isolate">that <span class="isolate">strange א</span> - ב</span> - ג 112 73 </div> 113 <div class="reference">114 about that strange <span dir="ltr">א</span> - <span dir="ltr">ב</span> - ג115 </div>116 74 </div> 117 75 </body></html> -
trunk/LayoutTests/fast/text/international/unicode-bidi-plaintext-expected.html
r101733 r101949 1 1 <!DOCTYPE html> 2 3 2 <html> 4 3 <head> 5 <style>6 .resultsDiv {7 position: absolute;8 top: 0px;9 left: 0px;10 -moz-column-width: 13em;11 -webkit-column-width: 13em;12 -moz-column-gap: 5em;13 -webkit-column-gap: 5em;14 height: 400px;15 }16 </style>17 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 18 5 </head> … … 20 7 <div>This tests proper handling of unicode-bidi: plaintext. You should not see any red.</div> 21 8 22 <div style="position:relative"> 23 <div class="resultsDiv"> 24 <div style="color: red; unicode-bidi: -webkit-plaintext;"> 25 !hello. 26 <br> 27 !שלום. 28 <br> 29 hello, לוי! 30 <br> 31 שלום, WebKit! 32 </div> 33 <pre style="color: red; margin: 0;" dir="auto"> 34 a 35 ( 36 שלום, WebKit! 37 hello, לוי! 38 ) 39 </pre> 40 </div> 41 </div> 42 43 <div style="position: relative;"> 44 <div style="color:green;" class="resultsDiv" dir=ltr> 9 <div dir=ltr> 45 10 !hello.<br> 46 11 <span dir=rtl> … … 52 17 <span dir=rtl> 53 18 שלום, WebKit!</span><br> 54 <pre style="color: green; margin: 0;">19 <pre> 55 20 a 56 21 ( … … 60 25 </pre> 61 26 </div> 27 28 </body> 29 </html> -
trunk/LayoutTests/fast/text/international/unicode-bidi-plaintext.html
r89864 r101949 1 1 <!DOCTYPE html> 2 3 2 <html> 4 3 <head> 5 <style>6 .resultsDiv {7 position: absolute;8 top: 0px;9 left: 0px;10 -moz-column-width: 13em;11 -webkit-column-width: 13em;12 -moz-column-gap: 5em;13 -webkit-column-gap: 5em;14 height: 400px;15 }16 </style>17 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 18 5 </head> … … 20 7 <div>This tests proper handling of unicode-bidi: plaintext. You should not see any red.</div> 21 8 22 <div style="position:relative"> 23 <div class="resultsDiv"> 24 <div style="color: red; unicode-bidi: -webkit-plaintext;"> 9 <div style="unicode-bidi: -webkit-plaintext; unicode-bidi: -moz-plaintext; unicode-bidi: plaintext;"> 25 10 !hello. 26 11 <br> … … 31 16 שלום, WebKit! 32 17 </div> 33 <pre style="color: red; margin: 0;"dir="auto">18 <pre dir="auto"> 34 19 a 35 20 ( … … 39 24 </pre> 40 25 </div> 41 </div>42 26 43 <div style="position: relative;"> 44 <div style="color:green;" class="resultsDiv" dir=ltr> 45 !hello.<br> 46 <span dir=rtl> 47 !שלום. 48 </span><br> 49 <span dir=ltr> 50 hello, לוי! 51 </span><br> 52 <span dir=rtl> 53 שלום, WebKit!</span><br> 54 <pre style="color: green; margin: 0;"> 55 a 56 ( 57 !WebKit ,שלום 58 hello, לוי! 59 ) 60 </pre> 61 </div> 27 </body> 28 </html>
Note: See TracChangeset
for help on using the changeset viewer.