Bug 1483122 - "https" is pushed off left edge of address bar (overlapping buttons!) for long URLs with broken cert configurations r=Gijs

Bug 1470910 broke the positioning because it changed the tag name of .urlbar-input-box but didn't update the related rule in browser.css, and then bug 1480355 landed and made it worse.  This patch fixes the first problem by updating the tag name in the CSS, and it fixes the second problem (and bug 1480355) by setting `direction: ltr` on .urlbar-input-box.

Differential Revision: https://phabricator.services.mozilla.com/D4015

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Drew Willcoxon 2018-08-22 22:29:52 +00:00
parent 353af6324b
commit bd0bd8a76a

View File

@ -579,13 +579,13 @@ html|input.urlbar-input[dir=ltr]:-moz-locale-dir(rtl) {
}
/* Show the url scheme in a static box when overflowing to the left */
hbox.urlbar-input-box {
moz-input-box.urlbar-input-box {
position: relative;
direction: ltr;
}
html|input.urlbar-scheme {
position: absolute;
height: 100%;
left: 0;
visibility: hidden;
direction: ltr;
pointer-events: none;