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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/table/caption-position-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/table/caption-position.html
diff --git a/LayoutTests/fast/table/caption-position.html b/LayoutTests/fast/table/caption-position.html
new file mode 100644
index 0000000000000000000000000000000000000000..992794bb5c5d5f2c01ac44bf5d8833871354536e
--- /dev/null
+++ b/LayoutTests/fast/table/caption-position.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+Test passes if above is on top.
+<table cellspacing="0" cellpadding="0">
+ <caption>
+ <div style="position:relative; height:2em;">
+ <div id="elm" style="position:absolute; left:0;">above</div>
+ </div>
+ </caption>
+ <tr>
+ <td>below</td>
+ </tr>
+</table>
+
+<script>
+onload = function() {
+ document.body.offsetTop;
+ document.getElementById('elm').style.left = '1px';
+}
+</script>
« no previous file with comments | « no previous file | LayoutTests/fast/table/caption-position-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698