-
Notifications
You must be signed in to change notification settings - Fork 383
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
Highlight code blocks, fix emphasis #712
Conversation
Marked as non substantive for IPR from ash-nazg. |
proposals/Template-Instantiation.md
Outdated
@@ -397,7 +408,7 @@ The `createInstance(optional any state)` method on `HTMLTemplateElement`, when | |||
4. Let *parts* be an empty list. | |||
5. For every [descendent](https://dom.spec.whatwg.org/#concept-tree-descendant) node *currentNode* of *instance* in [tree order](https://dom.spec.whatwg.org/#concept-tree-order), run these steps: | |||
1. If *currentNode* is a [template element](https://html.spec.whatwg.org/multipage/scripting.html#the-template-element): | |||
1. Run the concept to _adjust single node case_ with *currentNode***.** | |||
1. Run the concept to _adjust single node case_ with *currentNode.* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
Should appear after *.
proposals/Template-Instantiation.md
Outdated
<section><h1>Ryosuke Niwa</h1>Email: <a href="mailto:[email protected]”>[email protected]</a></section> | ||
``` html | ||
<section> | ||
<h1>Ryosuke Niwa</h1> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't reformat examples like this. Whitespaces after h1 Before "Email:" would not be collapsed so it would affect the final DOM tree.
proposals/Template-Instantiation.md
Outdated
<section><h1>Ryosuke Niwa</h1>Email: <a href="mailto:[email protected]”>[email protected]</a></section> | ||
``` html | ||
<section> | ||
<h1>Ryosuke Niwa</h1> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
proposals/Template-Instantiation.md
Outdated
<template id="foo"><div class="foo {{ f(y) }}">{{ x }} world</div></template> | ||
``` html | ||
<template id="foo"> | ||
<div class="foo {{ f(y) }}">{{ x }} world</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
proposals/Template-Instantiation.md
Outdated
<template type="my-template-type" id="contactTemplate"> | ||
<section><h1>{{name}}</h1>Email: <a href="mailto:{{email}}">{{email}}</a></section> | ||
<section> | ||
<h1>{{name}}</h1> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please undo this reformatting.
Thanks for the fixes! |
No description provided.