From 224c3f6348047a53281c1ff0a939d4c4ce7cd9c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 16 Dec 2019 22:10:11 +0000 Subject: [PATCH] Bug 1603049 - Inherit outline-offset from the table. r=dbaron outline-offset isn't included in the outline shorthand. Differential Revision: https://phabricator.services.mozilla.com/D57347 --HG-- extra : moz-landing-system : lando --- layout/style/res/ua.css | 1 + .../css/css-ui/outline-offset-table-001-notref.html | 11 +++++++++++ .../tests/css/css-ui/outline-offset-table-001.html | 13 +++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 testing/web-platform/tests/css/css-ui/outline-offset-table-001-notref.html create mode 100644 testing/web-platform/tests/css/css-ui/outline-offset-table-001.html diff --git a/layout/style/res/ua.css b/layout/style/res/ua.css index d217007e4e80..9bff80d02084 100644 --- a/layout/style/res/ua.css +++ b/layout/style/res/ua.css @@ -61,6 +61,7 @@ grid-row-end: inherit; order: inherit; outline: inherit; + outline-offset: inherit; column-span: inherit; /* needed if has "column-span:all" */ contain: inherit; /* needed if table has 'contain:layout' or 'paint' */ } diff --git a/testing/web-platform/tests/css/css-ui/outline-offset-table-001-notref.html b/testing/web-platform/tests/css/css-ui/outline-offset-table-001-notref.html new file mode 100644 index 000000000000..aafa2b053cb3 --- /dev/null +++ b/testing/web-platform/tests/css/css-ui/outline-offset-table-001-notref.html @@ -0,0 +1,11 @@ + +CSS Rest Reference + +
+ Some content +
diff --git a/testing/web-platform/tests/css/css-ui/outline-offset-table-001.html b/testing/web-platform/tests/css/css-ui/outline-offset-table-001.html new file mode 100644 index 000000000000..4b6f46949b7d --- /dev/null +++ b/testing/web-platform/tests/css/css-ui/outline-offset-table-001.html @@ -0,0 +1,13 @@ + +outline-offset applies to tables + + + + + + + + Some content +