From 9e50fafdc8ca5795230034df8cb90b8be05eaec3 Mon Sep 17 00:00:00 2001 From: Stefan Rumzucker Date: Mon, 2 May 2022 00:24:50 +0200 Subject: [PATCH 1/3] Remove default `[hidden]` style in preflight --- src/css/preflight.css | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/css/preflight.css b/src/css/preflight.css index e7110ecbc6f2..bf36495d2371 100644 --- a/src/css/preflight.css +++ b/src/css/preflight.css @@ -358,11 +358,3 @@ video { max-width: 100%; height: auto; } - -/* -Ensure the default browser behavior of the `hidden` attribute. -*/ - -[hidden] { - display: none; -} From 300fccf767d5ab9ea2fcd96e5edd12862e1611b6 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Mon, 2 May 2022 10:24:41 -0400 Subject: [PATCH 2/3] Update snapshots --- tests/__snapshots__/source-maps.test.js.snap | 95 ++++++++++---------- 1 file changed, 45 insertions(+), 50 deletions(-) diff --git a/tests/__snapshots__/source-maps.test.js.snap b/tests/__snapshots__/source-maps.test.js.snap index 22c0f29d9e69..32fc16e22b6a 100644 --- a/tests/__snapshots__/source-maps.test.js.snap +++ b/tests/__snapshots__/source-maps.test.js.snap @@ -264,55 +264,50 @@ Array [ "2:4-18 -> 361:2-14", "2:18 -> 362:0", "2:4 -> 364:0", - "2:18 -> 366:1", - "2:4 -> 368:0", - "2:4-18 -> 369:2-15", - "2:18 -> 370:0", - "2:4 -> 372:0", - "2:4-18 -> 373:2-26", - "2:4-18 -> 374:2-26", - "2:4-18 -> 375:2-21", - "2:4-18 -> 376:2-21", - "2:4-18 -> 377:2-16", - "2:4-18 -> 378:2-16", - "2:4-18 -> 379:2-16", - "2:4-18 -> 380:2-17", - "2:4-18 -> 381:2-17", - "2:4-18 -> 382:2-15", - "2:4-18 -> 383:2-15", - "2:4-18 -> 384:2-20", - "2:4-18 -> 385:2-40", - "2:4-18 -> 386:2-17", - "2:4-18 -> 387:2-22", - "2:4-18 -> 388:2-24", - "2:4-18 -> 389:2-25", - "2:4-18 -> 390:2-26", - "2:4-18 -> 391:2-20", - "2:4-18 -> 392:2-29", - "2:4-18 -> 393:2-30", - "2:4-18 -> 394:2-40", - "2:4-18 -> 395:2-36", - "2:4-18 -> 396:2-29", - "2:4-18 -> 397:2-24", - "2:4-18 -> 398:2-32", - "2:4-18 -> 399:2-14", - "2:4-18 -> 400:2-20", - "2:4-18 -> 401:2-18", - "2:4-18 -> 402:2-19", - "2:4-18 -> 403:2-20", - "2:4-18 -> 404:2-16", - "2:4-18 -> 405:2-18", - "2:4-18 -> 406:2-15", - "2:4-18 -> 407:2-21", - "2:4-18 -> 408:2-23", - "2:4-18 -> 409:2-29", - "2:4-18 -> 410:2-27", - "2:4-18 -> 411:2-28", - "2:4-18 -> 412:2-29", - "2:4-18 -> 413:2-25", - "2:4-18 -> 414:2-26", - "2:4-18 -> 415:2-27", - "2:4 -> 416:2", - "2:18 -> 417:0", + "2:4-18 -> 365:2-26", + "2:4-18 -> 366:2-26", + "2:4-18 -> 367:2-21", + "2:4-18 -> 368:2-21", + "2:4-18 -> 369:2-16", + "2:4-18 -> 370:2-16", + "2:4-18 -> 371:2-16", + "2:4-18 -> 372:2-17", + "2:4-18 -> 373:2-17", + "2:4-18 -> 374:2-15", + "2:4-18 -> 375:2-15", + "2:4-18 -> 376:2-20", + "2:4-18 -> 377:2-40", + "2:4-18 -> 378:2-17", + "2:4-18 -> 379:2-22", + "2:4-18 -> 380:2-24", + "2:4-18 -> 381:2-25", + "2:4-18 -> 382:2-26", + "2:4-18 -> 383:2-20", + "2:4-18 -> 384:2-29", + "2:4-18 -> 385:2-30", + "2:4-18 -> 386:2-40", + "2:4-18 -> 387:2-36", + "2:4-18 -> 388:2-29", + "2:4-18 -> 389:2-24", + "2:4-18 -> 390:2-32", + "2:4-18 -> 391:2-14", + "2:4-18 -> 392:2-20", + "2:4-18 -> 393:2-18", + "2:4-18 -> 394:2-19", + "2:4-18 -> 395:2-20", + "2:4-18 -> 396:2-16", + "2:4-18 -> 397:2-18", + "2:4-18 -> 398:2-15", + "2:4-18 -> 399:2-21", + "2:4-18 -> 400:2-23", + "2:4-18 -> 401:2-29", + "2:4-18 -> 402:2-27", + "2:4-18 -> 403:2-28", + "2:4-18 -> 404:2-29", + "2:4-18 -> 405:2-25", + "2:4-18 -> 406:2-26", + "2:4-18 -> 407:2-27", + "2:4 -> 408:2", + "2:18 -> 409:0", ] `; From 6809754a175f6a38dac8c4eb4dbb950c307435a3 Mon Sep 17 00:00:00 2001 From: Jordan Pittman Date: Mon, 2 May 2022 10:25:55 -0400 Subject: [PATCH 3/3] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cbda231bcfea..1321211f39ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix intellisense for plugins with multiple `@apply` rules ([#8213](https://github.com/tailwindlabs/tailwindcss/pull/8213)) - Improve type detection for arbitrary color values ([#8201](https://github.com/tailwindlabs/tailwindcss/pull/8201)) - Support PostCSS config options in config file in CLI ([#8226](https://github.com/tailwindlabs/tailwindcss/pull/8226)) +- Remove default `[hidden]` style in preflight ([#8248](https://github.com/tailwindlabs/tailwindcss/pull/8248)) ### Added