[M108 Migration]Use container's height to calculate margin top/bottom 28/288428/4
authorBakka Uday Kiran <b.kiran@samsung.com>
Thu, 16 Feb 2023 07:55:09 +0000 (13:25 +0530)
committerBot Blink <blinkbot@samsung.com>
Fri, 17 Feb 2023 22:13:48 +0000 (22:13 +0000)
commitd8790cdc806d905ac338da965a7faeed16e40f4a
tree045df591c78e09aa3c32f4837217d131a267d8b9
parentf93862cde8df5ec43d5c8bda0516abd485b35c14
[M108 Migration]Use container's height to calculate margin top/bottom

Some WebKit-based apps expect vertical margins to be calculated
using container's height rather than its width (as stated in
specification). To provide correct layout of those apps, we
allow for non-compliant calculations in compatibility
mode (to be implemented).

Reference: https://review.tizen.org/gerrit/c/282202

Change-Id: I5bffc230b821939c0e89bbb33c7758040ca7bfe9
Signed-off-by: Bakka Uday Kiran <b.kiran@samsung.com>
third_party/blink/renderer/core/layout/layout_box.cc