Jonas Jenwald
ca996d2546
[api-minor] Update the minimum supported browsers, and remove the PostCSS logical
plugin
The patch updates the minimum supported browsers/environments as follows:
- Chrome 87, which was released on 2020-11-17; see https://en.wikipedia.org/wiki/Google_Chrome_version_history
- Firefox ESR (no change); see https://wiki.mozilla.org/Release_Management/Calendar
- Safari 14.1, which was released on 2021-04-26; see https://en.wikipedia.org/wiki/Safari_version_history#Safari_14
- Node.js 14 (no change); see https://en.wikipedia.org/wiki/Node.js#Releases
The recent *major* release of the PostCSS `logical` plugin effectively removed support for all of the things that we used it for, which includes (but may not be limited to): preserving the original CSS code (for up-to-date browsers), re-writing the `:dir` pseudo-class, and support for re-writing `float: inline-start;`/`float: inline-end;` properties.
Please find additional details at https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-logical/CHANGELOG.md#600-january-24-2023
Hence the primary reason for these changes are related to native support for *logical* CSS properties/values. Currently, in the default viewer, we're using the following ones:
- https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline-start#browser_compatibility
- https://developer.mozilla.org/en-US/docs/Web/CSS/inset-inline-end#browser_compatibility
- https://developer.mozilla.org/en-US/docs/Web/CSS/margin-inline-start#browser_compatibility
- https://developer.mozilla.org/en-US/docs/Web/CSS/margin-inline-end#browser_compatibility
- https://developer.mozilla.org/en-US/docs/Web/CSS/padding-inline-start#browser_compatibility
- https://developer.mozilla.org/en-US/docs/Web/CSS/padding-inline-end#browser_compatibility
- https://developer.mozilla.org/en-US/docs/Web/CSS/text-align#browser_compatibility
- https://developer.mozilla.org/en-US/docs/Web/CSS/float#browser_compatibility
By updating the minimum supported browsers, we thus only have to worry about the *last* case here. Thankfully there's not that many `float: inline-start;`/`float: inline-end;` occurrences, and we can utilize CSS variables together with the pre-processor to support those in a way that won't affect the Firefox PDF Viewer.
2023-01-29 20:25:05 +01:00
..
2023-01-02 14:58:53 +01:00
2015-01-26 16:44:45 +01:00
2023-01-18 10:49:52 +01:00
2022-12-18 13:10:23 +01:00
2022-07-27 18:46:25 +02:00
2023-01-18 10:49:52 +01:00
2022-12-14 12:23:24 +01:00
2023-01-14 10:39:36 +01:00
2023-01-28 18:55:22 +01:00
2022-06-13 10:47:37 +02:00
2015-08-14 18:59:55 +02:00
2022-12-03 12:52:36 +01:00
2011-07-05 10:53:57 -07:00
2022-09-21 21:49:17 +02:00
2022-12-01 15:43:17 +01:00
2022-11-04 15:29:45 +01:00
2022-11-04 15:29:45 +01:00
2022-08-03 17:25:01 +02:00
2023-01-04 16:00:46 +01:00
2022-01-23 19:53:01 +01:00
2022-12-03 12:52:36 +01:00
2021-12-15 23:14:25 +01:00
2022-06-12 13:07:03 +02:00
2022-12-18 13:26:54 +01:00
2022-10-06 13:09:39 +02:00
2022-06-13 10:47:37 +02:00
2022-08-22 11:17:08 +02:00
2022-11-23 10:47:33 +01:00
2022-09-29 10:44:06 +02:00
2022-05-28 12:39:49 +02:00
2022-03-31 23:12:56 +02:00
2023-01-20 18:13:16 +01:00
2019-12-26 12:34:24 +01:00
2022-04-05 14:13:20 +02:00
2022-09-01 17:34:24 +02:00
2022-10-30 21:57:55 +01:00
2022-10-06 10:33:07 +02:00
2023-01-17 10:50:53 +01:00
2022-10-30 21:55:44 +01:00
2022-09-24 15:02:12 +02:00
2021-12-15 23:17:08 +01:00
2022-12-16 12:09:56 +01:00
2022-05-25 09:55:54 +02:00
2022-09-30 09:59:58 +02:00
2022-09-08 12:38:17 +02:00
2022-07-31 13:59:56 +02:00
2022-09-05 15:41:53 +02:00
2022-12-18 13:26:54 +01:00
2023-01-17 10:50:53 +01:00
2023-01-17 10:50:53 +01:00
2019-12-26 12:34:24 +01:00
2022-03-12 17:25:45 +01:00
2022-06-12 13:07:03 +02:00
2022-09-12 13:59:45 +02:00
2022-12-04 10:18:58 +01:00
2022-08-14 11:38:17 +02:00
2022-12-01 18:42:43 +01:00
2023-01-18 10:49:52 +01:00
2022-12-26 18:13:17 +01:00
2022-10-07 18:19:10 +02:00
2023-01-25 12:17:24 +01:00
2020-03-21 13:55:06 +01:00
2023-01-07 13:29:41 +01:00
2023-01-05 13:02:29 +01:00
2023-01-05 13:02:29 +01:00
2017-05-31 09:22:25 -05:00
2022-03-28 11:36:29 +02:00
2019-01-23 20:33:20 +01:00
2016-02-14 13:23:34 +01:00
2017-05-31 09:22:25 -05:00
2023-01-29 20:25:05 +01:00
2023-01-19 09:54:25 +01:00
2022-10-01 17:35:35 +02:00
2023-01-18 10:49:52 +01:00
2022-12-11 13:08:23 +01:00