Add overlay to Screenshots component implementation
Categories
(Firefox :: Screenshots, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: sfoster, Assigned: niklas)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
We need to use the anonymous content document, similar to devtool's highlighters here.
You can also reference the prototype I did at D120915 but bear in mind that we have made changes and some different decisions since this was written.
Reporter | ||
Comment 1•3 years ago
|
||
For now the overlay should just set a translucent background color I think, and we should make sure it is correctly destroyed.
The idea at this point is that we shouldn't need any strings. The only UI will be the drag handles and box highlights - any buttons or other strings will be in the parent if we need them.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Pushed by nbaumgardner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/843d1e2cee98 Add overlay to Screenshots component implementation. r=sfoster,fluent-reviewers
Comment 4•2 years ago
|
||
Backed out for causing mochitest failures on browser_all_files_referenced.js.
Pushed by nbaumgardner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fb53fb5009a4 Add overlay to Screenshots component implementation. r=sfoster,fluent-reviewers
Comment 6•2 years ago
|
||
Backed out for causing browser-chrome failures in browser_parsable_css.
Backout link: https://hg.mozilla.org/integration/autoland/rev/60bbfbc4cb16d6b603882bc60cba9aa344601bb0
INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_parsable_css.js | Got error message for chrome://browser/content/screenshots/overlay/overlay.css: Unknown pseudo-class or pseudo-element ‘-moz-native-anonymous’. Ruleset ignored due to bad selector. -
[task 2022-01-14T15:24:48.069Z] 15:24:48 INFO - Stack trace:
[task 2022-01-14T15:24:48.069Z] 15:24:48 INFO - chrome://mochikit/content/browser-test.js:test_ok:1375
[task 2022-01-14T15:24:48.069Z] 15:24:48 INFO - chrome://mochitests/content/browser/browser/base/content/test/static/browser_parsable_css.js:messageIsCSSError:267
[task 2022-01-14T15:24:48.069Z] 15:24:48 INFO - chrome://mochitests/content/browser/browser/base/content/test/static/browser_parsable_css.js:checkAllTheCSS:502
[task 2022-01-14T15:24:48.069Z] 15:24:48 INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-01-14T15:24:48.070Z] 15:24:48 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_parsable_css.js | Got error message for chrome://browser/content/screenshots/overlay/overlay.css: Unknown pseudo-class or pseudo-element ‘-moz-native-anonymous’. Ruleset ignored due to bad selector. -
[task 2022-01-14T15:24:48.070Z] 15:24:48 INFO - Stack trace:
Pushed by nbaumgardner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b30500c53be5 Add overlay to Screenshots component implementation. r=sfoster,fluent-reviewers
Comment 8•2 years ago
|
||
bugherder |
Assignee | ||
Updated•2 years ago
|
Description
•