Differential D306574
Bug 2019164 - Update chiclets in the urlbar view for Nova. AcceptedPublic Authored by adw on Fri, Jun 12, 11:12 PM. Referenced Files
Subscribers
Details
Summary Update the following:
Also re-nest the RTL rule; see Phab discussion. Depends on D306565
Diff Detail
Unit TestsFailed
Event Timelineadw created this revision.Fri, Jun 12, 11:12 PM phab-bot published this revision for review.Fri, Jun 12, 11:12 PM phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)". phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)". phab-bot removed a project: secure-revision. adw added a parent revision: D306443: WIP: Bug 2046942 - Make sure urlbar and tab Nova files are syncing with Figma. dao accepted this revision.Sat, Jun 13, 7:13 AM This revision is now accepted and ready to land.Sat, Jun 13, 7:13 AM Itiel added inline comments.Sat, Jun 13, 6:36 PM
adw added a comment.Sat, Jun 13, 11:42 PM Comment ActionsSubmitting an inline comment I intended to submit yesterday...
adw added a comment.Sun, Jun 14, 12:42 AM Comment ActionsThanks Itiel, I should have realized RTL needs updating too. I think you're right that it's intended to be nested with the rest of the background rules, and AFAICT are the only actions with background images. Whether or not it's nested turns out not to matter though because it still applies to STT (and so the 4px *should* be updated to ). However, since nesting does seem to be the intention, I'll re-nest it. Details: I did some archeology on the RTL line. It was added in bug 1918437 D223704 for scotch bonnet. It was originally nested like this: /* Switch-to-tab and Clipboard action text is styled as a chiclet. */ .urlbarView-row[has-action]:is([type=switchtab], [type=remotetab], [type=clipboard]) { > .urlbarView-row-inner > .urlbarView-no-wrap > .urlbarView-action { @media (-moz-bool-pref: "browser.urlbar.scotchBonnet.enableOverride") { /* background-image and other background rules set here */ &:-moz-locale-dir(rtl) { background-position-x: right 4px; } } } } The rule was added later in bug 1908451 D231168, which un-nested the RTL rule from the rest of the background rules. That revision did not introduce background images in other non-switch-to-tab cases, so it looks like the un-nesting was unintentional. By that time the RTL rule had become slightly separated from the rest of the background rules by the addition of , so maybe that's why. adw marked 2 inline comments as done. adw edited the summary of this revision. (Show Details) Comment ActionsRe-nest the RTL rule adw edited the summary of this revision. (Show Details) adw added a parent revision: D306565: Bug 2019163 - [Nova] Update icon spacing in urlbar quick actions.. Comment ActionsGetting these several revisions lined up for landing, rebasing on Jules's patch adw removed a parent revision: D306443: WIP: Bug 2046942 - Make sure urlbar and tab Nova files are syncing with Figma.Wed, Jun 17, 3:22 AM
Revision Contents
Diff 1301898 | |||||||||||||||||||||||||||||||||||||||||||
