{"action":"closed","issue":{"url":"https://api.github.com/repos/w3c/html/issues/956","repository_url":"https://api.github.com/repos/w3c/html","labels_url":"https://api.github.com/repos/w3c/html/issues/956/labels{/name}","comments_url":"https://api.github.com/repos/w3c/html/issues/956/comments","events_url":"https://api.github.com/repos/w3c/html/issues/956/events","html_url":"https://github.com/w3c/html/issues/956","id":239931461,"number":956,"title":"There seems to be an error in the HTML 5.1 specification outline example.","user":{"login":"seongbong","id":8731164,"avatar_url":"https://avatars2.githubusercontent.com/u/8731164?v=3","gravatar_id":"","url":"https://api.github.com/users/seongbong","html_url":"https://github.com/seongbong","followers_url":"https://api.github.com/users/seongbong/followers","following_url":"https://api.github.com/users/seongbong/following{/other_user}","gists_url":"https://api.github.com/users/seongbong/gists{/gist_id}","starred_url":"https://api.github.com/users/seongbong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seongbong/subscriptions","organizations_url":"https://api.github.com/users/seongbong/orgs","repos_url":"https://api.github.com/users/seongbong/repos","events_url":"https://api.github.com/users/seongbong/events{/privacy}","received_events_url":"https://api.github.com/users/seongbong/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-01T06:39:13Z","updated_at":"2017-07-03T00:25:02Z","closed_at":"2017-07-03T00:25:02Z","body":"Hi, I am looking closely to understand the part of the outline algorithm.\r\nThen, I found that some of the examples in the outline algorithm seem to have errors.\r\n\r\nIn Example 28 &mdash; [headings-and-sections](https://www.w3.org/TR/html51/sections.html#headings-and-sections)\r\n\r\n```html\r\n<body>\r\n  <h1>Apples</h1>\r\n  <p>Apples are fruit.</p>\r\n  <section>\r\n    <h2>Taste</h2>\r\n    <p>They taste lovely.</p>\r\n    <h3>Sweet</h3>\r\n    <p>Red apples are sweeter than green ones.</p>\r\n    <h3>Color</h3>\r\n    <p>Apples come in various colors.</p>\r\n  </section>\r\n</body>\r\n```\r\n\r\n```html\r\n<body>\r\n  <h1>Apples</h1>\r\n  <p>Apples are fruit.</p>\r\n  <section>\r\n    <h2>Taste</h2>\r\n    <p>They taste lovely.</p>\r\n    <section>\r\n      <h3>Sweet</h3>\r\n      <p>Red apples are sweeter than green ones.</p>\r\n    </section>\r\n  </section>\r\n  <section>\r\n    <h3>Color</h3>\r\n    <p>Apples come in various colors.</p>\r\n  </section>\r\n</body>\r\n```\r\n\r\nIt describes that \r\n> 'Both of the documents above are semantically identical and would produce the same outline in compliant user agents'.\r\n\r\nBut I think the two have different outlines as follows.\r\n( And the \"Nu Html Checker\" showed the same result. )\r\n\r\n*outline for first code fragment*\r\n> + \"Apple\"\r\n>     - \"Taste\"\r\n>         - \"Sweet\"\r\n>         - \"Color\"\r\n\r\n* outline for second code fragment*\r\n> + \"Apple\"\r\n>     - \"Taste\"\r\n>         - \"Sweet\"\r\n>     - \"Color\"\r\n\r\nWhat's wrong?\r\n\r\nAnd I also found that the same example (second example) was modified in HTML 5.2 Specification as follows.\r\n\r\n```html\r\n<body>\r\n  <h1>Apples</h1>\r\n  <p>Apples are fruit.</p>\r\n  <section>\r\n    <h2>Taste</h2>\r\n    <p>They taste lovely.</p>\r\n    <section>\r\n      <h3>Sweet</h3>\r\n      <p>Red apples are sweeter than green ones.</p>\r\n    </section>\r\n    <section>\r\n      <h3>Color</h3>\r\n      <p>Apples come in various colors.</p>\r\n    </section>\r\n  </section>\r\n</body>\r\n```\r\n\r\nIf this is correct, I think the outline of the first example is exactly the same as the outline of this example.\r\n\r\n\r\nI would like to know if the example in HTML 5.1 is wrong, if the example in HTML 5.2 is correct, or if I misunderstood the example in HTML 5.1."}}
{"actor":{"display_login":"seongbong"}}