W3Conf

Table of Contents

http://w3conf.org/live.html http://www.w3.org/conf/#presentations http://calvinf.com/blog/2011/11/16/notes-from-w3conf/

W3Conf - Tuesday

Testing to Perfection by @plhw3org

Community Groups: Web Payments @manusporny

  • New community groups
  • Opening the payments process

Developer Resources by @shepazu

http://www.w3.org/2011/Talks/11-schepers-w3conf/

  • w3Fools.com
  • Google's "Ground Up"

http://code.google.com/edu/submissions/html-css-javascript/

  • Opera Web Standards

http://dev.opera.com/articles/wsc/

  • MDN
  • Web Standards Project
  • InterAct Curriculum

CSS3 for Layout Troubles by @divya

Current

What are

  • floats (requires clearing, not content agnostics, only recent clearfix)
  • absolute

Issues

  • breaks on smaller w/o media queries

What is the future?

Genrated Content for Paged

http://www.w3.org/TR/css3-gcpm/

-o-page-x-controls

Is part of the CSS used. Uses a media query of page:

@media paged {
overflow-style: paged-x | page-x-controls 
}

This also applied to

h1, h2 { break-avoid: after  } 
Multiple Columns

http://www.w3.org/TR/css3-multicol/

Has the same control for column-span.

Regions

http://dev.w3.org/csswg/css3-regions/

Set up frow-from block containers.

Can set of up a region query with

@region #main {}

Event:

getRegionsByContentNode

Grid

http://dev.w3.org/csswg/css3-grid-align/

#grid { 
  display: grid;
}

Doesn't need to be in document order.

Also includes a grid template.

grid-template: …

FlexBox

http://dev.w3.org/csswg/css3-flexbox/

body: { 
  display: flexbox;
  flex-pack: center;
  flex-align: cneter;
  width: 100%;
  height: 100%;
}

Recommendations

  • Only use for personal sites or experiments
  • Wrap with feature
  • Use media object

http://www.stubbornella.org/content/2010/06/25/the-media-object-saves-hundreds-of-lines-of-code/

  • Use isotope for complex layout

http://isotope.metafizzy.co/

Web Graphics by @vincenthardy

Raphael example

SVG vs. Canvas

Canvas is imperative example.

Look at pointer events for fill and stroke. Very granular fill and stroke event event management.

Interacting with Multi-media

New work is happening on the audio API.

https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html

SVG also has filter effects for working with video as well.

Integrating

Can integrate by including sgv element with a new canvas element.

  • Don't create dom nodes if we don't want to add interactivity.
  • With SVG there's the cost associated with how often we will need the elements in SVG.
  • Uses toDataUrl on a Canvas.
  • Use offline Canvas.

Frameworks

May polyfill. Simplifies the abstraction. Look for a lively community, support, documentation.

Raphael
Paper.js
Easle.js

Web Performance by @arvindjain

Web Timing API

Navigation Timing

> window.performance.timing

function onLoad() {
  var now = new Date();
        var perceivedLatency = now - window.performance.timing.navigationStart
}

Resource Timing

Allows a way to get individual element timing.

User Timing   msie chrome

Mark and measure functions in the page load.

> window.performance.mark
> window.performance.measure

Won't be available until March 2012.

Performance Timeline   msie chrome

http://www.w3.org/TR/performance-timeline/

> window.performance.getEntries()

Won't be available until March 2012.

Security

  • Same origin policy is used.

Timing-Allow-Origin

  • Proxy exposure
  • Fingerprinting attach

Site could determine the use based on the networking behavior.

TODO Page Visibility API

window.addEventListener('visibilitychange', function() { alert(1); })

Should look at ensuring the bi implementation doesn't mark the page as rendered.

Getting offline with AppCache by @johnallsopp

Just a three-part approach to what should be cached.

TODO Review the FALLBACK directive

Always verify the cache

Don't use app cache during development

Serve with the wrong mime-type during development.

A double refresh is required

First for the cache manifest then for resources.

N-screens problem by @rajeshlalnokia

HTML History

Covers the general ground of HTML to web applications then moving to RIA -> HTML5 -> WebApp; this is part of the discussion around the type of applications taht we want to develop.

