From fb2fcc84ff7a9a22ddc9ba820992affcb842ef51 Mon Sep 17 00:00:00 2001 From: Eric Willigers Date: Thu, 20 Sep 2018 21:07:29 +1000 Subject: [PATCH 1/2] [css-overflow] Inheritance and initial values Test that CSS Overflow properties inherit. Test that they have the initial values given in the spec. https://drafts.csswg.org/css-overflow/#property-index --- css/css-overflow/inheritance.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 css/css-overflow/inheritance.html diff --git a/css/css-overflow/inheritance.html b/css/css-overflow/inheritance.html new file mode 100644 index 00000000000000..48c827f3ab08f6 --- /dev/null +++ b/css/css-overflow/inheritance.html @@ -0,0 +1,28 @@ + + + + +Inheritance of CSS Overflow properties + + + + + + + + +
+
+
+ + + From 680da6c668846d99a94d74a72bcee58b3624d896 Mon Sep 17 00:00:00 2001 From: Eric Willigers Date: Thu, 17 Jan 2019 07:06:15 +1100 Subject: [PATCH 2/2] overflow-block overflow-inline default to visible --- css/css-overflow/inheritance.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/css-overflow/inheritance.html b/css/css-overflow/inheritance.html index 48c827f3ab08f6..976406be413b9b 100644 --- a/css/css-overflow/inheritance.html +++ b/css/css-overflow/inheritance.html @@ -18,8 +18,8 @@ assert_inherited('block-ellipsis', 'none', 'auto'); assert_not_inherited('continue', 'auto', 'discard'); assert_not_inherited('max-lines', 'none', '2'); -assert_not_inherited('overflow-block', 'auto', 'scroll'); -assert_not_inherited('overflow-inline', 'auto', 'scroll'); +assert_not_inherited('overflow-block', 'visible', 'scroll'); +assert_not_inherited('overflow-inline', 'visible', 'scroll'); assert_not_inherited('overflow-x', 'visible', 'scroll'); assert_not_inherited('overflow-y', 'visible', 'scroll'); assert_not_inherited('text-overflow', 'clip', 'ellipsis');