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>
This commit is contained in:
@ -84,7 +84,7 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('.sr-only')?.whiteSpace, '
|
|||||||
You should give the `.sr-only` a `border` of `0`.
|
You should give the `.sr-only` a `border` of `0`.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert.equal(new __helpers.CSSHelp(document).getStyle('.sr-only')?.border, '0px');
|
assert.equal(new __helpers.CSSHelp(document).getStyle('.sr-only')?.borderWidth, '0px');
|
||||||
```
|
```
|
||||||
|
|
||||||
# --seed--
|
# --seed--
|
||||||
|
@ -22,7 +22,7 @@ assert.exists(new __helpers.CSSHelp(document).getStyle('.question'));
|
|||||||
You should give the `.question` a `border` of `none`.
|
You should give the `.question` a `border` of `none`.
|
||||||
|
|
||||||
```js
|
```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`.
|
You should give the `.question` a `padding-bottom` of `0`.
|
||||||
|
@ -60,7 +60,7 @@ assert.equal(new __helpers.CSSHelp(document).getStyle('button')?.fontSize, '23px
|
|||||||
You should give `button` a `background` of `#d0d0d5`.
|
You should give `button` a `background` of `#d0d0d5`.
|
||||||
|
|
||||||
```js
|
```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`.
|
You should give `button` a `border` of `3px solid #3b3b4f`.
|
||||||
|
Reference in New Issue
Block a user