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> |