From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.help Subject: Re: Are there some HTML tags that I can use to make certain blocks auto-hide in eww? Date: Thu, 27 Sep 2018 09:55:51 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1538056498 24421 195.159.176.226 (27 Sep 2018 13:54:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Sep 2018 13:54:58 +0000 (UTC) Cc: Help Gnu Emacs mailing list To: Noam Postavsky Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 27 15:54:54 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5Wko-0006GD-88 for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Sep 2018 15:54:54 +0200 Original-Received: from localhost ([::1]:36066 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5Wmu-0006sg-Jm for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Sep 2018 09:57:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5WmN-0006rc-Gm for help-gnu-emacs@gnu.org; Thu, 27 Sep 2018 09:56:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5WmM-0007b1-K4 for help-gnu-emacs@gnu.org; Thu, 27 Sep 2018 09:56:31 -0400 Original-Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]:40747) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g5WmM-0007Zj-Ad for help-gnu-emacs@gnu.org; Thu, 27 Sep 2018 09:56:30 -0400 Original-Received: by mail-lj1-x231.google.com with SMTP id r83-v6so2501234ljr.7 for ; Thu, 27 Sep 2018 06:56:28 -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 :cc; bh=0u75JYrNyKtyym9bB9jSrHPUFiO2WDTJdnKAsNuRhLk=; b=d1jmhfoHEUw8arD2WJxYxKfgvr8HwbVXvR6gQrxOU1hvfmXXlKwwQrVPD1ilOY+DSA D802DyqvIEJArdEwYqzGWJFk3Ym1ky2Rbdyf70edTgJdJSnVicDJQB/jdvaKiSQXT4Eq IGQr6CUTXoeFp+Pyad1KdCsGv5RfvlQ59iSr7KyZd7l7TWF7HMvTGalELHpjQbWPOoeO 66VVm9d+QBsqpXw7w+OIu222GkWK5PVXQYmk1NS0G27ZsDB/46tQHM5fIm0OCQ6/GvNU vCWYHfRHJzNBLQzGnLubA0IfGeDu+XIEpA0BvU/NueWmx7mzzPj1C+n1BGomqxpv9/m8 riSg== 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:cc; bh=0u75JYrNyKtyym9bB9jSrHPUFiO2WDTJdnKAsNuRhLk=; b=gTLU618HITdg+nc/nQoHymaTEMbU05coONReOT/3+2D2BzAdswJTdsTenF738p8E4D gU+z/sUAd2UCRtAUry4J5YP8SQclkVGhqlXVMLd5WeHANKnPUX3F/Zna0uFPIho7aw/5 y+TEYRcxYpmVPrlDbbZy1Sp5k3fyqo4OS6cTmkjLZTAfJSvKPUzrWyIbLX5mgqpfuPAw tde7dg30UXGRk75K75fOXxzfDhmi9j4vJd+up/STXEkqzFP2fi+jigAudHGm4v7N0Iqa QPT5ywda6PKHGdO+EZ0uHUc9cy/WIJ8oKhzlSg09QXwIwrL45v+LY0vKSDq/IJMrp6ZO P80w== X-Gm-Message-State: ABuFfohVwoQ8atfraoCExvtDMamykbHmTWmgsleYApv9WtMmBPa9LI0q vIDHdeC7sMcKiCfVL/zJYWAk9Yeo1iBvG0Pq/bUPWLmf X-Google-Smtp-Source: ACcGV61btUTf2UJ749gHO/UXsAW9/q/gcv/S404VhUDoE2pkFhWEH8Iwma31cdlQsDKBIfoRJyafk0TE+HwUv+hozHE= X-Received: by 2002:a2e:921a:: with SMTP id k26-v6mr697026ljg.163.1538056587254; Thu, 27 Sep 2018 06:56:27 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::231 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:118031 Archived-At: On Thu, Sep 27, 2018 at 9:50 AM Noam Postavsky wrote: > > Eww (or more specifically, shr) supports inline styles, using > style="display:none" on a tag does hide it in Eww. Wouldn't that permanently hide the tag? Not a web expert, but can inline styles be overridden by external CSS? > If you're using a > recent Emacs from master, aria-hidden="true" also works (generally, > this is meant to hide it from screen-readers, see Bug#32348). > I looked at this one, but hiding the aria-hidden is disabled by default. C-h v shr-discard-aria-hidden shows that it is nil by default. I was looking for a way to have my site "just work as I expect" without having users need to set shr-discard-aria-hidden to t.