diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2020-04-22 03:32:35 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-22 12:32:35 +0200 |
| commit | d15d824deb41bf2d6dee9051c86fce02f7a00826 (patch) | |
| tree | 4ea4ba8ecc4043baba05210d7ad1e8c078e5643b /docs/internals/contributing/writing-code/javascript.txt | |
| parent | 9a015f4e0d1172937d3f91e19badbce1982eee23 (diff) | |
Refs #29892 -- Fixed selenium test test_inline_formset_error_input_border on Firefox.
Firefox does not include shorthand properties, such as "border", in the
computed CSS properties object. This is documented at MDN:
https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle
> The returned CSSStyleDeclaration object contains active values for CSS
> property longhand names. For example, border-bottom-width instead of
> the border-width and border shorthand property names. It is safest to
> query values with only longhand names like font-size. Shorthand names
> like font will not work with most browsers.
This difference between Firefox and Chrome is also discussed in the
stackoverflow thread at:
https://stackoverflow.com/a/32296604
Diffstat (limited to 'docs/internals/contributing/writing-code/javascript.txt')
0 files changed, 0 insertions, 0 deletions
