From e07b05845df172a7d69db354c57bbb075da331f6 Mon Sep 17 00:00:00 2001 From: roytam1 Date: Fri, 6 Jan 2023 21:20:14 +0800 Subject: [PATCH] import from UXP: Issue #2075 - Part 2: Update devtools for inset-* (07af4123) --- devtools/client/shared/components/tabs/tabs.css | 2 +- devtools/client/themes/common.css | 2 +- devtools/client/themes/widgets.css | 2 +- devtools/server/actors/highlighters.css | 4 ++-- layout/style/res/html.css | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/devtools/client/shared/components/tabs/tabs.css b/devtools/client/shared/components/tabs/tabs.css index d203a42c6..09e7a035d 100644 --- a/devtools/client/shared/components/tabs/tabs.css +++ b/devtools/client/shared/components/tabs/tabs.css @@ -47,7 +47,7 @@ .tabs .all-tabs-menu { position: absolute; top: 0; - offset-inline-end: 0; + inset-inline-end: 0; width: 15px; height: 100%; border-inline-start: 1px solid var(--theme-splitter-color); diff --git a/devtools/client/themes/common.css b/devtools/client/themes/common.css index 1f6146150..1d212996a 100644 --- a/devtools/client/themes/common.css +++ b/devtools/client/themes/common.css @@ -651,7 +651,7 @@ checkbox:-moz-focusring { .devtools-searchinput-clear { position: absolute; top: 3.5px; - offset-inline-end: 7px; + inset-inline-end: 7px; padding: 0; border: 0; width: 16px; diff --git a/devtools/client/themes/widgets.css b/devtools/client/themes/widgets.css index 6d983ad81..c2f046042 100644 --- a/devtools/client/themes/widgets.css +++ b/devtools/client/themes/widgets.css @@ -216,7 +216,7 @@ content: ""; position: absolute; top: 1px; - offset-inline-start: 0; + inset-inline-start: 0; width: 12px; height: 22px; background-repeat: no-repeat; diff --git a/devtools/server/actors/highlighters.css b/devtools/server/actors/highlighters.css index 94f154ea1..5e78249dd 100644 --- a/devtools/server/actors/highlighters.css +++ b/devtools/server/actors/highlighters.css @@ -533,8 +533,8 @@ width: 16px; height: 16px; position: absolute; - offset-inline-start: 3px; - offset-block-start: 3px; + inset-inline-start: 3px; + inset-block-start: 3px; box-shadow: 0px 0px 0px black; border: solid 1px #fff; } diff --git a/layout/style/res/html.css b/layout/style/res/html.css index 59cc47435..1afdc4eee 100644 --- a/layout/style/res/html.css +++ b/layout/style/res/html.css @@ -815,8 +815,8 @@ details > summary:first-of-type > *|* { dialog { position: absolute; - offset-inline-start: 0; - offset-inline-end: 0; + inset-inline-start: 0; + inset-inline-end: 0; color: black; margin: auto; border-width: initial;