Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Side by Side Diff: LayoutTests/try-ahem/fast/repaint/transform-inline-layered-child.html

Issue 1207173002: [Temporary] try resources/ahem.js (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/resources/ahem.js ('k') | LayoutTests/try-ahem/fast/text/whitespace/002.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script>
3 <script>
4 function repaintTest() {
5 document.getElementById('box').style.transform = 'rotate(30deg)';
6 }
7 onload = runRepaintTest;
8 </script>
9 <style>
10 @font-face { font-family: myahem; src: url(../../../resources/Ahem.ttf); }
11 #box {
12 position: absolute;
13 top: 100px;
14 left: 100px;
15 width: 100px;
16 }
17 #child {
18 position: relative;
19 left: 200px;
20 top: 200px;
21 font-family: myahem;
22 }
23 </style>
24 Tests if the inline layered child is correctly repainted when container's transf orm changes.
25 Succeeds if the text is completely rotated leaving no residue at the original lo cation.
26 <div id="box">
27 <span id="child">A B C D E F G H I J K L M N O P Q R S T U V W X Y Z</span>
28 </div>
OLDNEW
« no previous file with comments | « LayoutTests/resources/ahem.js ('k') | LayoutTests/try-ahem/fast/text/whitespace/002.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698