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

Unified Diff: third_party/WebKit/LayoutTests/fast/table/percent-height-border-box-content-in-cell-3.html

Issue 2535173006: Percent height border-box content should get correct height in percent height cells (Closed)
Patch Set: bug 669867 Created 4 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
Index: third_party/WebKit/LayoutTests/fast/table/percent-height-border-box-content-in-cell-3.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/percent-height-border-box-content-in-cell-3.html b/third_party/WebKit/LayoutTests/fast/table/percent-height-border-box-content-in-cell-3.html
new file mode 100644
index 0000000000000000000000000000000000000000..1133ec5a29fce3c9d4f92f08b9711c0d797316e8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/table/percent-height-border-box-content-in-cell-3.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<style>
+.cell { display:table-cell; }
+.div { height: 100%; box-sizing: border-box; border: 2px solid black; padding: 2px; font: 20px Ahem;}
+</style>
+<div class="cell">
+ <div class="div" data-expected-height=28>Text</div>
+</div>
+<script src="../../resources/check-layout.js"></script>
+<p> crbug.com/669687: Percent height border-box content in a cell gets the correct height. </p>
+<div id="output"></div>
+<script>
+checkLayout('.div', output);
+</script>

Powered by Google App Engine
This is Rietveld 408576698