SlideShare a Scribd company logo
1 of 24
The Status of Living HTMLThe Status of Living HTML
(highlights)(highlights)
Daniel Davis, W3CDaniel Davis, W3C
@ourmaninjapan@ourmaninjapan
●
getUserMediagetUserMedia
●
Web SocketsWeb Sockets
●
WebGLWebGL
●
WebRTCWebRTC
Cool existing thingsCool existing things
●
Web ComponentsWeb Components
●
Responsive ImagesResponsive Images
●
Service WorkerService Worker
●
JSON for form dataJSON for form data
●
OtherOther
Shiny new thingsShiny new things
Browser supportBrowser support
caniuse.comcaniuse.com
status.modern.iestatus.modern.ie
Photo byPhoto by twitter.com/mamipekotwitter.com/mamipeko
Web Components: TemplateWeb Components: Template
●
Re-usable HTMLRe-usable HTML
●
Only parsed when they are neededOnly parsed when they are needed
●
Useful for a large suite of documentsUseful for a large suite of documents
Web Components: Custom ElementsWeb Components: Custom Elements
●
Extend existing elementsExtend existing elements
●
Make your own elementsMake your own elements
●
Custom elements must contain a hyphenCustom elements must contain a hyphen
●
Name validator:Name validator:
– mothereff.in/custom-element-namemothereff.in/custom-element-name
Web Components: Shadow DOMWeb Components: Shadow DOM
●
An “unseen” DOM attached to an elementAn “unseen” DOM attached to an element
●
Encapsulation in HTML:Encapsulation in HTML:
– ““private” scopeprivate” scope
– independent of global stylesindependent of global styles
●
Multiple shadows possibleMultiple shadows possible
Shadow DOM:Shadow DOM: createShadowRoot()createShadowRoot()
Shadow DOM: renderedShadow DOM: rendered
Web Components: More...Web Components: More...
w3c.github.io/webcomponentsw3c.github.io/webcomponents
html5rocks.comhtml5rocks.com
Responsive ImagesResponsive Images
●
srcsetsrcset attribute forattribute for <img><img>
●
<picture><picture> elementelement
●
““Art direction” is possibleArt direction” is possible
●
<img src=”...”><img src=”...”> fallbackfallback
Responsive Images:Responsive Images: srcsetsrcset
●
For high pixel density screens (e.g. “retina”)For high pixel density screens (e.g. “retina”)
<img src="small.jpg"<img src="small.jpg"
srcset="small.jpg 1x, large.jpg 2x">srcset="small.jpg 1x, large.jpg 2x">
Responsive Images:Responsive Images: <picture><picture>
●
With singleWith single <source><source>
<picture><picture>
<source srcset="small.jpg 1x,<source srcset="small.jpg 1x,
large.jpg 2x">large.jpg 2x">
<img src="small.jpg" alt=”Portrait”><img src="small.jpg" alt=”Portrait”>
</picture></picture>
Responsive Images:Responsive Images: <picture><picture>
●
With multiple sizesWith multiple sizes
<picture><picture>
<source sizes="100%"<source sizes="100%"
srcset="pic400.jpg 400w, pic800.jpg 800w>srcset="pic400.jpg 400w, pic800.jpg 800w>
<img src="pic400.jpg" alt="Portrait"><img src="pic400.jpg" alt="Portrait">
</picture></picture>
Responsive Images:Responsive Images: <picture><picture>
●
With multipleWith multiple <source><source>
<picture><picture>
<source media="(min-width: 600px)"<source media="(min-width: 600px)"
srcset="large.jpg">srcset="large.jpg">
<source media="(min-width: 300px)"<source media="(min-width: 300px)"
srcset="small.jpg">srcset="small.jpg">
<img src="small.jpg" alt=”Portrait”><img src="small.jpg" alt=”Portrait”>
</picture></picture>
Responsive Images:Responsive Images: <picture><picture>
●
With multiple filetypesWith multiple filetypes
<picture><picture>
<source type="image/webp"<source type="image/webp"
srcset="small.webp, large.webp 2x">srcset="small.webp, large.webp 2x">
<source type="image/jpg"<source type="image/jpg"
srcset="small.jpg, large.jpg 2x">srcset="small.jpg, large.jpg 2x">
<img src="small.jpg" alt="Portrait"><img src="small.jpg" alt="Portrait">
</picture></picture>
Responsive Images: More...Responsive Images: More...
responsiveimages.orgresponsiveimages.org
Service WorkerService Worker
●
Goodbye ApplicationCacheGoodbye ApplicationCache
●
Hello page-independent scriptsHello page-independent scripts
●
ProposalProposal
– github.com/slightlyoff/ServiceWorkergithub.com/slightlyoff/ServiceWorker
Service WorkerService Worker
●
Decides how to respond to a URI requestDecides how to respond to a URI request
navigator.serviceWorker.register("/assets/v1/worker.js").then(navigator.serviceWorker.register("/assets/v1/worker.js").then(
function(serviceWorker) {function(serviceWorker) {
console.log("success!");console.log("success!");
serviceWorker.postMessage("Howdy from your installingserviceWorker.postMessage("Howdy from your installing
page.");page.");
// To use the serviceWorker immediately, you might call// To use the serviceWorker immediately, you might call
window.location.reload()window.location.reload()
},},
function(why) {function(why) {
console.error("Installing the worker failed!:", why);console.error("Installing the worker failed!:", why);
});});
JSON for form dataJSON for form data
●
Currently:Currently:
– enctype=”multipart/form-data”enctype=”multipart/form-data”
– enctype=”application/x-www-form-urlencoded”enctype=”application/x-www-form-urlencoded”
●
New alternative:New alternative:
– enctype=”application/json”enctype=”application/json”
●
Proposal:Proposal:
– http://darobin.github.io/formic/specs/json/http://darobin.github.io/formic/specs/json/
Others (your homework)Others (your homework)
●
PerformancePerformance
– Performance Timeline APIPerformance Timeline API
– User Timing APIUser Timing API
– Page Visibility APIPage Visibility API
●
Push APIPush API
●
Resource PrioritiesResource Priorities
●
Clipboard APIClipboard API
●
Network Service Discovery APINetwork Service Discovery API
How you can helpHow you can help
●
Community Groups:Community Groups:
– w3.org/communityw3.org/community
●
Testing:Testing:
– github.com/w3c/web-platform-testsgithub.com/w3c/web-platform-tests
– testthewebforward.orgtestthewebforward.org
●
Documentation:Documentation:
– WebPlatform.orgWebPlatform.org
The Status of Living HTMLThe Status of Living HTML
(highlights)(highlights)
Daniel Davis, W3CDaniel Davis, W3C
@ourmaninjapan@ourmaninjapan

