W3C home > Mailing lists > Public > public-i18n-archive@w3.org > April to June 2020

Re: [clreq] Language button not effective (#283)

From: Fuqiao Xue via GitHub <sysbot+gh@w3.org>
Date: Fri, 17 Apr 2020 11:39:57 +0000
To: public-i18n-archive@w3.org
Message-ID: <issue_comment.created-615198235-1587123596-sysbot+gh@w3.org>
> > Even "Simplified Chinese" button clicked, the English table in ยง 2.3.5.2 still appears.
> 
> That one we should try to fix.  It wasn't immediately obvious to me what causes that.

Because `table.charsize` has `display: inline-table`: https://github.com/w3c/clreq/blob/cb2c6a7fffb18cffde6d60dd672e705b8baf1641/local.css#L217-L218


Since the `hidden` attribute is [implemented in CSS](https://html.spec.whatwg.org/multipage/rendering.html#hiddenCSS), it is overridden by the `display: inline-table` in the CSS. See https://github.com/w3c/clreq/issues/235#issuecomment-568832236 for my proposed solution for this issue.

-- 
GitHub Notification of comment by xfq
Please view or discuss this issue at https://github.com/w3c/clreq/issues/283#issuecomment-615198235 using your GitHub account
Received on Friday, 17 April 2020 11:39:59 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 18:09:41 UTC