From 9dafe2c56c50ac79ea1f7f12dd78436993db86fa Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 9 Aug 2024 01:13:37 +0200 Subject: [PATCH] Remove
declarations --- modern-normalize.css | 15 --------------- test/acceptance/chrome/rules.ts | 2 +- test/acceptance/chrome/validation.ts | 2 +- test/acceptance/firefox/rules.ts | 2 +- test/acceptance/firefox/validation.ts | 2 +- test/acceptance/safari/rules.ts | 2 +- test/acceptance/safari/validation.ts | 2 +- 7 files changed, 6 insertions(+), 21 deletions(-) diff --git a/modern-normalize.css b/modern-normalize.css index 0f5122f..122bbdf 100644 --- a/modern-normalize.css +++ b/modern-normalize.css @@ -40,21 +40,6 @@ body { margin: 0; /* Remove the margin in all browsers. */ } -/* -Grouping content -================ -*/ - -/** -1. Add the correct height in Firefox. -2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655) -*/ - -hr { - height: 0; /* 1 */ - color: inherit; /* 2 */ -} - /* Text-level semantics ==================== diff --git a/test/acceptance/chrome/rules.ts b/test/acceptance/chrome/rules.ts index b687165..3322a96 100644 --- a/test/acceptance/chrome/rules.ts +++ b/test/acceptance/chrome/rules.ts @@ -37,7 +37,7 @@ test('Improve consistency of default fonts in all browsers.', async t => { .expect(Selector('body').getStyleProperty('font-family')).eql(`system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"`); }); -test('Add the correct height in Firefox.', async t => { +test('
should be the correct height.', async t => { await t .expect(Selector('hr[data-test--hr]').getStyleProperty('height')).eql('2px'); }); diff --git a/test/acceptance/chrome/validation.ts b/test/acceptance/chrome/validation.ts index 3d2517b..6b06b1b 100644 --- a/test/acceptance/chrome/validation.ts +++ b/test/acceptance/chrome/validation.ts @@ -37,7 +37,7 @@ test('Improve consistency of default fonts in all browsers.', async t => { .expect(Selector('body').getStyleProperty('font-family')).notEql('system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"'); }); -test('Add the correct height in Firefox.', async t => { +test('
should be the correct height.', async t => { await t .expect(Selector('hr[data-test--hr]').getStyleProperty('height')).notEql('2px'); }); diff --git a/test/acceptance/firefox/rules.ts b/test/acceptance/firefox/rules.ts index e8c0fc8..bca4d3c 100644 --- a/test/acceptance/firefox/rules.ts +++ b/test/acceptance/firefox/rules.ts @@ -37,7 +37,7 @@ test('Improve consistency of default fonts in all browsers.', async t => { .expect(Selector('body').getStyleProperty('font-family')).eql(`system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"`); }); -test('Add the correct height in Firefox.', async t => { +test('
should be the correct height.', async t => { await t .expect(Selector('hr[data-test--hr]').getStyleProperty('height')).eql('2px'); }); diff --git a/test/acceptance/firefox/validation.ts b/test/acceptance/firefox/validation.ts index 8c502b0..80b2cf1 100644 --- a/test/acceptance/firefox/validation.ts +++ b/test/acceptance/firefox/validation.ts @@ -37,7 +37,7 @@ test('Improve consistency of default fonts in all browsers.', async t => { .expect(Selector('body').getStyleProperty('font-family')).notEql('system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"'); }); -test('Add the correct height in Firefox.', async t => { +test('
should be the correct height.', async t => { await t .expect(Selector('hr[data-test--hr]').getStyleProperty('height')).notEql('2px'); }); diff --git a/test/acceptance/safari/rules.ts b/test/acceptance/safari/rules.ts index d32c27f..c38e2cd 100644 --- a/test/acceptance/safari/rules.ts +++ b/test/acceptance/safari/rules.ts @@ -38,7 +38,7 @@ test('Improve consistency of default fonts in all browsers.', async t => { .expect(Selector('body').getStyleProperty('font-family')).eql(`system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"`); }); -test('Add the correct height in Firefox.', async t => { +test('
should be the correct height.', async t => { await t .expect(Selector('hr[data-test--hr]').getStyleProperty('height')).eql('2px'); }); diff --git a/test/acceptance/safari/validation.ts b/test/acceptance/safari/validation.ts index 916e536..60c1687 100644 --- a/test/acceptance/safari/validation.ts +++ b/test/acceptance/safari/validation.ts @@ -38,7 +38,7 @@ test('Improve consistency of default fonts in all browsers.', async t => { .expect(Selector('body').getStyleProperty('font-family')).notEql('system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"'); }); -test('Add the correct height in Firefox.', async t => { +test('
should be the correct height.', async t => { await t .expect(Selector('hr[data-test--hr]').getStyleProperty('height')).notEql('2px'); });