More Related Content

What's hot

Accessibility Hacks Wordcamp Manchester October 2018
Accessibility Hacks Wordcamp Manchester October 2018Accessibility Hacks Wordcamp Manchester October 2018
Accessibility Hacks Wordcamp Manchester October 2018Graham Armfield
 
Top 10 HTML5 features
Top 10 HTML5 featuresTop 10 HTML5 features
Top 10 HTML5 featuresGill Cleeren
 
State of Drupal keynote, DrupalCon Prague
State of Drupal keynote, DrupalCon PragueState of Drupal keynote, DrupalCon Prague
State of Drupal keynote, DrupalCon PragueDries Buytaert
 
Whirlwind Tour of SVG (plus RaphaelJS)
Whirlwind Tour of SVG (plus RaphaelJS)Whirlwind Tour of SVG (plus RaphaelJS)
Whirlwind Tour of SVG (plus RaphaelJS)Marc Grabanski
 
Comprehensive Browser Automation Solution using Groovy, WebDriver & Obect Model
Comprehensive Browser Automation Solution using Groovy, WebDriver & Obect ModelComprehensive Browser Automation Solution using Groovy, WebDriver & Obect Model
Comprehensive Browser Automation Solution using Groovy, WebDriver & Obect ModelvodQA
 
TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單偉格 高
 
Themeroller 2.0: Refactoring for Speed
Themeroller 2.0: Refactoring for SpeedThemeroller 2.0: Refactoring for Speed
Themeroller 2.0: Refactoring for SpeedDoug Neiner
 
Sadielai10x10presentation
Sadielai10x10presentationSadielai10x10presentation
Sadielai10x10presentationsadielai
 
Thinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSSThinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSSTJ Stalcup
 
