mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
Bug 1517480 - Stop using graytext for labels in the "report a problem" subpanel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D16870 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
a116ffc192
commit
d08e2d743a
@ -791,7 +791,7 @@ var ContentBlocking = {
|
|||||||
// they see in the report breakage dialog.
|
// they see in the report breakage dialog.
|
||||||
this.reportURI = gBrowser.currentURI;
|
this.reportURI = gBrowser.currentURI;
|
||||||
let urlWithoutQuery = this.reportURI.asciiSpec.replace("?" + this.reportURI.query, "");
|
let urlWithoutQuery = this.reportURI.asciiSpec.replace("?" + this.reportURI.query, "");
|
||||||
this.reportBreakageURL.textContent = urlWithoutQuery;
|
this.reportBreakageURL.value = urlWithoutQuery;
|
||||||
this.identityPopupMultiView.showSubView("identity-popup-breakageReportView");
|
this.identityPopupMultiView.showSubView("identity-popup-breakageReportView");
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -158,7 +158,7 @@ add_task(async function testReportBreakage() {
|
|||||||
await viewShown;
|
await viewShown;
|
||||||
|
|
||||||
let submitButton = document.getElementById("identity-popup-breakageReportView-submit");
|
let submitButton = document.getElementById("identity-popup-breakageReportView-submit");
|
||||||
let reportURL = document.getElementById("identity-popup-breakageReportView-collection-url").textContent;
|
let reportURL = document.getElementById("identity-popup-breakageReportView-collection-url").value;
|
||||||
|
|
||||||
is(reportURL, TRACKING_PAGE, "Shows the correct URL in the report UI.");
|
is(reportURL, TRACKING_PAGE, "Shows the correct URL in the report UI.");
|
||||||
|
|
||||||
|
@ -280,11 +280,11 @@
|
|||||||
</vbox>
|
</vbox>
|
||||||
<vbox id="identity-popup-breakageReportView-body" class="panel-view-body-unscrollable">
|
<vbox id="identity-popup-breakageReportView-body" class="panel-view-body-unscrollable">
|
||||||
<vbox class="identity-popup-breakageReportView-collection-section">
|
<vbox class="identity-popup-breakageReportView-collection-section">
|
||||||
<label class="identity-popup-breakageReportView-collection-label">&contentBlocking.breakageReportView.collection.url.label;</label>
|
<label>&contentBlocking.breakageReportView.collection.url.label;</label>
|
||||||
<label id="identity-popup-breakageReportView-collection-url"/>
|
<textbox readonly="true" id="identity-popup-breakageReportView-collection-url"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<vbox class="identity-popup-breakageReportView-collection-section">
|
<vbox class="identity-popup-breakageReportView-collection-section">
|
||||||
<label class="identity-popup-breakageReportView-collection-label">&contentBlocking.breakageReportView.collection.comments.label;</label>
|
<label>&contentBlocking.breakageReportView.collection.comments.label;</label>
|
||||||
<textbox multiline="true" id="identity-popup-breakageReportView-collection-comments"/>
|
<textbox multiline="true" id="identity-popup-breakageReportView-collection-comments"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
</vbox>
|
</vbox>
|
||||||
|
@ -345,14 +345,6 @@ description#identity-popup-content-verifier,
|
|||||||
font-size: 110%;
|
font-size: 110%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.identity-popup-breakageReportView-collection-label {
|
|
||||||
color: graytext;
|
|
||||||
}
|
|
||||||
|
|
||||||
#identity-popup-breakageReportView-collection-url {
|
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
.identity-popup-breakageReportView-collection-section {
|
.identity-popup-breakageReportView-collection-section {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user