Bug 1653290 - Add overflow badge and show an overflow badge for every scroll causing element dynamically and a test to check its working. r=gl,devtools-backward-compat-reviewers,jdescottes draft
authormanas <manas.khurana20@gmail.com>
Thu, 06 Aug 2020 16:14:23 +0000
changeset 13474 a83b9b727f3933bb8a6134be2916f706f87d084b
parent 13473 89b934bc7beeb32865c2c624c24b8d096364593d
child 13475 f395f1ce07ee4719424f2245427411602ff391b7
push id710
push userflodolo@mozilla.com
push dateFri, 07 Aug 2020 05:17:49 +0000
reviewersgl, devtools-backward-compat-reviewers, jdescottes
bugs1653290
Bug 1653290 - Add overflow badge and show an overflow badge for every scroll causing element dynamically and a test to check its working. r=gl,devtools-backward-compat-reviewers,jdescottes Differential Revision: https://phabricator.services.mozilla.com/D84333 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 541f7b1168b3cdfe3ae6e63ad4c2bf90b9ea4748 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: 8ddec31b4e0302852cde19380b97abe4a5b26f52 X-Channel-Repo: releases/mozilla-release X-Channel-Revision: df3ed76cf46b23c9b658cd5be4cdd4162d86f736 X-Channel-Repo: releases/mozilla-esr78 X-Channel-Revision: 34dd40076a4e0de25c2db1f619bf55367f67007b X-Channel-Repo: releases/mozilla-esr68 X-Channel-Revision: 84c0d49497b06dc02cfb89d39a56950dcf6e369f
devtools/client/inspector.properties
--- a/devtools/client/inspector.properties
+++ b/devtools/client/inspector.properties
@@ -543,16 +543,24 @@ inspector.colorSchemeSimulation.tooltip=
 # LOCALIZATION NOTE (markupView.scrollableBadge.label): This is the text displayed inside a
 # badge, in the inspector, next to nodes that are scrollable in the page.
 markupView.scrollableBadge.label=scroll
 
 # LOCALIZATION NOTE (markupView.scrollableBadge.tooltip): This is the tooltip that is displayed
 # when hovering over badges next to scrollable elements in the inspector.
 markupView.scrollableBadge.tooltip=This element has scrollable overflow.
 
+# LOCALIZATION NOTE (markupView.overflowBadge.label): This is the text displayed inside a
+# badge, in the inspector, next to nodes that are causing overflow in other elements.
+markupView.overflowBadge.label=overflow
+
+# LOCALIZATION NOTE (markupView.overflowBadge.tooltip): This is the tooltip that is displayed
+# when hovering over badges next to overflow causing elements in the inspector.
+markupView.overflowBadge.tooltip=This element is causing an element to overflow.
+
 # LOCALIZATION NOTE (rulePreviewTooltip.noAssociatedRule): This is the text displayed inside
 # the RulePreviewTooltip when a rule cannot be found for a CSS property declaration.
 rulePreviewTooltip.noAssociatedRule=No associated rule
 
 # LOCALIZATION NOTE (colorPickerTooltip.contrastAgainstBgTitle): A title text for the
 # contrast ratio value description that labels the background the color contrast ratio is calculated
 # against, used together with the actual background color. %S in the content will be replaced by a
 # span (containing bg color swatch) and textNode (containing bg color hex string) at run time