Accessibility on SVG and SEO
Accessibility on SVG and SEOAccessibility on SVG and SEO
Accessibility on SVG and SEOReinaldo Ferraz
 
Intro to Building & Marketing Your Own Website
Intro to Building & Marketing Your Own WebsiteIntro to Building & Marketing Your Own Website
Intro to Building & Marketing Your Own WebsiteTom McCracken
 
WAI-ARIA is More Than Accessibility
WAI-ARIA is More Than AccessibilityWAI-ARIA is More Than Accessibility
WAI-ARIA is More Than Accessibility偉格 高
 

What's hot (17)

Accessibility Hacks Wordcamp Manchester October 2018
Accessibility Hacks Wordcamp Manchester October 2018Accessibility Hacks Wordcamp Manchester October 2018
Accessibility Hacks Wordcamp Manchester October 2018
 
Top 10 HTML5 features
Top 10 HTML5 featuresTop 10 HTML5 features
Top 10 HTML5 features
 
State of Drupal keynote, DrupalCon Prague
State of Drupal keynote, DrupalCon PragueState of Drupal keynote, DrupalCon Prague
State of Drupal keynote, DrupalCon Prague
 
Html5
Html5Html5
Html5
 
Whirlwind Tour of SVG (plus RaphaelJS)
Whirlwind Tour of SVG (plus RaphaelJS)Whirlwind Tour of SVG (plus RaphaelJS)
Whirlwind Tour of SVG (plus RaphaelJS)
 
Comprehensive Browser Automation Solution using Groovy, WebDriver & Obect Model
Comprehensive Browser Automation Solution using Groovy, WebDriver & Obect ModelComprehensive Browser Automation Solution using Groovy, WebDriver & Obect Model
Comprehensive Browser Automation Solution using Groovy, WebDriver & Obect Model
 
TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單TOSSUG HTML5 讀書會 新標籤與表單
TOSSUG HTML5 讀書會 新標籤與表單
 
Themeroller 2.0: Refactoring for Speed
Themeroller 2.0: Refactoring for SpeedThemeroller 2.0: Refactoring for Speed
Themeroller 2.0: Refactoring for Speed
 
Sadielai10x10presentation
Sadielai10x10presentationSadielai10x10presentation
Sadielai10x10presentation
 
Thinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSSThinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSS
 
Accessibility on SVG and SEO
Accessibility on SVG and SEOAccessibility on SVG and SEO
Accessibility on SVG and SEO
 
Css
CssCss
Css
 
html5_css3
html5_css3html5_css3
html5_css3
 
Intro to HTML
Intro to HTMLIntro to HTML
Intro to HTML
 
Intro to Building & Marketing Your Own Website
Intro to Building & Marketing Your Own WebsiteIntro to Building & Marketing Your Own Website
Intro to Building & Marketing Your Own Website
 
The web context
The web contextThe web context
The web context
 
WAI-ARIA is More Than Accessibility
WAI-ARIA is More Than AccessibilityWAI-ARIA is More Than Accessibility
WAI-ARIA is More Than Accessibility
 

Similar to The status of living HTML (highlights)

High Performance Images: Beautiful Shouldn't Mean Slow
High Performance Images: Beautiful Shouldn't Mean SlowHigh Performance Images: Beautiful Shouldn't Mean Slow
High Performance Images: Beautiful Shouldn't Mean SlowGuy Podjarny
 
Responsive images are here. Now what?
Responsive images are here. Now what?Responsive images are here. Now what?
Responsive images are here. Now what?Jason Grigsby
 
Bilder einbinden ist kein Thema, oder?
Bilder einbinden ist kein Thema, oder?Bilder einbinden ist kein Thema, oder?
Bilder einbinden ist kein Thema, oder?Walter Ebert
 
Practical Responsive Images - from Second Wednesday
Practical Responsive Images - from Second WednesdayPractical Responsive Images - from Second Wednesday
Practical Responsive Images - from Second WednesdayBen Seymour
 
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin..."Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...Yandex
 
Next Steps in Responsive Design
Next Steps in Responsive DesignNext Steps in Responsive Design
Next Steps in Responsive DesignJustin Avery
 
Responsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesResponsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesVitaly Friedman
 
HTML5, just another presentation :)
HTML5, just another presentation :)HTML5, just another presentation :)
HTML5, just another presentation :)François Massart
 
