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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/change-row-border-width-floating-container.html

Issue 2023583002: [css-tables] Set ancestor widths dirty when row border width changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove extra id Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/change-row-border-width-floating-container-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/table/change-row-border-width-floating-container.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/change-row-border-width-floating-container.html b/third_party/WebKit/LayoutTests/fast/table/change-row-border-width-floating-container.html
new file mode 100644
index 0000000000000000000000000000000000000000..bfd535aae98c5350c53ea9b360ac5d29f515a5b8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/change-row-border-width-floating-container.html
@@ -0,0 +1,26 @@
+<!doctype html>
+<style>
+ td {
+ width: 50px;
+ height: 50px;
+ padding: 0px;
+ }
+</style>
+<script src="../../resources/check-layout.js"></script>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<script type="text/javascript">
+ function shrinkRowBorder() {
+ document.getElementById("row").style.borderWidth = "4px";
+ checkLayout("div");
+ }
+ runAfterLayoutAndPaint(shrinkRowBorder, true);
+</script>
+<p>There should be a square below with an internal blue border and external
+black border. The external black border is around a shrink-to-fit div.</p>
+<div style="float:left; border: 1px solid black" data-expected-width=60>
+ <table style="border-collapse:collapse" data-expected-width=58 data-expected-height=58>
+ <tr style="border:18px solid lightblue" id="row">
+ <td></td>
+ </tr>
+ </table>
+</div>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/change-row-border-width-floating-container-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698