From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: html manual +css Date: Thu, 26 Dec 2019 10:50:54 -0500 Message-ID: References: <05A866DB-4211-476E-9107-14E5F9BE9232@gmail.com> <53DA475D-B063-470A-BB87-D3FFC9A7CF79@gmail.com> <834lvyct3t.fsf@gnu.org> <01B655FC-51F0-4A33-ADBF-3E1268E9E0EA@gmail.com> <3D282E00-27F3-451A-9895-5BCEEE0B7FA8@gmail.com> <227383E4-BF11-4655-AFDD-CBE25D426A85@traduction-libre.org> <29E540AC-0DE4-40A5-AAD6-58FE0178B830@traduction-libre.org> <77EFA561-E2F9-4BFB-831F-F83B6F05964E@traduction-libre.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="1395"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel To: Jean-Christophe Helary Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 26 16:51:14 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ikVPt-0000Bn-1w for ged-emacs-devel@m.gmane.org; Thu, 26 Dec 2019 16:51:13 +0100 Original-Received: from localhost ([::1]:54590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikVPr-0007DP-7G for ged-emacs-devel@m.gmane.org; Thu, 26 Dec 2019 10:51:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56304) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikVPh-0007C0-SU for emacs-devel@gnu.org; Thu, 26 Dec 2019 10:51:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ikVPg-0002C7-91 for emacs-devel@gnu.org; Thu, 26 Dec 2019 10:51:01 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:60915) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ikVPg-0002BM-21 for emacs-devel@gnu.org; Thu, 26 Dec 2019 10:51:00 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 1CCAC44D5D5; Thu, 26 Dec 2019 10:50:59 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id AE4BF44D5D3; Thu, 26 Dec 2019 10:50:56 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1577375456; bh=ngBcYTUBC89tdJbgFUeAc1jAx/p6EoE+3+6Dd8UZ6Y0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=jV0dNyF1R1bHarlILP8D/F7lw3Rj5SPUsIvfhB8YRcNLg6RpEdWdjxDa/OUo2wA6/ /6LW/vEqYWnCXm7g+57ylQfEMZRuEmxzsGOcj5zhUEM08giHGeNRGD/YDwzKZIGAEK gKSL8n6XshfWPq3l7cibrmidFWbvuSMt+Vmff+nnIc2q7aF2P508BhagSj9/DK9yFj CoGjO+o4CjLrO6bxvjEZVaD6vSFUBRni9MUx7mlEbJQLw2slxvAIqQjXBBuukPoTIJ PMSQl95xbNzpdFQo+yLhJLiYkA2MdB/yFTQ/KXjNOE6J6PgBVxCAegs5vLzWpIjaRm H9Y34d+ElXRhQ== Original-Received: from pastel (69-165-143-56.dsl.teksavvy.com [69.165.143.56]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 4AB99120850; Thu, 26 Dec 2019 10:50:56 -0500 (EST) In-Reply-To: <77EFA561-E2F9-4BFB-831F-F83B6F05964E@traduction-libre.org> (Jean-Christophe Helary's message of "Fri, 27 Dec 2019 00:22:41 +0900") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.devel:243650 Archived-At: >> The MDN doc on viewport is here: >> https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag >> >> The W3C is trying to port that directly to CSS but the spec is only a draft: >> https://drafts.csswg.org/css-device-adapt/#the-viewport So, IIUC in the long run we don't need to change the HTML because this `meta` element is only a hack added by Safari and the corresponding standard feature is not yet standardized but will likely put the corresponding info in the CSS. >> https://medium.com/@elad/understanding-the-difference-between-css-resolution-and-device-resolution-28acae23da0b This page is pretty poor, not explaining what the "CSS pixel" is supposed to represent; taking "browser provided data" as gospel ;-) > Ok, it should work now, with the extra bonus that if your desktop browser > window is not high enough, the behavior will be the same as landscape > mobile: the menu will stay at the top of the page in "summarized" mode. > > @media (max-width: 40em), (max-height: 40em) and (orientation:landscape) { It's indeed better but with one regression: now in landscape on my phone, the top-line is spread as a "vertical menu" whereas it used to fit on a single line. Stefan