Delivering Responsive Images
Delivering Responsive Images Delivering Responsive Images
Delivering Responsive Images Cloudinary
 
Responsive Images FCIP July 2013
Responsive Images FCIP July 2013Responsive Images FCIP July 2013
Responsive Images FCIP July 2013RZasadzinski
 
BreizhBeans - Web components
BreizhBeans - Web componentsBreizhBeans - Web components
BreizhBeans - Web componentsHoracio Gonzalez
 
Responsive Web Design tips and tricks.
Responsive Web Design tips and tricks.Responsive Web Design tips and tricks.
Responsive Web Design tips and tricks.GaziAhsan
 
Core Web Vitals Optimization for any website, especially WordPress
Core Web Vitals Optimization for any website, especially WordPressCore Web Vitals Optimization for any website, especially WordPress
Core Web Vitals Optimization for any website, especially WordPressClementYo
 
Responsive Images in the Real World - presented at JavaScript Open 2015
Responsive Images in the Real World - presented at JavaScript Open 2015Responsive Images in the Real World - presented at JavaScript Open 2015
Responsive Images in the Real World - presented at JavaScript Open 2015Morten Rand-Hendriksen
 

Similar to The status of living HTML (highlights) (20)

High Performance Images: Beautiful Shouldn't Mean Slow
High Performance Images: Beautiful Shouldn't Mean SlowHigh Performance Images: Beautiful Shouldn't Mean Slow
High Performance Images: Beautiful Shouldn't Mean Slow
 
Responsive images are here. Now what?
Responsive images are here. Now what?Responsive images are here. Now what?
Responsive images are here. Now what?
 
Bilder einbinden ist kein Thema, oder?
Bilder einbinden ist kein Thema, oder?Bilder einbinden ist kein Thema, oder?
Bilder einbinden ist kein Thema, oder?
 
Practical Responsive Images - from Second Wednesday
Practical Responsive Images - from Second WednesdayPractical Responsive Images - from Second Wednesday
Practical Responsive Images - from Second Wednesday
 
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin..."Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
"Responsive Web Design: Clever Tips and Techniques". Vitaly Friedman, Smashin...
 
Next Steps in Responsive Design
Next Steps in Responsive DesignNext Steps in Responsive Design
Next Steps in Responsive Design
 
Responsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and TechniquesResponsive Web Design: Clever Tips and Techniques
Responsive Web Design: Clever Tips and Techniques
 
HTML5, just another presentation :)
HTML5, just another presentation :)HTML5, just another presentation :)
HTML5, just another presentation :)
 
Delivering Responsive Images
Delivering Responsive Images Delivering Responsive Images
Delivering Responsive Images
 
javascript examples
javascript examplesjavascript examples
javascript examples
 
Responsive Images FCIP July 2013
Responsive Images FCIP July 2013Responsive Images FCIP July 2013
Responsive Images FCIP July 2013
 
BreizhBeans - Web components
BreizhBeans - Web componentsBreizhBeans - Web components
BreizhBeans - Web components
 
Fully Optimized
Fully OptimizedFully Optimized
Fully Optimized
 
Responsive Web Design tips and tricks.
Responsive Web Design tips and tricks.Responsive Web Design tips and tricks.
Responsive Web Design tips and tricks.
 
Rwd slidedeck
Rwd slidedeckRwd slidedeck
Rwd slidedeck
 
Core Web Vitals Optimization for any website, especially WordPress
Core Web Vitals Optimization for any website, especially WordPressCore Web Vitals Optimization for any website, especially WordPress
Core Web Vitals Optimization for any website, especially WordPress
 
Level ofdetail
Level ofdetailLevel ofdetail
Level ofdetail
 
Responsive Images in the Real World - presented at JavaScript Open 2015
Responsive Images in the Real World - presented at JavaScript Open 2015Responsive Images in the Real World - presented at JavaScript Open 2015
Responsive Images in the Real World - presented at JavaScript Open 2015
 
AspNetWhitePaper
AspNetWhitePaperAspNetWhitePaper
AspNetWhitePaper
 
AspNetWhitePaper
AspNetWhitePaperAspNetWhitePaper
AspNetWhitePaper
 

More from ourmaninjapan

テレビのウェブ開発:その1
テレビのウェブ開発:その1テレビのウェブ開発:その1
テレビのウェブ開発:その1ourmaninjapan
 
