Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make <title> element content use split heading content #50

Open
sideshowbarker opened this issue Jun 12, 2017 · 4 comments
Open

Make <title> element content use split heading content #50

sideshowbarker opened this issue Jun 12, 2017 · 4 comments

Comments

@sideshowbarker
Copy link
Contributor

wattsi currently just copies the <title> contents from the source file, which means all multipage documents end up with the same title, <title>HTML Standard</title>.

Each multipage document should instead have a unique title with HTML Standard appended; e.g.:

  • <title>Parsing HTML documents — HTML Standard</title>
  • <title>Web application APIs — HTML Standard</title>
@domenic
Copy link
Member

domenic commented Jun 12, 2017

Do you think we should try to grab the first heading element in the split page, or have a separate attribute, or...?

@domenic
Copy link
Member

domenic commented Jun 12, 2017

For example I'm not sure we want to give timers-and-user-prompts.html the title "Timers". Maybe we need w-splittitle="Timers and User Prompts"

@sideshowbarker
Copy link
Contributor Author

For example I'm not sure we want to give timers-and-user-prompts.html the title "Timers". Maybe we need w-splittitle="Timers and User Prompts"

hmm yeah I see what you mean. I had been going to say it should just use the content of whatever headings have split-filename but yeah I think if we do this we should also support an optional attribute like what you describe that could be used to override the the heading content.

@domenic domenic mentioned this issue Jun 21, 2017
5 tasks
domenic added a commit to whatwg/html that referenced this issue Jul 13, 2017
* Adds an "About this specfication" introduction, like the previous
  version had. Closes #2780.
* Fixes the header logo positioning; the recent introduction of the
  search box in cfb8b9e made the title
  spill onto multiple lines, causing the logo to no longer be centered.
* Changes the <title> to "HTML Standard, Developer's Edition" to
  distinguish it better from the full standard. whatwg/wattsi#50 remains
  open for makign the <title> more useful in general.
* Adds the full standard's favicon to the developer's edition too.
* Removes the useless Google fonts download, as we ended up deciding to
  serve Droid Serif ourselves.
domenic added a commit to whatwg/html that referenced this issue Jul 14, 2017
* Adds an "About this specification" introduction, like the previous
  version had. Closes #2780.
* Fixes the header logo positioning; the recent introduction of the
  search box in cfb8b9e made the title
  spill onto multiple lines, causing the logo to no longer be centered.
* Changes the <title> to "HTML Standard, Developer's Edition" to
  distinguish it better from the full standard. whatwg/wattsi#50 remains
  open for making the <title> more useful in general.
* Adds the full standard's favicon to the developer's edition too.
* Removes the useless Google fonts download, as we ended up deciding to
  serve Droid Serif ourselves.
domenic added a commit to whatwg/html that referenced this issue Jul 14, 2017
* Adds an "About this specification" introduction, like the previous
  version had. Closes #2780.
* Fixes the header logo positioning; the recent introduction of the
  search box in cfb8b9e made the title
  spill onto multiple lines, causing the logo to no longer be centered.
* Changes the <title> to "HTML Standard, Developer's Edition" to
  distinguish it better from the full standard. whatwg/wattsi#50 remains
  open for making the <title> more useful in general.
* Adds the full standard's favicon to the developer's edition too.
* Removes the useless Google fonts download, as we ended up deciding to
  serve Droid Serif ourselves.
alice pushed a commit to alice/html that referenced this issue Jan 8, 2019
* Adds an "About this specification" introduction, like the previous
  version had. Closes whatwg#2780.
* Fixes the header logo positioning; the recent introduction of the
  search box in cfb8b9e made the title
  spill onto multiple lines, causing the logo to no longer be centered.
* Changes the <title> to "HTML Standard, Developer's Edition" to
  distinguish it better from the full standard. whatwg/wattsi#50 remains
  open for making the <title> more useful in general.
* Adds the full standard's favicon to the developer's edition too.
* Removes the useless Google fonts download, as we ended up deciding to
  serve Droid Serif ourselves.
@Montesdodgers13

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants