From unknown Fri Jun 20 18:18:34 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#50354 <50354@debbugs.gnu.org> To: bug#50354 <50354@debbugs.gnu.org> Subject: Status: 28.0.50; Fill in some more css gaps Reply-To: bug#50354 <50354@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:18:34 +0000 retitle 50354 28.0.50; Fill in some more css gaps reassign 50354 emacs submitter 50354 Theodor Thornhill severity 50354 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 03 06:39:18 2021 Received: (at submit) by debbugs.gnu.org; 3 Sep 2021 10:39:19 +0000 Received: from localhost ([127.0.0.1]:43059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM6bO-0001Ok-BU for submit@debbugs.gnu.org; Fri, 03 Sep 2021 06:39:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:60944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM6bL-0001Oa-1c for submit@debbugs.gnu.org; Fri, 03 Sep 2021 06:39:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mM6bK-0003JV-Oi for bug-gnu-emacs@gnu.org; Fri, 03 Sep 2021 06:39:14 -0400 Received: from out1.migadu.com ([91.121.223.63]:31178) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mM6bF-0002Ip-Sr for bug-gnu-emacs@gnu.org; Fri, 03 Sep 2021 06:39:14 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1630665543; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=5u0ddW23wb84ayofgOmrxy1RQriJcnkPnQbcm11SCB4=; b=tIu5MjrDNknXrVkbmjAFFEUR0UM1jBVwKf2OHVChTAtAw84qSDrFkuuy0xKTijab7Wizph 3SyjE3nADKFrSKAoCKnodZXTkpb1/nshFMRmsFq8gDy/mdjDehq77aleqmkhuS0YmdHPAK ePyobJN6tmIrSMyZY0GJ+SzkADQbJUUTL1nEFzAB+Zm8c7zUEd8pOihvgIf+5vRkqFaXCq vFlMbMK0Ne+r1P8OaEjIQ1KD/kEQcuiOrRiLRbmL1CmTJj+Xqw/8jGDbXsb7/b+0MCZRcf wUnMH2bbmRf/6reiZFpzR6cpCcSOd06y3WT/6ewbxCge4AbCqc+hlBDkL9PF/g== From: Theodor Thornhill To: bug-gnu-emacs@gnu.org Subject: 28.0.50; Fill in some more css gaps Date: Fri, 03 Sep 2021 12:39:01 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: theo@thornhill.no Received-SPF: pass client-ip=91.121.223.63; envelope-from=theo@thornhill.no; helo=out1.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Simen =?utf-8?Q?Heggest=C3=B8yl?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Hi again! Following up on my last patch, I've added a couple more. I tried to follow up on Simens suggestions and use the grammarlike alist. Furthermore there are some small additions from the newer specs. Hope this is useful! Theodor --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Clean-up-css-property-alist-for-alignment.patch >From e0f8f1c83d3c41660245df1a05e1393ec417038b Mon Sep 17 00:00:00 2001 From: Theodor Thornhill Date: Fri, 3 Sep 2021 12:07:47 +0200 Subject: [PATCH 1/4] Clean up css-property-alist for alignment * css-mode.el (css-property-alist, css-value-class-alist): Provide new position related entries for use in css-property-alist. Make sure that property-alist reflect the spec: https://www.w3.org/TR/css-align-3/#property-index --- lisp/textmodes/css-mode.el | 54 ++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 28 deletions(-) diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index f406afb7b6..c2086d2fd3 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el @@ -302,34 +302,25 @@ ("grid-template-rows" "none" track-list auto-track-list) ;; CSS Box Alignment Module Level 3 - ;; (https://www.w3.org/TR/css-align-3/#alignment-values) - ("align-content" "center" "start" "end" "flex-start" "flex-end" - "normal" "first" "last" "baseline" "space-between" "space-around" - "space-evenly" "stretch" "safe" "unsafe") - ("align-items" "normal" "stretch" "center" "start" "end" - "flex-start" "flex-end" "baseline" "first" "last" "baseline" - "safe" "unsafe") - ("align-self" "auto" "normal" "center" "start" "end" - "self-start" "self-end" "flex-start" "flex-end" - "baseline" "first" "last" "stretch" "safe" "unsafe") - ("justify-content" "center" "start" "end" "flex-start" "flex-end" - "left" "right" "normal" "space-between" "space-around" - "space-evenly" "stretch" "safe" "unsafe") - ("justify-items" "auto" "normal" "stretch" "center" "start" "end" - "flex-start" "flex-end" "self-start" "self-end" "left" "right" - "baseline" "first" "last" "legacy" "safe" "unsafe") - ("justify-self" "auto" "normal" "stretch" "center" "start" "end" - "flex-start" "flex-end" "self-start" "self-end" "left" "right" - "baseline" "first" "last" "safe" "unsafe") - ("place-content" "center" "start" "end" "left" "right" "flex-start" - "flex-end" "baseline" "first" "last" "space-evenly" "space-around" - "space-between") - ("place-items" "auto" "normal" "center" "start" "end" - "self-start" "self-end" "flex-start" "flex-end" - "left" "right" "baseline" "first" "last" "stretch") - ("place-self" "auto" "center" "start" "end" "self-start" "self-end" - "flex-start" "flex-end" "normal" "left" "right" "baseline" - "first" "last" "stretch") + ;; (https://www.w3.org/TR/css-align-3/#property-index) + ("align-content" + baseline-position content-distibution overflow-position content-position) + ("align-items" + "normal" "stretch" baseline-position overflow-position self-position) + ("align-self" + "auto" "normal" "stretch" + baseline-position overflow-position self-position) + ("justify-content" "normal" + content-distibution overflow-position content-position "left" "right") + ("justify-items" + "normal" "stretch" baseline-position overflow-position self-position + "left" "right" "legacy") + ("justify-self" + "auto" "normal" "stretch" baseline-position overflow-position self-position + "left" "right") + ("place-content" align-content justify-content) + ("place-items" align-items justify-items) + ("place-self" justify-self align-self) ;; CSS Flexible Box Layout Module Level 1 ;; (https://www.w3.org/TR/css-flexbox-1/#property-index) @@ -779,6 +770,13 @@ further value candidates, since that list would be infinite.") (padding-width length percentage) (position "left" "center" "right" "top" "bottom" percentage length) + (baseline-position "left" "right" "baseline") + (content-distribution + "space-between" "space-around" "space-evenly" "stretch") + (overflow-position "unsafe" "safe") + (content-position "center" "start" "end" "flex-start" "flex-end") + (self-position + "center" "start" "end" "self-start" "self-end" "flex-start" "flex-end") (radial-gradient "radial-gradient()") (relative-size "larger" "smaller") (repeat-style -- 2.30.1 (Apple Git-130) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-Update-to-CSS-Grid-Layout-Module-Level-2.patch >From beab400910450d3d2a4874f0e453999b6f611a3e Mon Sep 17 00:00:00 2001 From: Theodor Thornhill Date: Fri, 3 Sep 2021 12:14:32 +0200 Subject: [PATCH 2/4] Update to CSS Grid Layout Module Level 2 * css-mode.el (css-property-alist): Update to the newer spec, and add the subgrid keywords --- lisp/textmodes/css-mode.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index c2086d2fd3..8689c94bc5 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el @@ -278,8 +278,8 @@ ;; (https://www.w3.org/TR/css-contain-1/#property-index) ("contain" "none" "strict" "content" "size" "layout" "paint") - ;; CSS Grid Layout Module Level 1 - ;; (https://www.w3.org/TR/css-grid-1/#property-index) + ;; CSS Grid Layout Module Level 2 + ;; (https://www.w3.org/TR/css-grid-2/#property-index) ("grid" grid-template grid-template-rows "auto-flow" "dense" grid-auto-columns grid-auto-rows grid-template-columns) ("grid-area" grid-line) @@ -298,8 +298,8 @@ ("grid-template" "none" grid-template-rows grid-template-columns line-names string track-size line-names explicit-track-list) ("grid-template-areas" "none" string) - ("grid-template-columns" "none" track-list auto-track-list) - ("grid-template-rows" "none" track-list auto-track-list) + ("grid-template-columns" "none" track-list auto-track-list "subgrid") + ("grid-template-rows" "none" track-list auto-track-list "subgrid") ;; CSS Box Alignment Module Level 3 ;; (https://www.w3.org/TR/css-align-3/#property-index) -- 2.30.1 (Apple Git-130) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0003-Update-to-CSS-Containment-Module-Level-2.patch >From 7c2daa34a77ecca28a1bb66a9a9b7cb3d58f1e57 Mon Sep 17 00:00:00 2001 From: Theodor Thornhill Date: Fri, 3 Sep 2021 12:19:36 +0200 Subject: [PATCH 3/4] Update to CSS Containment Module Level 2 * css-mode.el (css-property-alist): Update contain, and add content-visibility. --- lisp/textmodes/css-mode.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index 8689c94bc5..a39a62aa68 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el @@ -274,9 +274,10 @@ ("color" color) ("opacity" alphavalue) - ;; CSS Containment Module Level 1 - ;; (https://www.w3.org/TR/css-contain-1/#property-index) - ("contain" "none" "strict" "content" "size" "layout" "paint") + ;; CSS Containment Module Level 2 + ;; (https://www.w3.org/TR/css-contain-2/#property-index) + ("contain" "none" "strict" "content" "size" "layout" "style" "paint") + ("content-visibility" "visible" "auto" "hidden") ;; CSS Grid Layout Module Level 2 ;; (https://www.w3.org/TR/css-grid-2/#property-index) -- 2.30.1 (Apple Git-130) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0004-Update-to-CSS-Flexible-Box-Layout-Module-Level-2.patch >From 132b72f76a885e655b35ecaf9f3447d94e4844db Mon Sep 17 00:00:00 2001 From: Theodor Thornhill Date: Fri, 3 Sep 2021 12:21:49 +0200 Subject: [PATCH 4/4] Update to CSS Flexible Box Layout Module Level 2 * css-mode.el (css-property-alist): Update link. --- lisp/textmodes/css-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index a39a62aa68..d57f2d5493 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el @@ -323,8 +323,8 @@ ("place-items" align-items justify-items) ("place-self" justify-self align-self) - ;; CSS Flexible Box Layout Module Level 1 - ;; (https://www.w3.org/TR/css-flexbox-1/#property-index) + ;; CSS Flexible Box Layout Module Level 2 + ;; (https://www.w3.org/TR/css-flexbox-2/#property-index) ("flex" "none" flex-grow flex-shrink flex-basis) ("flex-basis" "auto" "content" width) ("flex-direction" "row" "row-reverse" "column" "column-reverse") -- 2.30.1 (Apple Git-130) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 03 08:06:39 2021 Received: (at 50354) by debbugs.gnu.org; 3 Sep 2021 12:06:40 +0000 Received: from localhost ([127.0.0.1]:43204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM7xv-0003lk-Pl for submit@debbugs.gnu.org; Fri, 03 Sep 2021 08:06:39 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM7xt-0003lT-Kj for 50354@debbugs.gnu.org; Fri, 03 Sep 2021 08:06:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=agfYFzkww8OexZZUGdE2q6tPB8F4pz6CH1R8cvimEJw=; b=VSfse14bIJhJ0PyvOvRus4GD+X fcuP4RfoffjJxebImXBwqtSJ1k5J+wzPwxrcQfgMSUaY/DE3IR/CyLCz0dkA4A5cWMMqpc9qkQtr4 iQmWqtwQ2Z5L8qydU0hnWycWpe0JeEJ8i981AOouORTce3iXEilVTB/wjWCfSU5/Bqys=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mM7xk-0001sH-7Q; Fri, 03 Sep 2021 14:06:30 +0200 From: Lars Ingebrigtsen To: Theodor Thornhill Subject: Re: bug#50354: 28.0.50; Fill in some more css gaps References: Date: Fri, 03 Sep 2021 14:06:26 +0200 In-Reply-To: (Theodor Thornhill's message of "Fri, 03 Sep 2021 12:39:01 +0200") Message-ID: <87y28dx3r1.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Theodor Thornhill writes: > Following up on my last patch, I've added a couple more. I tried to > follow up on Simens suggestions and use the grammarlike alist. > Furthermore there are some small additions from the newer specs [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 50354 Cc: Simen =?utf-8?Q?Heggest=C3=B8yl?= , 50354@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Theodor Thornhill writes: > Following up on my last patch, I've added a couple more. I tried to > follow up on Simens suggestions and use the grammarlike alist. > Furthermore there are some small additions from the newer specs. > > Hope this is useful! Yup. :-) Applied to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 03 08:06:43 2021 Received: (at control) by debbugs.gnu.org; 3 Sep 2021 12:06:43 +0000 Received: from localhost ([127.0.0.1]:43207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM7xy-0003lz-Vs for submit@debbugs.gnu.org; Fri, 03 Sep 2021 08:06:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:57256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM7xw-0003la-TH for control@debbugs.gnu.org; Fri, 03 Sep 2021 08:06:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kF4dAya6/mQYP4cn3xmrVIl/PBK4DrCpR0FRBswurpc=; b=HZH1k/TUZQGKjYaA9U3F4mUcvr i8o/Rl3lOxWQGggA82gpALAT3/KbKDDyt0UweUhzjmKjzVroroGTqVyy47vjk+HXzJLLNFgxDx8tl xxZ+I9n1c1GilNj30mA4bBCOqMxfK26lrnolDjEGz6EVeN7eOw/Gf8PdBjFozlLm5gXo=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mM7xp-0001sl-31 for control@debbugs.gnu.org; Fri, 03 Sep 2021 14:06:35 +0200 Date: Fri, 03 Sep 2021 14:06:32 +0200 Message-Id: <87wnnxx3qv.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #50354 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 50354 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 50354 28.1 quit From unknown Fri Jun 20 18:18:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 02 Oct 2021 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator