From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: On markdown images Date: Sat, 1 May 2021 18:09:21 +0700 Message-ID: References: <874kfn292f.fsf@disroot.org> <87a6pfh1dj.fsf@zoho.eu> <875z03ffhm.fsf@zoho.eu> <87y2czc68z.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14917"; mail-complaints-to="usenet@ciao.gmane.io" To: Yuri Khan , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 01 13:10:33 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcnW4-0003mC-6R for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 01 May 2021 13:10:32 +0200 Original-Received: from localhost ([::1]:39302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcnW3-0004Fz-8R for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 01 May 2021 07:10:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcnVD-0004D2-65 for help-gnu-emacs@gnu.org; Sat, 01 May 2021 07:09:39 -0400 Original-Received: from mail-vk1-xa33.google.com ([2607:f8b0:4864:20::a33]:45015) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcnV7-0006hR-P6 for help-gnu-emacs@gnu.org; Sat, 01 May 2021 07:09:38 -0400 Original-Received: by mail-vk1-xa33.google.com with SMTP id s131so251184vka.11 for ; Sat, 01 May 2021 04:09:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=bXYk/AzjK9NFip3oTIFmGaU3AFS7RwX9W2Hk2NVjVI0=; b=oqfKduHNYERpHOZHtq3HYe1jXWK+YYvfV1mx99c7mGS/eQtFvb3uyTO+X3Uad1WoeL lg4PNmUwc3mMWWeQ7vO/C5qWt2Uqq1KfwTCvUL4QIlhjVgXUOCcQWm7sHuRa2JnG05eD 1/wI4FhBbHSykpkr2hiKI2pqiqns8amuQ1jX9bkJgiXW5HL5EXB3JuK0OjTAa4IgrHGn LJZK5oDHAGsASAweNweA5i/8LesRYyhibmWron9/8NhMkjuUaMCXHdrgXjHZHOhOWv7E Pz4GPM/A9AvYrhQ6z4tJJMKG8VgkgpQeJs7H/pBIQOop9OGC3xD5u+GIr14NYJVUV/er 2nAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=bXYk/AzjK9NFip3oTIFmGaU3AFS7RwX9W2Hk2NVjVI0=; b=kacsGVKSXOQjQV3i8Ar9HWChjRGYnQF876UrU9Ab0dQErASrOtlrjKdA0LNjqH0lSC sPRmNUCDnJ9vdYrifbQOGiPKAVAdHlFRD5W+76tD0xsZuVR7B7lLO1cHZ8Bz4Sh9pu+v FisjhCkn9rg1HwHmrDxXVcPjIE7CwGD6cyqh9DOP4BLdr93ChJ3VE6oTV25a7WDpaMEH I4ps4gxeZFsA1INJheeXLrAr/FuHFLJ6955DHTDaX+D1HtXEWOe1j5zPgz6Sqp9jmwFa p6wKWxiPq4SAeRRwCUURUtOGAV3nHjAyU6nsJ48el6f9qYSWmUEGJoLx89+7ktpHQVub WACg== X-Gm-Message-State: AOAM531A4E6DljPVl7o6Tqb6JU8DKcmyQIe3IYMllnwjEgCSSHJMiF5U Jz5zcluvu2vntSMEUhRro9guJ0qg1H8v6iGMltc= X-Google-Smtp-Source: ABdhPJxOOCsQVbm7OhRQjcuLRWSRVQJQP/XLvvwx7bADR2lYuPVbHXGr4YoMHfb6w+LgMuTE94O1mvS7zq7Sb3EuPpk= X-Received: by 2002:a1f:9345:: with SMTP id v66mr9169532vkd.22.1619867372836; Sat, 01 May 2021 04:09:32 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::a33; envelope-from=yurivkhan@gmail.com; helo=mail-vk1-xa33.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129273 Archived-At: On Sat, 1 May 2021 at 17:23, Jean Louis wrote: > Probably I was using page load speed or other type of validator and > have mistaken it for HTML validator, thanks for correction. Width and height attributes, when their values are correct, do help the browser lay out the page. It can reserve a known space before the image gets downloaded and go on processing the rest of the page. When width and height are missing, the browser does not know how much space to reserve, so, when it finally receives the image and finds out its dimensions, it has to go back and re-layout everything from the point of the image. Explicit width and height attributes are not the only way to mitigate this. For example, one could specify image dimensions in CSS. Or just redefine some images to be block elements and fit 100% of their container width.