テレビのウェブ開発:その2
テレビのウェブ開発:その2テレビのウェブ開発:その2
テレビのウェブ開発:その2ourmaninjapan
 
テレビのウェブ開発:その3
テレビのウェブ開発:その3テレビのウェブ開発:その3
テレビのウェブ開発:その3ourmaninjapan
 
HTML5概要、コードサンプル
HTML5概要、コードサンプルHTML5概要、コードサンプル
HTML5概要、コードサンプルourmaninjapan
 
How to read W3C specs
How to read W3C specsHow to read W3C specs
How to read W3C specsourmaninjapan
 
HTML5: APIの活用事例 と 今後の広がり
HTML5: APIの活用事例 と 今後の広がりHTML5: APIの活用事例 と 今後の広がり
HTML5: APIの活用事例 と 今後の広がりourmaninjapan
 
HTML5とデバイスの連携: 良いところ、悪いところ、未来のこと
HTML5とデバイスの連携: 良いところ、悪いところ、未来のことHTML5とデバイスの連携: 良いところ、悪いところ、未来のこと
HTML5とデバイスの連携: 良いところ、悪いところ、未来のことourmaninjapan
 
testharness.js の基礎
testharness.js の基礎testharness.js の基礎
testharness.js の基礎ourmaninjapan
 
W3C Widgets、どこが面白い?
W3C Widgets、どこが面白い?W3C Widgets、どこが面白い?
W3C Widgets、どこが面白い?ourmaninjapan
 
W3C Widgets: Why should I care?
W3C Widgets: Why should I care? W3C Widgets: Why should I care?
W3C Widgets: Why should I care? ourmaninjapan
 
Widgets in theory and in practice
Widgets in theory and in practiceWidgets in theory and in practice
Widgets in theory and in practiceourmaninjapan
 
Mobile web development without developing a mobile site
Mobile web development without developing a mobile siteMobile web development without developing a mobile site
Mobile web development without developing a mobile siteourmaninjapan
 
実際のウェブページコーディング
実際のウェブページコーディング 実際のウェブページコーディング
実際のウェブページコーディング ourmaninjapan
 
HTML5: New capabilities, new markup
HTML5: New capabilities, new markupHTML5: New capabilities, new markup
HTML5: New capabilities, new markupourmaninjapan
 
small 画面でも、 BIG 画面でも、 今すぐ使えるレスポンシブ活用術
small 画面でも、 BIG 画面でも、 今すぐ使えるレスポンシブ活用術small 画面でも、 BIG 画面でも、 今すぐ使えるレスポンシブ活用術
small 画面でも、 BIG 画面でも、 今すぐ使えるレスポンシブ活用術ourmaninjapan
 
スマートTVへの アプローチと制作
スマートTVへの アプローチと制作スマートTVへの アプローチと制作
スマートTVへの アプローチと制作ourmaninjapan
 
「Network Service Discovery API ができました!」 と言われた時
「Network Service Discovery API ができました!」 と言われた時「Network Service Discovery API ができました!」 と言われた時
「Network Service Discovery API ができました!」 と言われた時ourmaninjapan
 

More from ourmaninjapan (20)

テレビのウェブ開発:その1
テレビのウェブ開発:その1テレビのウェブ開発:その1
テレビのウェブ開発:その1
 
テレビのウェブ開発:その2
テレビのウェブ開発:その2テレビのウェブ開発:その2
テレビのウェブ開発:その2
 
テレビのウェブ開発:その3
テレビのウェブ開発:その3テレビのウェブ開発:その3
テレビのウェブ開発:その3
 
Developing for TV
Developing for TVDeveloping for TV
Developing for TV
 
HTML5概要、コードサンプル
HTML5概要、コードサンプルHTML5概要、コードサンプル
HTML5概要、コードサンプル
 
How to read W3C specs
How to read W3C specsHow to read W3C specs
How to read W3C specs
 
HTML5: APIの活用事例 と 今後の広がり
HTML5: APIの活用事例 と 今後の広がりHTML5: APIの活用事例 と 今後の広がり
HTML5: APIの活用事例 と 今後の広がり
 
