aboutsummaryrefslogtreecommitdiff
path: root/doc/go1.10.html
diff options
context:
space:
mode:
authorAndrew Bonventre <andybons@golang.org>2018-01-11 11:30:49 -0500
committerAndrew Bonventre <andybons@golang.org>2018-01-11 17:44:08 +0000
commit594668a5a96267a46282ce3007a584ec07adf705 (patch)
tree1198fa69ed5bcd02c746ab6f336da7849cc66ade /doc/go1.10.html
parent4458a357ab819a612c0c4cafae88a65287254fe9 (diff)
downloadgo1.10beta2.tar.xz
doc, api: add type Srcset string change to go1.10 notes and APIgo1.10beta2
Change-Id: I13afaa894292bd566510b40a5e4bbbe4d72d4d08 Reviewed-on: https://go-review.googlesource.com/87395 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'doc/go1.10.html')
-rw-r--r--doc/go1.10.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/go1.10.html b/doc/go1.10.html
index 04944ac19a..b5b3c01e6c 100644
--- a/doc/go1.10.html
+++ b/doc/go1.10.html
@@ -1050,6 +1050,12 @@ The new actions <code>{{"{{break}}"}}</code> and <code>{{"{{continue}}"}}</code>
break out of the innermost <code>{{"{{range"}}</code>&nbsp;...<code>}}</code> loop,
like the corresponding Go statements.
</p>
+<p>
+The new <a href="/pkg/html/template#Srcset"><code>Srcset</code></a> content
+type allows for proper handling of values within the
+<a href="https://w3c.github.io/html/semantics-embedded-content.html#element-attrdef-img-srcset"><code>srcset</code></a>
+attribute of <code>img</code> tags.
+</p>
</dl>
<dl id="math/big"><dt><a href="/pkg/math/big/">math/big</a></dt>