Non-displaying page

2017-01-05 Thread Richard Torrens (lists)
Is this a bug or a style fault on the page?

http://www.seattletimes.com/seattle-news/health/popular-heartburn-drugs-may-increase-esophageal-cancer-risk/

The first 
  /* Will be removed by ChartBeat's async flicker control below */
  body { visibility: hidden !important; }
  

Remove this and the page displays. So I suspect it may not be a bug?

-- 
Richard Torrens.
http://www.Torrens.org.uk for genealogy, natural history, wild food, walks, cats
and more!



Re: Non-displaying page

2017-01-05 Thread Michael Drake

On 05/01/17 13:27, Richard Torrens (lists) wrote:

Is this a bug or a style fault on the page?


The "body { visibility: hidden !important; }" style means "hide the
whole page from view".  There is some JavaScript to unset it,
revealing the page.

It's daft, because the page won't display at all in any browser with
JavaScript disabled.  In NetSurf, it doesn't work with JavaScript
enabled because our JavaScript support is far from complete.

--

Michael Drake  http://www.codethink.co.uk/



Re: Web page magnification

2017-01-05 Thread Bernard Boase
On 2 Jan, brian.jord...@btinternet.com typed:

>  when in Netsurf will bring up the "Scale view" dialogue; I
> imagine you know this already but to make this the default you need to
>  over the NetSurf window and in the "Display" sub menu click on
> "Save as default". Good luck!

Yes, and the value is stored in text file:

 !Boot.Choices.WWW.NetSurf.Choices

by the defualt % scale in the line:

 scale:100

-- 
Bernard



Re: Non-displaying page

2017-01-05 Thread Richard Torrens (lists)
In article ,
   Michael Drake  wrote:
> On 05/01/17 13:27, Richard Torrens (lists) wrote:
> > Is this a bug or a style fault on the page?

> The "body { visibility: hidden !important; }" style means "hide the
> whole page from view".  There is some JavaScript to unset it,
> revealing the page.

> It's daft, because the page won't display at all in any browser with
> JavaScript disabled.  In NetSurf, it doesn't work with JavaScript
> enabled because our JavaScript support is far from complete.

Thanks for the explanation. I don't know how can you hope to keep up with
such daft www programmers!

-- 
Richard Torrens.
http://www.Torrens.org.uk for genealogy, natural history, wild food, walks, cats
and more!