View Revisions: Issue #2678
[ All Revisions ] [ Back to Issue ]
Summary | 0002678: Viewpoint width and height units cause images to fail to display | ||
---|---|---|---|
Revision | 2019-06-30 10:35 by Michael Drake | ||
Description | If a website uses CSS like img { max-height: 90vh; } in an attempt to resize images to suit small screens, Netsurf doesn't display such images at all. It's not a case of not recognising 'vh' and 'vw' as valid units - if you substitute genuine gibberish, e.g. "max-height: 90hjb", then Netsurf will degrade gracefully and simply ignore the CSS altogether. And experiment suggests that it does obey the max-height attribute. But Netsurf seems to recognise "vh" and "vw" as valid CSS yet respond by refusing to display the graphic in question.. |
||
Revision | 2019-06-25 01:36 by Harriet Bazley | ||
Description | If a website uses CSS like img { max-height: 90vh; } in an attempt to resize images to suit small screens, Netsurf doesn't display such images at all. It's not a case of not recognising 'vh' and 'vw' as valid units - if you substitute genuine gibberish, e.g. "max-height: 90hjb", then Netsurf will degrade gracefully and simply ignore the CSS altogether. And experiment suggests that it does obey the max-height attribute. But Netsurf seems to recognise "vh" and "vw" as valid CSS yet respond by refusing to display the graphic in question.. |