RESOLVED WONTFIX Bug 123405
[CSS Regions] Elements in a named flow without an associated region chain still increment counters
https://bugs.webkit.org/show_bug.cgi?id=123405
Summary [CSS Regions] Elements in a named flow without an associated region chain sti...
Mihai Balan
Reported 2013-10-28 08:49:17 PDT
Created attachment 215310 [details] HTML file highlighting the problem The CSS 2.1 spec says that elements that are not displayed and don't generate boxes (e.g. elements with display: none or children of such elements) do not increment counters. The CSS Regions spec implies that children of regions or named flows without an associated region chain are in nature the same as elements with display: none. However, setting counter-increment on elements in a named flow without an associated region chain still increments the counter. E.g. in the attached file, the three elements should be numbered 1., 2., 3., but they are numbered 2, 4, 6 . Replacing flow-into/flow-from with display: none produces the proper numbering (1, 2, 3)
Attachments
HTML file highlighting the problem (2.25 KB, text/html)
2013-10-28 08:49 PDT, Mihai Balan
no flags
Mihai Balan
Comment 1 2013-10-28 08:51:36 PDT
The bug also reproduces with numbering generated by <ol> elements.
Brent Fulgham
Comment 2 2022-07-12 17:19:00 PDT
CSS Regions were removed in Bug 174978.
Note You need to log in before you can comment on or make changes to this bug.