Skip to content

Commit

Permalink
Chrome supports <abbr> underline (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
atjn authored Aug 9, 2024
1 parent 97b90c4 commit b5c7b19
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion modern-normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Text-level semantics
*/

/**
Add the correct text decoration in Chrome and Safari.
Add the correct text decoration in Safari.
*/

abbr[title] {
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/chrome/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ test('Add the correct height in Firefox.', async t => {
.expect(Selector('hr[data-test--hr]').getStyleProperty('height')).eql('2px');
});

test('Add the correct text decoration in Chrome and Safari.', async t => {
test('Add the correct text decoration in Safari.', async t => {
await t
.expect(Selector('abbr[data-test--abbr]').getStyleProperty('text-decoration')).eql('underline dotted rgb(0, 0, 0)');
});
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/chrome/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ test('Add the correct height in Firefox.', async t => {
.expect(Selector('hr[data-test--hr]').getStyleProperty('height')).notEql('2px');
});

test('Add the correct text decoration in Chrome and Safari.', async t => {
test('Add the correct text decoration in Safari.', async t => {
await t
.expect(Selector('abbr[data-test--abbr]').getStyleProperty('text-decoration')).eql('underline dotted rgb(0, 0, 0)');
});
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/firefox/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ test('Add the correct height in Firefox.', async t => {
.expect(Selector('hr[data-test--hr]').getStyleProperty('height')).eql('2px');
});

test('Add the correct text decoration in Chrome and Safari.', async t => {
test('Add the correct text decoration in Safari.', async t => {
await t
.expect(Selector('abbr[data-test--abbr]').getStyleProperty('text-decoration')).eql('underline dotted rgb(0, 0, 0)');
});
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/firefox/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ test('Add the correct height in Firefox.', async t => {
.expect(Selector('hr[data-test--hr]').getStyleProperty('height')).notEql('2px');
});

test('Add the correct text decoration in Chrome and Safari.', async t => {
test('Add the correct text decoration in Safari.', async t => {
await t
.expect(Selector('abbr[data-test--abbr]').getStyleProperty('text-decoration')).eql('underline dotted rgb(0, 0, 0)');
});
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/safari/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test('Add the correct height in Firefox.', async t => {
.expect(Selector('hr[data-test--hr]').getStyleProperty('height')).eql('2px');
});

test('Add the correct text decoration in Chrome and Safari.', async t => {
test('Add the correct text decoration in Safari.', async t => {
// TODO: Why `text-decoration` is none?
// await t
// .expect(Selector('abbr[data-test--abbr]').getStyleProperty('text-decoration')).eql('underline dotted');
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/safari/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test('Add the correct height in Firefox.', async t => {
.expect(Selector('hr[data-test--hr]').getStyleProperty('height')).notEql('2px');
});

test('Add the correct text decoration in Chrome and Safari.', async t => {
test('Add the correct text decoration in Safari.', async t => {
// await t
// .expect(Selector('abbr[data-test--abbr]').getStyleProperty('text-decoration')).notEql('underline dotted');
});
Expand Down

0 comments on commit b5c7b19

Please sign in to comment.