[TablesNG] Fix size of table-cell child with overflow and percent height

Previously we didn't consider a table-cell as having a restricted size
if the table-cell itself had a size specified.

This changes to logic to also consider this.

Bug: 1210436
Change-Id: If0b90822a6461b0ca7764d9e4d7c8ab6b2a00b88
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2904468
Reviewed-by: Aleks Totic <atotic@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#884156}
diff --git a/css/css-tables/table-cell-child-overflow-measure-ref.html b/css/css-tables/table-cell-child-overflow-measure-ref.html
new file mode 100644
index 0000000..d4e3ec6
--- /dev/null
+++ b/css/css-tables/table-cell-child-overflow-measure-ref.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<div style="width: 100px; height: 100px; background: green;">
+  <div style="overflow: auto; height: 100%;">
+     <div style="height: 200px;"></div>
+  </div>
+</div>
diff --git a/css/css-tables/table-cell-child-overflow-measure.html b/css/css-tables/table-cell-child-overflow-measure.html
new file mode 100644
index 0000000..c092d0c
--- /dev/null
+++ b/css/css-tables/table-cell-child-overflow-measure.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1210436">
+<link rel="match" href="table-cell-child-overflow-measure-ref.html">
+<div style="width: 100px; height: 100px; display: table-cell; background: green;">
+  <div style="overflow: auto; height: 100%;">
+     <div style="height: 200px;"></div>
+  </div>
+</div>