From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Have you all gone crazy? Was: On being web-friendly and why info must die Date: Mon, 22 Dec 2014 00:35:53 +0100 Message-ID: References: <87388bnzha.fsf@newcastle.ac.uk> <87k31mdbhe.fsf@uwakimon.sk.tsukuba.ac.jp> <87tx0qiv45.fsf@fencepost.gnu.org> <87h9wqd3i5.fsf@uwakimon.sk.tsukuba.ac.jp> <87h9wqimf0.fsf@fencepost.gnu.org> <87y4q1fekv.fsf@fencepost.gnu.org> <87fvc8g9vt.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1419205009 9683 80.91.229.3 (21 Dec 2014 23:36:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Dec 2014 23:36:49 +0000 (UTC) Cc: emacs , Sven Axelsson , Richard Stallman To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 22 00:36:44 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y2q3H-0008Vr-I4 for ged-emacs-devel@m.gmane.org; Mon, 22 Dec 2014 00:36:43 +0100 Original-Received: from localhost ([::1]:38598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2q3G-0002gs-KL for ged-emacs-devel@m.gmane.org; Sun, 21 Dec 2014 18:36:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36656) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2q3D-0002gj-HD for emacs-devel@gnu.org; Sun, 21 Dec 2014 18:36:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y2q3C-0005V0-KF for emacs-devel@gnu.org; Sun, 21 Dec 2014 18:36:39 -0500 Original-Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:35183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2q39-0005UL-6I; Sun, 21 Dec 2014 18:36:35 -0500 Original-Received: by mail-wg0-f43.google.com with SMTP id l18so5431502wgh.30; Sun, 21 Dec 2014 15:36:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=9cG1RHV2W0gs98RGfminEWnTwA/Xnuuw0VlgOw4lGuM=; b=QzZerCLpHHqW+7QVPTLVe9EOZzuesweDMnqJhwK1wYWu1eOJ1eeJBreK/VH+MlkNj9 x7LFcHW/E+9pq01pQbHdMw2zDJ17SMx8B0lRA4mlpEp/zIF7/4Pt+WvodMyB2nWi2p/x YQ27F2BMkGjSxrccS4QAi7dcMiqs4tXs/cfjEQp732h9RkNDn8jVXP1md+2xsI8Rdq14 IAXuc0vPff2FJAp7Mz32zovYR/UaWf3O2dK8CJvcD/tdeh1VQxTCGTgoN9rkEkSWqajm /3FMAiiQ23/bH1fpZzz57OF4n15/EgeBAtJRDjN70j97mjeOPGCCLuedE5jAbMIiGtBa aS9A== X-Received: by 10.180.107.195 with SMTP id he3mr21639101wib.44.1419204994545; Sun, 21 Dec 2014 15:36:34 -0800 (PST) Original-Received: by 10.194.93.228 with HTTP; Sun, 21 Dec 2014 15:35:53 -0800 (PST) In-Reply-To: <87fvc8g9vt.fsf@fencepost.gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:180453 Archived-At: On Sun, Dec 21, 2014 at 7:01 PM, David Kastrup wrote: > Lennart Borgman writes: > >> >> That is remarkable. However for pages with that many images I would >> tell the image sizes in the HTML code and then do the actual loading >> of the images in the scroll event: >> https://developer.mozilla.org/en-US/docs/Web/API/window.onscroll > > It is not exactly going to make moving around more pleasant when any > scrolling results in reloading/rendering. Stuff like Google image > search does that, and while it delivers a fast first response, > scrolling/searching around gets more irritating. That is maybe a slight misunderstanding. In the case we are talking about the layout will be known to the browser since we have told the height and width of the images. So scrolling is not affected. If the image is not loaded there will be a gray rectangle there instead. Of course loading the image may require some CPU cycles. I am not sure (without testing), but in most cases I think you will not notice that very much.