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

Side by Side Diff: sky/tests/layout/document-elementFromPoint.sky

Issue 1077473002: Stop rendering text inside flex boxes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: make p default to display: paragraph Created 5 years, 8 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
« no previous file with comments | « sky/tests/layout/custom-dirty-bits-expected.txt ('k') | sky/tests/layout/ellipsis.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <sky> 1 <sky>
2 <style> 2 <style>
3 foo, parent { width: 100px; height: 100px; background: blue; } 3 foo, parent { width: 100px; height: 100px; background: blue; }
4 bar { width: 100px; height: 100px; background: purple; } 4 bar { width: 100px; height: 100px; background: purple; }
5 parent { display: paragraph; } 5 parent { display: paragraph; }
6 child { background: salmon; } 6 child { background: salmon; display: paragraph; }
7 canvas { height: 50px; background-color: pink; } 7 canvas { height: 50px; background-color: pink; }
8 inline-flex { display: inline-flex; width: 50px; height: 50px; background: green ; } 8 inline-flex { display: inline-flex; width: 50px; height: 50px; background: green ; }
9 grand-child { width: 50px; height: 50px; transform: translate3d(100px, 0, 0); ba ckground: papayawhip; } 9 grand-child { width: 50px; height: 50px; transform: translate3d(100px, 0, 0); ba ckground: papayawhip; }
10 </style> 10 </style>
11 <foo /><bar /> 11 <foo /><bar />
12 <parent> 12 <parent>
13 <child>Foo bar</child> 13 <child>Foo bar</child>
14 <inline-flex> 14 <inline-flex>
15 <grand-child /> 15 <grand-child />
16 </inline-flex> 16 </inline-flex>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // This broke sometime before 4153b8a515d54275934d4244aaf2d5a7a8fe3333. 66 // This broke sometime before 4153b8a515d54275934d4244aaf2d5a7a8fe3333.
67 expect(document.elementFromPoint(150, 240).tagName, equals('sky')); 67 expect(document.elementFromPoint(150, 240).tagName, equals('sky'));
68 }); 68 });
69 69
70 test("should hit test canvas", () { 70 test("should hit test canvas", () {
71 expect(document.elementFromPoint(50, 310).tagName, equals('canvas')); 71 expect(document.elementFromPoint(50, 310).tagName, equals('canvas'));
72 }); 72 });
73 } 73 }
74 </script> 74 </script>
75 </sky> 75 </sky>
OLDNEW
« no previous file with comments | « sky/tests/layout/custom-dirty-bits-expected.txt ('k') | sky/tests/layout/ellipsis.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698