W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

Re: [csswg-drafts] [css-fonts-4] Deduplication of computed style & inheritance for duplicate axis tags

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Thu, 15 Feb 2018 02:43:23 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-365810811-1518662603-sysbot+gh@w3.org>
I have a different sense. I kind of think it is cheaper to do simplification as early as possible when there is no other constraints. Restyle can happen far more times than parsing, and repaint is usually more frequent than restyle. Also, dropping earlier means the behavior is also easier to verify with tests (without needing to create special test font in this case).

Thus, I believe that it is cheaper on memory, computation, and testability to dedup them as early as possible, ideally during parsing.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2288#issuecomment-365810811 using your GitHub account
Received on Thursday, 15 February 2018 02:43:25 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:24 UTC