Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove default [hidden] style in preflight #8248

Merged
merged 3 commits into from May 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -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

Expand Down
8 changes: 0 additions & 8 deletions src/css/preflight.css
Expand Up @@ -358,11 +358,3 @@ video {
max-width: 100%;
height: auto;
}

/*
Ensure the default browser behavior of the `hidden` attribute.
*/

[hidden] {
display: none;
}
95 changes: 45 additions & 50 deletions tests/__snapshots__/source-maps.test.js.snap
Expand Up @@ -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",
]
`;