From a17d89a9d300d7e185f2af2a3f6d1df292cd890a Mon Sep 17 00:00:00 2001 From: Micah Tigley Date: Mon, 8 Apr 2019 14:58:57 +0000 Subject: [PATCH] Bug 1534984 - Add a button for toggling print styles simulation in the Rule View toolbar r=gl Differential Revision: https://phabricator.services.mozilla.com/D25142 --HG-- extra : moz-landing-system : lando --- devtools/client/inspector/index.xhtml | 1 + devtools/client/inspector/rules/rules.js | 58 +++++++++++++++ devtools/client/jar.mn | 1 + .../client/locales/en-US/inspector.properties | 5 ++ .../images/rules-view-print-simulation.svg | 6 ++ devtools/client/themes/rules.css | 9 +++ devtools/server/actors/emulation.js | 74 ++++++++++++++++++- devtools/shared/specs/emulation.js | 19 +++++ 8 files changed, 170 insertions(+), 3 deletions(-) create mode 100644 devtools/client/themes/images/rules-view-print-simulation.svg diff --git a/devtools/client/inspector/index.xhtml b/devtools/client/inspector/index.xhtml index b7251ee1ee72..db3a5ea3785a 100644 --- a/devtools/client/inspector/index.xhtml +++ b/devtools/client/inspector/index.xhtml @@ -98,6 +98,7 @@ +