HTML never required an <html>, <head> or <body> element (only XHTML validators did). So if you open test 1 in any browser and view source you’ll see those three elements aren’t in the source. But if you inspect the DOM with any inspection tool, you’ll the browser has inserted those elements.
How does the browser know where to close the <head> and open the <body>? Test 2 shows a page that contains a <vomitingotter> element. This isn’t offcially part of HTML yet (hurry up Hixie!). There is no <body> element in the source, but the browser knew to leave the <title> and <meta charset> in the head and add the <vomitingotter> element into the <body> (which is why you can actually see its contents; by default, no text in the <head> makes its way into the visible page.)
Simply, the first element that isn’t known to be part of the <head> makes the browser close the <head> and open the <body>. So if it’s not recognised as metadata content (<base>, <link>, <meta>, <noscript>, <script>, <style>, <template>, <title>) it goes in the body. Any subsequent “head” elements remain in the <body>; they aren’t restored into the head (see the DOM of test 3), even if you explicitly wrap them in <html>, <head> and <body> elements in the original source – see test 4.
This doesn’t investigate the bigger question of why Apple – who invented the viewport meta tag – decided to add it to HTML at all. After all, HTML is about content and the viewport information is about styling, and would therefore be more appropriately be declared in CSS. I don’t know the answer to that, except that Apple knows best about everything.
Don’t use <picture> (most of the time) by Jason Grigsby. TL;DR: if you just want resolution switching (smaller image to non-“retina” devices, big image only to high-dpi screens), just use <img src="lores.jpg" srcset="hires.jpg 2x">
Support the independents “If you use a product that has a free version and a paid version, paying out for that “pro” or commercial license even if perhaps you could get away with not doing so, puts cash into the company, helps to ensure the survival and development of the product” says Rachel Andrew.
EXTRA LULZ: Even Apple didn’t want my iPhone 6 Plus – unusual satire piece from The Verge, spoofing a cryPhone user whose emotional rollercoaster (caused by the new device being slightly bigger than his other one, which is why he bought it) culminates with the hilarious “I spent all this money on something that I thought would make me happy, and instead I felt like trash”. Genius.
Web Components punch list – “Considerations for web component and custom control design: If your control has the stuff below covered, excellent! If not then please implement it before shouting to the world about it being the next big thing.” by Steve Faulkner
Brum Tech Scene – On Monday, Stuart Langridge launched a series of interviews and conversations with interesting people doing interesting things in the Birmingham tech community. First is Simon Jenner, Head of Oxygen Startups and co-founder of Silicon Canal. He videoed me, too; coming soon.
Who is “Joe Developer”? asks @johnfoliot. The background is the “living standards” vs “W3C snapshot” holy war. It’s a good question.
What next for HTML? – now HTML5 is a W3C Proposed Recommendation, how should the language be further developed? Put your questions to editor Robin Berjon for an HTML5 Doctor interview
The URL mess on the competing standards for defining how URLs work, by Larry Masinter
I was lucky enough to visit Berlin very briefly for the Extensible Web Summit. It was organised, it seems, by members of W3C (but was not an officially branded W3C) and hosted by Beuth University, Berlin. Lunch was provided by Google, beers afterwards by Yandex (although I missed those as I’d taken the inexplicable decision to fly back straight after rather than hobnob with the great, the good, and Chaals.) Thanks to all organisations.
This isn’t a record of the day; the event notes were crowd-scribed. It’s my preliminary thoughts about the concept of the “extensible web”.
As far as I can deduce – because the term “extensible web” wasn’t actually defined on the day – it’s about giving/ exposing primitives so developers can extend various parts of the platform. (Read The Extensible Web Manifesto for a longer description and statement of intent.)
In the current world, we wait for something like Appcache to be specified, then implemented and then scoffed at. This can take a long time, and we might not get what we want; Hixie told me “The appcache API is another big mistake. It’s the best example of not understanding the problem before designing a solution … Appcache works great if you want to do what it was designed for, but it turns out most people want to do something different enough that appcache feels horrible to them”.
But while it’s good to explain magic, I feel we need to be careful about using the word “magic” pejoratively. A lot of the success of the Web was that simple HTML tags (<a>, <input>) made magic happen. You write <img src=”vomiting-otter.jpg”> and a vomiting otter appears; you don’t need to worry about how it gets there over the network, its caching, its format, etc. Similar with <input> – you just code a reasonably obvious word in angle brackets and it works.
As Steve Faulkner notes, a lot of the success of accessibility on the Web is/was that simple HTML elements makes accessibility happen.
Service Workers, and the spec that I’ve been closer to, <picture>, are great examples of listening to developers (partnership). Service Worker came out of a meeting between Opera, Mozilla, Google, BBC, Financial Times etc and was specified by Google, Mozilla and Samsung (and many others). <picture> came about because developers demanded it, even when the browser vendors and standards bodies didn’t care.
How can developers make their voices heard? It’s true that browser vendors are OBSESSED with solving developer’s problems. If we don’t, you’ll make native apps, and then browsers disappear, we default on our mortgages, our partners leave us for Apple employees and our hamsters starve. None of us want this to happen. So we try to listen.
Then there is the question of how developers can participate. The bravery barrier to entry for many of the mailing lists is already too high – I periodically get emails from people asking me to propose a feature or ask a question on a list as a proxy because lists are scary places.
W3C has set up a Specification forum where you can ask questions about specs/ propose a feature. Read around it to see if anyone else has a similar proposal, and if appropriate, add comments to that before you set up a new thread. Use Mozilla’s guidelines WebAPI Design Guidelines and please remember that use-cases are much better than a fully-worked out proposed syntax.
I’m enthused about the Extensible Web manifesto and the progress we’ve already made, eg baking popular jQuery-like syntax into browser engines via the Selectors API, getting our hands on the network with Service Worker, and the heady new world of Web Components. We need to ensure that all devs who want to can participate by allowing ease of collaboration, courteous discourse. And it would be perilous to forget that the declarative web reduces the barrier to entry and enhances accessibility.
OS Battle – Porn by the Platform – “11% of Pornhub desktop users arrive using Apple’s Mac OSX while Net Applications reports that only 6.64% of desktop computers currently run OSX.” (No naughty images, but maybe NSFW if your boss is silly.)
Here’s the eulogy I delivered at my Dad’s funeral last Thursday.
Jeff Lawson, or (“Grandpa Fifi” as my kids called him, as when they were little they couldn’t pronounce “Jeffrey”) was born on D-day to Jim and Elsie. He spent his first few years with his brother Colin up in the North East for a while. One of his earliest memories was of running away from home, and getting on a bus to go and live with his Auntie, who spanked him and immediately put him back on the return bus. When his father retired, the four of them moved way down south to Southampton where he mostly lost his Geordie accent, although it returned after a few on the rare occasions when he’d had too many glasses of beer.
As a teenager in Southampton he developed a love of music, also shared with his younger brother Colin, and won a twist competition at the hop in the early 60s. In your order of service, you’ll see photograph of him and Colin’s wife Barbara shaking their booties at Jeff’ 60th birthday party.
He was the first Lawson male for generations not be a coal miner, and moved to London to join the civil service. After some time being generally groovy (see the photos in your Order of Service), he met Anthea and they married, honeymooning by being posted by the Civil Service to Aden, South Yemen, where I was born precisely 8 months to the day after the wedding. (They told their parents that I was premature).
On returning to the UK, they lived in Hastings where Guy was born, and then they moved to Birmingham where he and Anthea brought us up. Times were hard, so family meals were supplemented with home-grown vegetables that were planted in Party 7 beer cans, empty 7 pint beer cans that spontaneously appeared in the kitchen over the weekend.
Guy remembers that, when he would walk us home from the bus stop where we’d meet him after work, he’d always discover a stash of sweets hidden in the undergrowth somewhere by a mysterious person known as the Magic Man, whose identity is still unknown to this day.
We remember his proud acquisition of a music centre in the 1970s, where he would listen to ELO, Abba and Alma Cogan through headphones and “sing” along.
His singing style was unique – he never believed changing pitch was as important as maintaining a high decibel count. He nevertheless never tired of telling his family that some young girl had once told him he had a lovely voice. And so he had – when he wasn’t singing.
An example of his non-singing voice was when he had to go to a training course in Edinburgh, and he recorded a series of stories about an Octopus named Oscar on his cassette player for them to listen to every night before bed during his absence.
Jeff worked for many years for the Civil Service as a Welfare Officer – a kind of staff counsellor – along with John who later became his next-door neighbour. In his spare time he used to enjoy music, gardening and amateur dramatics, as well as brewing foul-tasting but strong beer.
Tim, a schoolfriend of ours, recalls “Saturday afternoon, I’d peddled to your house to find you and your dad sat in the back garden “testing” the home brew. I remember it getting very giggly. I think we had about 3 or 4 pints each. Guy had to go to bed after 2 pints”. On his way home, Tim was arrested for being drunk in charge of a bicycle. Two other friends of mine crashed their bicycles into a steel gate on a building site – there was no fence around it, just a free-standing gate.
In the late 80s, Jeff separated from Anthea and moved to London, settling in Eltham with his new partner, Big Bruce (so named because I’m “little Bruce”) and his dog Digger of which he was exceptionally fond.
Jeff found life as a Civil Servant dis-spiriting, although he loved the Royal Parks that he helped administer. So, as soon as he could, aged 50, he retired and the last 20 years of his life were full of activity – caring for his mother, Elsie, who moved in with him, holidays (lots of holidays!), acting and directing at the Bob Hope Theatre, listening to children read at a local school, judging gardens and volunteering to use his counselling skills at Stepping Stones, a support service for those with life-limiting illnesses at Greenwich & Bexley Hospice. Ann from Stepping Stones wrote to us saying “we have so many wonderful memories of him over many years working together – in his easter bonnet and dressed up for Christmas and yet so sensitive and compassionate with all our users.”
Four years ago, the day after his mother’s funeral here, Jeff had heart surgery to replace a valve. Once he’d recovered from that, he took us all to a large villa in France where we spent a lovely summer holiday – although the restaurant meals meant he couldn’t indulge his love on elaborate and detailed menu planning.
He remained healthy for most of his retirement – as recently as Christmas he was at our house with Anthea and her new husband for Xmas dinner, and – although he was suffering from leg pain that made it difficult for him to walk – treated the family to a weekend at Centreparcs in June for his 70th birthday. After his admission to hospital, he was still texting Guy and me to arrange to visit Centreparcs again at Easter next year “when I’m better”.
His death was sudden – he’d been discharged from hospital. We were on holiday at the time, at a place he recommended, and using a map he’d sketched for us. We didn’t cut the holiday short; he’d have hated us to, especially as Dalyan was special to him.
We’re comforted by the fact that it was sudden, swift and at home; he was a private man who hated to be seen frail and would have hated to “become a burden” as he would have put it.
We remember him with love, and are grateful that you are all here to do that with us.
Opera Mini for Android delays large downloads until you’re on WiFi – ” Opera Mini detects if you are downloading a file that is larger than 15MB, then asks if you want to download it now or wait until you are on WiFi. Later, when you get to your favorite coffee spot and connect to WiFi, Opera Mini will resume the download and notify you when it’s all done.”
10 Questions: Lars Boilesen, CEO, Opera – Fortune magazine. “We at Opera want to help ensure that this industry is not dominated by a few large players. We want to secure the industry by being an independent player.”
The whole point of education is to prepare kids for life, so you have to tell them about stuff first (hint: that’s what “prepare” means.)
Sex education results in fewer sexually transmitted diseases and fewer unwanted pregnancies. This is not only good for the people involved, but is better for the whole nation – which makes it excellent public policy.
However, “parents will retain the right to pull children under 15 out of sex education lessons” according to the Daily Mail. Why? Do we let them take kids out of Maths or Geography classes?
There should be no opt-out from parents trying to foist their religion or sexual hangups onto their children. Education > indoctrination.
I really enjoy Brian Patten’s love poetry; he writes of joy and sadness and how the two can mingle, while never using words that you wouldn’t hear in an everyday conversation. He’s the only living poet whose works I regularly raid for my song lyrics. So when my battered old copy of his Love Poems fell apart, I invested in a shiny copy of his new Collected Love Poems.
Curiously, in a volume called “Collected Poems”, one of them is missing. It was in “Love Poems”, substantially revised from a previously published version, and revised for the better. But I can only assume Patten was still dissatisfied and so dropped it.
Because I’m talking online to some people about his poems (and who have bought his newest book on my recommendation), I’m copying the poem here so they have the text. Brian – if you want me to remove it, I will. But I think you’re mistaken; it’s a lovely piece. (And, sorry, but I stole the blue dress image for an unrecorded song called “The girl in the room”.)
The fruitful lady of dawn
She walks across the room and opens the skylight
thinking: “perhaps a bird will drop in
and teach me how to sing.”
She cannot speak easily of what she feels
nor can she fathom out
whose dawn her heart belongs in.
Among the men she knows
she knows few
who understand her freedom.
Baffled by her love and by
how she withdraws her love,
she remains an enigma,
and under the skylight
puts on her red dress calling it a blue one.
She approaches breakfast as she would a lover -
She is alive,
and one of her body’s commonest needs
I have made holy.