TODO Tools

  • Modernizer
  • > jQuery.support

Display: media queries > orientation > viewport > javascript

only screen and (max-width: 480px); handheld

$(document).mediaquery()

Animation: webgl > css3 animation > canvas + js > svg + js

See Modernizer.svg for support…

Audio: open al > audio data > ria audio / Flash > html5 audio

XDR: CORS > proxy > jsonp > Hybrid

> jQuery.support.cors

API: HTML5 API > Polyfills and shimes > js

Polyfills and Shims by @reybango

Web Typography

HTML5

http://dl.dropbox.com/u/39519/talks/html5-foundation/index.html#1

[16:38] <sylvaing> paul irish -> pour shots [16:38] <tantek> oh for a second I thought he was going to say HTML5 trading cards [16:38] <mongillo> out of towners: this awkward silence is known as the "Seattle Freeze". its common and i apologize [16:38] * plh thought this HTML5 thing was about his t-shirt.

History

1997: IE 4 innerHTML

createContetualFragment vs. innerHTML

1999 Gecko

mozInnerHtml

data:text/html <pre contenteditable>x

http://mothereffingunquotedattributes.com

W3Conf - Wednesday

Data Visualization by @mbostock

data driven documents

create the base visual encodings for linear or ordinal (as an example).

Standards-based for

Accessibility by @becka11y

Dojo is used by IBM and there were accessiblity reviews for the widgets.

PhoneGap is under current review by IBM.

http://www.weba11y.com/

Considerations for legal, purchase, regulatory

Still very document-centric

Keyboard binding. Completed in the past for paging.

What testing is really provided.

Accessiblity done in the past. Look at the markup generated in the examples.

Still very server-based

What are the limits for actions that have to be done in the headers. Still would need have the header on the original request.

http://dev.opera.com/articles/view/introduction-to-wai-aria/

Viewer should have server-based prev / next + keyboards

isWindowsHighContrast

role="presentation"

For images with just layout.

Aria Live Regions

Shows when

aria-live="assertive"

"Not much harder to to add an additional work to add an additional element": this discounts the testing costs.

Securing Web Apps by @scottstender and @hillbrad

History

1995 is the basis for much of the security review.

Hash exploit

Trivial example of

simple.html#alert(1)

eval(window.location.hash.split('#')[1])

Just a general case of loaders.

Threat models now need to focus on the client

Testing / verification

<iframe seamless sandbox

jqencoder

w3c

http://www.w3.org/2011/webappsec/

mario heiderich, gareth heys

Touch Events by @ggoodale

var events = ["touchstart", "touchmove", "touchend", "touchcancel"];

document.querySelector('#log').innerHTML = 'events';
for (var event in events) {
        document.querySelector('body').addEventListener(
                events[event],
                function(e) {
                        console.log(e);
                }
        );      
}

HTML5 Gaming by @gskinner

Asset manifests and loading

No actual loading progress.

Sound

SoundJS, SoundManager2

JavaScript (ES5)

Recommend using strict at all times with freeze and seal.

JavaScript tools

Closure tools.

webstorm. http://www.jetbrains.com/webstorm/

haxe, coffeescript, jangaroo

Modernizr by @kurafire

Browsers and Standards

Browser release of new tech

  • WEBP
  • SPDY
  • DART

Resources

  • caniuse.com
  • MDN

Outcomes

Rich applications need to be mocked and validated in HTML for ARIA

http://dev.w3.org/html5/markup/aria/aria.html

This isn't really a front-end considerations: plan for purely static implementation of core features that allow no Ajax functionality but includes metadata, link rel, ARIA.

Input sanitizing and validation would need to be built with RIA

Will need to build this internally if not using a library.

UI Toolkit Options

dependency managment

namespacing

inheritence management

widgets / ui patterns

accessibility

encoding

shims and polyfills

Progressive enhancement, graceful degredation.

model support

data binding

sockets support

local storage abstractions

cross-domain communication, CORS

WebRTC (http://www.webrtc.org/), postMessage,

Author: Jason Walsh

j@wal.sh

Last Updated: 2025-07-30 13:45:27

build: 2025-12-23 09:11 | sha: a10ddd7