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

Side by Side Diff: LayoutTests/fast/css/display-table-caption.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>
mstensho (USE GERRIT) 2014/12/16 15:27:01 I think the test would sit better in LayoutTests/f
dsinclair 2014/12/16 15:40:32 Done.
2 <script src="../../resources/run-after-display.js"></script>
3 <style>
4 .c5:after {
5 position:absolute;
6 content: counter(c, lower-armenian) attr(id);
7 counter-increment: c 895;
8 }
9 .c5 { -webkit-transform:skew(20deg); }
10 .c5:last-of-type { display: table-caption; }
11 .c4:nth-of-type(2n+1) { counter-increment: c 578; }
12 </style>
13
14 <option>
mstensho (USE GERRIT) 2014/12/16 15:27:01 This test can be simplified quite a bit. Like usin
dsinclair 2014/12/16 15:40:32 This is a reduction from a CRASH, so I'd like to k
mstensho (USE GERRIT) 2014/12/16 15:43:31 Acknowledged.
15
16 This test passes if it does not CRASH.
17
18 <script>
19 if (window.testRunner) {
20 testRunner.dumpAsText();
21 testRunner.waitUntilDone();
22 }
23
24 onload = function() {
25 var el = document.createElement('li');
26 el.setAttribute('class', 'c5');
27 document.body.appendChild(el);
28
29 runAfterDisplay(function() {
30 var o = document.querySelector('option');
31 o.setAttribute('class', 'c4');
32
33 if (window.testRunner)
34 testRunner.notifyDone();
35 });
36 }
37 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698