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

Side by Side Diff: LayoutTests/fast/table/caption-position.html

Issue 804383002: Layout captions in simplifiedNormalFlowLayout for tables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/run-after-display.js"></script>
3
4 Test passes is above is on top.
5 <table cellspacing="0" cellpadding="0">
6 <caption>
7 <div style="position:relative; height:2em;">
8 <div id="elm" style="position:absolute; left:0;">above</div>
9 </div>
10 </caption>
11 <tr>
12 <td>below</td>
13 </tr>
14 </table>
15
16 <script>
17 if (window.testRunner)
18 testRunner.waitUntilDone();
19
20 runAfterDisplay(function() {
mstensho (USE GERRIT) 2014/12/17 20:36:01 Instead of using the runAfterDisplay() machinery,
dsinclair 2014/12/17 20:44:08 I thought I'd tried that, but apparently not. Done
21 document.getElementById('elm').style.left = '1px';
22 if (testRunner)
23 testRunner.notifyDone();
24 });
25 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698