- From: Shinyu Murakami via GitHub <sysbot+gh@w3.org>
- Date: Thu, 02 Mar 2023 03:35:28 +0000
- To: public-css-archive@w3.org
The wording "If the element is the first element on the page," may be misleading. In my understanding, "the first element on the page" here should not be a single element. It was "if the element begins the page" in the old draft: CSS GCPM, 24 September 2013 Editor’s Draft: https://hg.csswg.org/drafts/raw-file/6a5c44d11c2b/css-gcpm/Overview.html#using-named-strings > - ‘start’: the value of the first assignment on the page is used if the element begins the page or the named string has not been assigned a value. Otherwise, the named string's entry value is used. The wording was rewritten from "begins the page" to "is the first element on the page" but no spec change would be intended. See the "Changes" section of the CSS GCPM: https://drafts.csswg.org/css-gcpm-3/#changes > Changes since the 24 September 2013 Editor’s Draft: > > - The spec has a new editor. > - All text and examples rewritten. Also, the wording about the `display: none` case was rewritten from > … If the element does not have any content boxes (e.g., if ‘display: none’ is set), the assignment is considered to take place on the page where the first content box would have occured if the element had been in the normal flow. to > The content values of named strings are assigned at the point when the content box of the element is first created (or would have been created if the element’s display value is none). I found a related discussion on the www-style ML when the first wording was written: Does string-set work on elements or on boxes? - https://lists.w3.org/Archives/Public/www-style/2013Sep/0688.html - https://lists.w3.org/Archives/Public/www-style/2013Oct/0563.html It may be helpful to understand the intent of the spec. At that time there was probably no consideration for the case that the element with no boxes falls on a page boundary. -- GitHub Notification of comment by MurakamiShinyu Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8404#issuecomment-1451247832 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 2 March 2023 03:35:30 UTC