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

Side by Side Diff: third_party/WebKit/LayoutTests/fragmentation/thead-near-start-of-first-fragmentainer.html

Issue 2848883002: Don't truncate the border-spacing before the table-header-group when fragmenting. (Closed)
Patch Set: Created 3 years, 7 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 | « no previous file | third_party/WebKit/Source/core/layout/LayoutTableSection.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <p>Below there should be a black square surrounded by a rather thick
3 (10px wide) hotpink border on all sides.</p>
4 <div style="columns:2; column-fill:auto; height:300px;">
5 <div style="height:10px;"></div>
6 <table id="table" style="border-spacing:10px; width:120px; background:hotpin k;">
7 <thead style="break-inside:avoid;">
8 <tr>
9 <td id="cell" style="padding:0;">
10 <div id="pete" style="width:99px; height:100px; background:b lack;"></div>
11 </td>
12 </tr>
13 </thead>
14 </table>
15 </div>
16 <script>
17 </script>
18 <script src="../resources/testharness.js"></script>
19 <script src="../resources/testharnessreport.js"></script>
20 <script>
21 test(() => {
22 document.body.offsetTop;
23 document.getElementById("pete").style.width = "100px";
24 assert_equals(document.getElementById("cell").offsetTop, 10);
25 assert_equals(document.getElementById("table").offsetHeight, 120);
26 }, "THEAD near the top of the first fragmentainer");
27 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/LayoutTableSection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698