From 46ba5f5cbd8c0ffd1d7acab73ce6f2f80ee596ed Mon Sep 17 00:00:00 2001 From: Bruce B Date: Wed, 29 Dec 2021 00:05:58 -0800 Subject: [PATCH] fix(curriculum): css tests for firefox in beta rwd (#44598) * fix: css tests for firefox in beta rwd * Update curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-059.md Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com> * Update curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-025.md Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com> * Update curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-061.md Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com> Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com> --- .../learn-accessibility-by-building-a-quiz/step-025.md | 2 +- .../learn-accessibility-by-building-a-quiz/step-059.md | 2 +- .../learn-accessibility-by-building-a-quiz/step-061.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-025.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-025.md index fad5ffd710..0d1f810718 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-025.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-025.md @@ -84,7 +84,7 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('.sr-only')?.whiteSpace, ' You should give the `.sr-only` a `border` of `0`. ```js -assert.equal(new __helpers.CSSHelp(document).getStyle('.sr-only')?.border, '0px'); +assert.equal(new __helpers.CSSHelp(document).getStyle('.sr-only')?.borderWidth, '0px'); ``` # --seed-- diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-059.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-059.md index 8f4572b03a..36b296803b 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-059.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-059.md @@ -22,7 +22,7 @@ assert.exists(new __helpers.CSSHelp(document).getStyle('.question')); You should give the `.question` a `border` of `none`. ```js -assert.equal(new __helpers.CSSHelp(document).getStyle('.question')?.border, 'none'); +assert.equal(new __helpers.CSSHelp(document).getStyle('.question')?.borderStyle, 'none'); ``` You should give the `.question` a `padding-bottom` of `0`. diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-061.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-061.md index 6b65152309..9f21c24d6c 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-061.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/step-061.md @@ -60,7 +60,7 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('button')?.fontSize, '23px You should give `button` a `background` of `#d0d0d5`. ```js -assert.equal(new __helpers.CSSHelp(document).getStyle('button')?.background, 'rgb(208, 208, 213)'); +assert.equal(new __helpers.CSSHelp(document).getStyle('button')?.backgroundColor, 'rgb(208, 208, 213)'); ``` You should give `button` a `border` of `3px solid #3b3b4f`.