HTML5とデバイスの連携: 良いところ、悪いところ、未来のこと
HTML5とデバイスの連携: 良いところ、悪いところ、未来のことHTML5とデバイスの連携: 良いところ、悪いところ、未来のこと
HTML5とデバイスの連携: 良いところ、悪いところ、未来のこと
 
Web payments
Web paymentsWeb payments
Web payments
 
testharness.js の基礎
testharness.js の基礎testharness.js の基礎
testharness.js の基礎
 
W3C Widgets、どこが面白い?
W3C Widgets、どこが面白い?W3C Widgets、どこが面白い?
W3C Widgets、どこが面白い?
 
W3C Widgets: Why should I care?
W3C Widgets: Why should I care? W3C Widgets: Why should I care?
W3C Widgets: Why should I care?
 
Widgets in theory and in practice
Widgets in theory and in practiceWidgets in theory and in practice
Widgets in theory and in practice
 
Mobile web development without developing a mobile site
Mobile web development without developing a mobile siteMobile web development without developing a mobile site
Mobile web development without developing a mobile site
 
実際のウェブページコーディング
実際のウェブページコーディング 実際のウェブページコーディング
実際のウェブページコーディング
 
HTML5: New capabilities, new markup
HTML5: New capabilities, new markupHTML5: New capabilities, new markup
HTML5: New capabilities, new markup
 
small 画面でも、 BIG 画面でも、 今すぐ使えるレスポンシブ活用術
small 画面でも、 BIG 画面でも、 今すぐ使えるレスポンシブ活用術small 画面でも、 BIG 画面でも、 今すぐ使えるレスポンシブ活用術
small 画面でも、 BIG 画面でも、 今すぐ使えるレスポンシブ活用術
 
スマートTVへの アプローチと制作
スマートTVへの アプローチと制作スマートTVへの アプローチと制作
スマートTVへの アプローチと制作
 
「Network Service Discovery API ができました!」 と言われた時
「Network Service Discovery API ができました!」 と言われた時「Network Service Discovery API ができました!」 と言われた時
「Network Service Discovery API ができました!」 と言われた時
 
Presentation Skills
Presentation SkillsPresentation Skills
Presentation Skills
 

Recently uploaded

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 

