diff --git a/source b/source index ec4f609acab..59a5f018027 100644 --- a/source +++ b/source @@ -4021,6 +4021,18 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute +
Structured Headers
+ +
+

The following terms are defined in Structured Headers:

+ + +
+ +
Feature Policy
@@ -28595,6 +28607,47 @@ was an English <a href="/wiki/Music_hall">music hall</a> singer, ... +
Image-related Client Hints request headers
+ There are several image-related Client Hints which enable proactive content negotiation of the + most adapted image based on the user's device characteristics. If these headers appear in a + request more than once or have multiple values, the server SHOULD only take the last value of the + last request header into account. + +
DPR
+ The “DPR” request header field is a number that indicates the client’s current Device Pixel + Ratio (DPR). Its value SHOULD be identical to `window.devicePixelRatio`. + + + + The header's value is a sh-float. + +
Viewport-Width
+ The “Viewport-Width” request header field is a number that indicates the layout viewport width + in CSS pixels. Its value SHOULD be the viewport width excluding the size of a + rendered scroll bar (if any), rounded to the smallest following integer (i.e. ceiling value). + + The header's value is a sh-integer. + +
Width
+ The “Width” request header field is a number that indicates the desired resource width in CSS + pixels. Its value should be the initiator element's source set's source size, if one exists, + rounded to the smallest following integer (i.e. ceiling value). + + + The header's value is a sh-integer. + +
Image-related response headers
+
Content-DPR
+ The “Content-DPR” response header field is a number that indicates the received image's + current pixel density. + + The header's value is a sh-float. + + + The current pixel density affects the calculation of density corrected intrinsic + size of image resources. As a result, the server MUST explicitly indicate the DPR of the + selected image response whenever the DPR client hint was used, or when the server otherwise + modified the image dimensions to compensate for the device's screen density.
Requirements for providing text to act as an alternative for images
@@ -120676,6 +120729,10 @@ INSERT INTERFACES HERE
[SRI]
Subresource Integrity, D. Akhawe, F. Braun, F. Marier, J. Weinberger. W3C.
+
[STRUCTUREDHEADERS]
+
Structured Headers, M. Nottingham, P-H. Kamp.
+ +
[SVG]
Scalable Vector Graphics (SVG) 2, N Andronikos, R. Atanassov, T. Bah, B. Birtles, B. Brinza, C. Concolato, E. Dahlström, C. Lilley, C. McCormack, D. Schepers, R. Schwerdtfeger, D. Storey, S. Takagi, J. Watt. W3C.