From: Andrew Bonventre
Date: Thu, 11 Jan 2018 16:30:49 +0000 (-0500)
Subject: doc, api: add type Srcset string change to go1.10 notes and API
X-Git-Tag: go1.10beta2
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=594668a5a96267a46282ce3007a584ec07adf705;p=gostls13.git
doc, api: add type Srcset string change to go1.10 notes and API
Change-Id: I13afaa894292bd566510b40a5e4bbbe4d72d4d08
Reviewed-on: https://go-review.googlesource.com/87395
Reviewed-by: Ian Lance Taylor
---
diff --git a/api/go1.10.txt b/api/go1.10.txt
index 6647ec66dc..f17e54343f 100644
--- a/api/go1.10.txt
+++ b/api/go1.10.txt
@@ -573,6 +573,7 @@ pkg encoding/xml, type TokenReader interface, Token() (Token, error)
pkg flag, method (*FlagSet) ErrorHandling() ErrorHandling
pkg flag, method (*FlagSet) Name() string
pkg flag, method (*FlagSet) Output() io.Writer
+pkg html/template, type Srcset string
pkg math, func Erfcinv(float64) float64
pkg math, func Erfinv(float64) float64
pkg math, func Round(float64) float64
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 {{"{{break}}"}}
and {{"{{continue}}"}}
break out of the innermost {{"{{range"}}
...}}
loop,
like the corresponding Go statements.
+
+The new Srcset
content
+type allows for proper handling of values within the
+srcset
+attribute of img
tags.
+
- math/big