Recently uploaded (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

The status of living HTML (highlights)

  • 1. The Status of Living HTMLThe Status of Living HTML (highlights)(highlights) Daniel Davis, W3CDaniel Davis, W3C @ourmaninjapan@ourmaninjapan
  • 2.
  • 4. ● Web ComponentsWeb Components ● Responsive ImagesResponsive Images ● Service WorkerService Worker ● JSON for form dataJSON for form data ● OtherOther Shiny new thingsShiny new things
  • 6. Web Components: TemplateWeb Components: Template ● Re-usable HTMLRe-usable HTML ● Only parsed when they are neededOnly parsed when they are needed ● Useful for a large suite of documentsUseful for a large suite of documents
  • 7. Web Components: Custom ElementsWeb Components: Custom Elements ● Extend existing elementsExtend existing elements ● Make your own elementsMake your own elements ● Custom elements must contain a hyphenCustom elements must contain a hyphen ● Name validator:Name validator: – mothereff.in/custom-element-namemothereff.in/custom-element-name
  • 8. Web Components: Shadow DOMWeb Components: Shadow DOM ● An “unseen” DOM attached to an elementAn “unseen” DOM attached to an element ● Encapsulation in HTML:Encapsulation in HTML: – ““private” scopeprivate” scope – independent of global stylesindependent of global styles ● Multiple shadows possibleMultiple shadows possible
  • 9. Shadow DOM:Shadow DOM: createShadowRoot()createShadowRoot()
  • 10. Shadow DOM: renderedShadow DOM: rendered
  • 11. Web Components: More...Web Components: More... w3c.github.io/webcomponentsw3c.github.io/webcomponents html5rocks.comhtml5rocks.com
  • 12. Responsive ImagesResponsive Images ● srcsetsrcset attribute forattribute for <img><img> ● <picture><picture> elementelement ● ““Art direction” is possibleArt direction” is possible ● <img src=”...”><img src=”...”> fallbackfallback
  • 13. Responsive Images:Responsive Images: srcsetsrcset ● For high pixel density screens (e.g. “retina”)For high pixel density screens (e.g. “retina”) <img src="small.jpg"<img src="small.jpg" srcset="small.jpg 1x, large.jpg 2x">srcset="small.jpg 1x, large.jpg 2x">
  • 14. Responsive Images:Responsive Images: <picture><picture> ● With singleWith single <source><source> <picture><picture> <source srcset="small.jpg 1x,<source srcset="small.jpg 1x, large.jpg 2x">large.jpg 2x"> <img src="small.jpg" alt=”Portrait”><img src="small.jpg" alt=”Portrait”> </picture></picture>
  • 15. Responsive Images:Responsive Images: <picture><picture> ● With multiple sizesWith multiple sizes <picture><picture> <source sizes="100%"<source sizes="100%" srcset="pic400.jpg 400w, pic800.jpg 800w>srcset="pic400.jpg 400w, pic800.jpg 800w> <img src="pic400.jpg" alt="Portrait"><img src="pic400.jpg" alt="Portrait"> </picture></picture>
  • 16. Responsive Images:Responsive Images: <picture><picture> ● With multipleWith multiple <source><source> <picture><picture> <source media="(min-width: 600px)"<source media="(min-width: 600px)" srcset="large.jpg">srcset="large.jpg"> <source media="(min-width: 300px)"<source media="(min-width: 300px)" srcset="small.jpg">srcset="small.jpg"> <img src="small.jpg" alt=”Portrait”><img src="small.jpg" alt=”Portrait”> </picture></picture>
  • 17. Responsive Images:Responsive Images: <picture><picture> ● With multiple filetypesWith multiple filetypes <picture><picture> <source type="image/webp"<source type="image/webp" srcset="small.webp, large.webp 2x">srcset="small.webp, large.webp 2x"> <source type="image/jpg"<source type="image/jpg" srcset="small.jpg, large.jpg 2x">srcset="small.jpg, large.jpg 2x"> <img src="small.jpg" alt="Portrait"><img src="small.jpg" alt="Portrait"> </picture></picture>
  • 18. Responsive Images: More...Responsive Images: More... responsiveimages.orgresponsiveimages.org
  • 19. Service WorkerService Worker ● Goodbye ApplicationCacheGoodbye ApplicationCache ● Hello page-independent scriptsHello page-independent scripts ● ProposalProposal – github.com/slightlyoff/ServiceWorkergithub.com/slightlyoff/ServiceWorker
  • 20. Service WorkerService Worker ● Decides how to respond to a URI requestDecides how to respond to a URI request navigator.serviceWorker.register("/assets/v1/worker.js").then(navigator.serviceWorker.register("/assets/v1/worker.js").then( function(serviceWorker) {function(serviceWorker) { console.log("success!");console.log("success!"); serviceWorker.postMessage("Howdy from your installingserviceWorker.postMessage("Howdy from your installing page.");page."); // To use the serviceWorker immediately, you might call// To use the serviceWorker immediately, you might call window.location.reload()window.location.reload() },}, function(why) {function(why) { console.error("Installing the worker failed!:", why);console.error("Installing the worker failed!:", why); });});
  • 21. JSON for form dataJSON for form data ● Currently:Currently: – enctype=”multipart/form-data”enctype=”multipart/form-data” – enctype=”application/x-www-form-urlencoded”enctype=”application/x-www-form-urlencoded” ● New alternative:New alternative: – enctype=”application/json”enctype=”application/json” ● Proposal:Proposal: – http://darobin.github.io/formic/specs/json/http://darobin.github.io/formic/specs/json/
  • 22. Others (your homework)Others (your homework) ● PerformancePerformance – Performance Timeline APIPerformance Timeline API – User Timing APIUser Timing API – Page Visibility APIPage Visibility API ● Push APIPush API ● Resource PrioritiesResource Priorities ● Clipboard APIClipboard API ● Network Service Discovery APINetwork Service Discovery API
  • 23. How you can helpHow you can help ● Community Groups:Community Groups: – w3.org/communityw3.org/community ● Testing:Testing: – github.com/w3c/web-platform-testsgithub.com/w3c/web-platform-tests – testthewebforward.orgtestthewebforward.org ● Documentation:Documentation: – WebPlatform.orgWebPlatform.org
  • 24. The Status of Living HTMLThe Status of Living HTML (highlights)(highlights) Daniel Davis, W3CDaniel Davis, W3C @ourmaninjapan@ourmaninjapan