MantisBT - NetSurf |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0002678 | NetSurf | Layout | public | 2019-06-25 02:36 | 2019-07-19 09:24 |
|
| Reporter | Harriet Bazley | |
|---|
| Assigned To | Michael Drake | |
|---|
| Priority | normal | Severity | minor | Reproducibility | always |
|---|
| Status | closed | Resolution | fixed | |
|---|
| Platform | Iyonix | OS | RISC OS | OS Version | 5.22 |
|---|
| Product Version | | |
|---|
| Target Version | | Fixed in Version | | |
|---|
| Fixed in CI build # | 4712 |
|---|
| Reported in CI build # | 4647 |
|---|
| URL of problem page | |
|---|
|
| Summary | 0002678: Viewpoint width and height units cause images to fail to display |
|---|
| 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..
|
|---|
| Steps To Reproduce | Open attached sample file. Edit max-height line to various different values. |
|---|
| Tags | No tags attached. |
|---|
| Relationships | |
| Attached Files | Newfile (740) 2019-06-25 02:36 https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=599&type=bug |
|---|