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

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

Issue 804383002: Layout captions in simplifiedNormalFlowLayout for tables. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Review feedback 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 <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; }
Julien - ping for review 2014/12/16 16:05:53 Nit: It's preferred to give meaningful name for cl
dsinclair 2014/12/16 17:23:19 Done.
12 </style>
13
14 This test passes if it does not CRASH.
15
16 <option>
17
Julien - ping for review 2014/12/16 16:05:53 You have a gazillion unneeded empty lines in your
dsinclair 2014/12/16 17:23:19 Done.
18
19 <script>
20 if (window.testRunner) {
21 testRunner.dumpAsText();
22 testRunner.waitUntilDone();
23 }
24
25 onload = function() {
26 var el = document.createElement('li');
27 el.setAttribute('class', 'c5');
28 document.body.appendChild(el);
29
30 runAfterDisplay(function() {
Julien - ping for review 2014/12/16 16:05:53 That's not needed AFAICT. Forcing a synchronous la
dsinclair 2014/12/16 17:23:19 Done.
31 var o = document.querySelector('option');
32 o.setAttribute('class', 'c4');
33
34 if (window.testRunner)
35 testRunner.notifyDone();
36 });
37 }
38 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/table/display-table-caption-crash-expected.txt » ('j') | Source/core/rendering/RenderTable.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698