mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-27 09:27:20 +02:00
Compare commits
2 Commits
828398f60f
...
2da54ffb59
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2da54ffb59 | ||
|
|
62df96894d |
@ -93,9 +93,11 @@ describe("Signature Editor", () => {
|
||||
);
|
||||
expect(description).withContext(browserName).toEqual("");
|
||||
await page.waitForSelector(`${addButtonSelector}:disabled`);
|
||||
await page.waitForSelector("#addSignatureDescInput:disabled");
|
||||
|
||||
await page.type("#addSignatureTypeInput", "PDF.js");
|
||||
await page.waitForSelector(`${addButtonSelector}:not(:disabled)`);
|
||||
await page.waitForSelector("#addSignatureDescInput:not(:disabled)");
|
||||
|
||||
// The save button should be enabled now.
|
||||
await page.waitForSelector(
|
||||
|
||||
@ -521,6 +521,10 @@
|
||||
gap: 4px;
|
||||
flex: 1 0 0;
|
||||
|
||||
&:has(input:disabled) > label {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
> label {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
@ -325,6 +325,7 @@ class SignatureManager {
|
||||
this.#saveCheckbox.disabled =
|
||||
this.#clearButton.disabled =
|
||||
this.#addButton.disabled =
|
||||
this.#description.disabled =
|
||||
!value;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user