2024-11-24 14:55 UTC

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002379NetSurfJavascriptpublic2015-11-04 15:27
ReporterHarriet Bazley 
Assigned To 
SeverityminorReproducibilityalways 
StatusconfirmedResolutionopen 
PlatformARMOSRISC OSOS Version5.19
Product Version3.4 
Target VersionFixed in Version 
Summary0002379: Another case of non-scrolling
DescriptionWork area always resizes to match current visible area extent - there is no way of scrolling this page.
Steps To ReproduceVisit page http://fb-187.sfglobe.com/2015/03/13/bunker-is-transformed-to-be-a-four-bedroom-home-with-skylights/
 
Additional InformationTried with and without Javascript enabled.
Also tried doing a full save and deleting all the local CSS files.
TagsNo tags attached.
Fixed in CI build #
Reported in CI build #3046
URL of problem pagehttp://fb-187.sfglobe.com/2015/03/13/bunker-is-transformed-to-be-a-four-bedroom-home-with-skylights/
Attached Files

-Relationships
+Relationships

-Notes
Michael Drake

~0001025

Michael Drake (administrator)

This is one of the craziest things I've seen on a web site:

<body style='overflow:hidden;margin:0px;padding:0px;'>
<script type="text/javascript">
if(!window.parent || window.parent == window) {
  document.body.style.overflow = '';
}
</script>

In other words they deliberately don't let you scroll when JavaScript is disabled, and indeed you can't scroll in Firefox with JavaScript disabled.

The bit in the script that sets the body element's CSS overflow property to '' is one of the bits of JavaScript handling we've not got to yet.
Harriet Bazley

~0001026

Harriet Bazley (reporter)

This seems such a bizarre thing to do that I actually wonder if it is an error in their site coding; I have e-mailed the newspaper to enquire.
+Notes

-Issue History
Date Modified Username Field Change
2015-11-03 22:49 Harriet Bazley New Issue
2015-11-03 23:52 Vincent Sanders Assigned To => Michael Drake
2015-11-03 23:52 Vincent Sanders Status new => acknowledged
2015-11-03 23:52 Vincent Sanders Product Version => 3.4
2015-11-03 23:52 Vincent Sanders Steps to Reproduce Updated View Revisions
2015-11-03 23:52 Vincent Sanders Additional Information Updated View Revisions
2015-11-04 14:59 Michael Drake Note Added: 0001025
2015-11-04 15:00 Michael Drake Assigned To Michael Drake =>
2015-11-04 15:00 Michael Drake Status acknowledged => confirmed
2015-11-04 15:00 Michael Drake Category Layout => Javascript
2015-11-04 15:27 Harriet Bazley Note Added: 0001026
+Issue History