-
Notifications
You must be signed in to change notification settings - Fork 550
headings and sections examples are inconsistent #802
Comments
I tried to walk through the algorithm on the two examples. I am not certain that I got it right - it is not only complex, but the descriptions of what to do and where to go next are pretty unclear. As far as I can tell example 25 is inconsistent with the algorithm, and as suggested by everything before that in the section, the third heading in the first snippet of the example is level three, but in the second snippet it is level 2. In other words, the example is wrong, because the two snippets are not semantically the same. The first snippet would be the same as a snippet like
|
@chaals i used the https://validator.w3.org/nu/ to check the outlines (it handily provides a representation for both H1-h6 and the theoretical outline)
will fix. |
example outlines for corrected example: https://validator.w3.org/nu/?showsource=yes&showoutline=yes&doc=http%3A%2F%2Fs.codepen.io%2Fstevef%2Fdebug%2FQdXxLw%2FnqkwvewdgpOA#headingoutline |
@chaals if you are satisfied please close. |
Commented - you got the opening and closing tags reversed. |
@chaals doh! fixed now, i hope... |
Fixed in 5e022ad |
Hi, as far as I can tell, Examples 24 and 25 and the text around them in the headings and sections section 4.3.9 are inconsistent.
Stripped down, 24 and the normative text before and after it it says you get
Whereas example 25 suggests that isn't so.
I haven't run them through the algorithm itself yet, but unless I missed something one or other of these examples should be updated whether or not we touch the algorithm - proposed by #794 …
updated fixed the missing
/
in the lastsection
tag in the second-last line.updated linked to the relevant section
The text was updated successfully, but these errors were encountered: