1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-28 23:28:16 +02:00
pdf.js/test/integration
Jonas Jenwald ae1cbc6a9e Use the light-dark CSS function in the viewer (issue 17780)
This removes the need for (most) separate `@media (prefers-color-scheme: dark)` blocks when defining colors values, and also provides a simple way of forcing use of either the light or dark theme.

Please refer to https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/light-dark and https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme

*NOTE:* To support this in older browsers, we utilize a [PostCSS plugin](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-light-dark-function).
2025-04-23 15:31:39 +02:00
..
accessibility_spec.mjs Isolate the accessibility integration tests 2025-04-13 15:18:19 +02:00
annotation_spec.mjs Isolate the annotation integration tests 2025-04-13 15:19:59 +02:00
autolinker_spec.mjs Isolate the autolinker integration tests 2025-04-13 15:20:03 +02:00
caret_browsing_spec.mjs Isolate the caret browsing integration tests 2025-04-13 15:20:08 +02:00
copy_paste_spec.mjs Isolate the copy/paste integration tests 2025-04-13 15:20:14 +02:00
find_spec.mjs Isolate the find integration tests 2025-04-13 15:20:18 +02:00
freetext_editor_spec.mjs Isolate the freetext editor integration tests 2025-04-13 15:20:23 +02:00
highlight_editor_spec.mjs Isolate the highlight editor integration tests 2025-04-13 15:20:27 +02:00
ink_editor_spec.mjs [Editor] In edit mode, a non-editable stamp must be visible after the page is rendered 2025-03-06 15:37:27 +01:00
jasmine-boot.js Run the integration tests in a random order 2025-04-13 15:46:03 +02:00
scripting_spec.mjs Remove workaround from the "must convert input to uppercase" scripting integration test 2025-04-13 15:57:54 +02:00
signature_editor_spec.mjs Use the light-dark CSS function in the viewer (issue 17780) 2025-04-23 15:31:39 +02:00
stamp_editor_spec.mjs Remove debug code from the integration tests 2025-04-13 19:19:13 +02:00
test_utils.mjs Isolate the stamp editor integration tests 2025-04-13 15:24:15 +02:00
text_field_spec.mjs Isolate the text field integration tests 2025-04-13 15:24:15 +02:00
text_layer_spec.mjs Isolate the text layer integration tests 2025-04-13 15:24:15 +02:00
viewer_spec.mjs Skip the "must check that canvas perfectly fits the page whatever the zoom level" integration test in Chrome 2025-04-13 19:32:39 +02:00