Ácido nos olhos dos outros é refresco - artigo de Hakon Lie, viking que
inventou o CSS e o browser Opera:
http://news.com.com/The+Acid2+challenge+to+Microsoft/2010-1032_3-5618723.html
>Microsoft has repeatedly promised full support for key Web standards in
>Internet Explorer. Here, with reference to the World Wide Web Consortium
>(W3C), is what the company said in 1998.
>
>(...) To ensure that IE 7 does not become another failed promise, the Web
>community will issue a challenge to Microsoft. We will produce a test
>page, code-named Acid2, that will actively use features Web designers
>crave, such as fixed positioning of elements.
Acid2?
http://webstandards.org/act/acid2/guide.html
>Acid2 is a test page for web browsers published by The Web Standards
>Project (WaSP). (...) Acid2 assumes basic support for HTML4, CSS1, PNG,
>and Data URLs.
No link, pormenorizam todos os detalhes envolvidos no teste. Curiosamente,
o Opera, Firefox e claro, IE, se embanaram em realizar o teste. Firefox
menos que os demais.
Conceito novo pra mim: Data URL. Os "olhos" da imagem usada no teste, é um
arquivo PNG dentro de uma tag object. Mas ao invés do atributo data apontar
a URI do arquivo, temos isto:
<object data="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...CC">
Aonde no lugar dos três pontinhos, haviam uns 10kbytes de código ASCII, que
era o conteúdo de um PNG, imagino.
Oram vejam: Você pode embutir imagens na descrição do HTML. A coisa é
inclusive proposta padronizada
(
http://www.w3.org/TR/html4/struct/objects.html#h-13.3.1). Mas os browsers
não se tocaram para este suporte, pelo que vi.
Agora que vi o Acid2, que fui me tocar que e-mails cujas as imagens estão
anexadas, usam script correlato.
Voltando ao primeiro link:
>As the test name implies, this will be the second acid test put forward
>for Web browsers. The original acid test, created by Todd Fahrner in 1997,
>was instrumental in ensuring interoperability between browsers in their
>CSS1 implementations. The existence of the acid test forced browser
>vendors to fix their implementations or face embarrassment; the test was
>created so that testers could easily see which browsers failed the test.
E termina com um recado:
>To the IE 7 developers, I want to say:
>
>You are smart and talented. You know Web standards as well as anyone. You
>were capable of fixing IE in the past, but your managers didn't let you.
>You now have a new chance to get it right--don't waste it. Download Acid2
>when it's released and get in touch if you think it's unfair for any
>reason. Resist pressure from management to ship before you are done--spend
>the extra time it takes. When they say you can't change how pages are
>rendered as this may "break" pages, tell them about quirks mode and strict
>mode.
>
>Show them that other browsers get it right. Explain how embarrassing it
>will be to release a browser that doesn't live up to community standards
>and that the Mozilla Foundation's Firefox, Apple Computer's Safari and
>Opera will increase their user share as a result.
>
>What you do is important. The Web will thank you for your efforts.
>
>To the Web community I want to say: Microsoft has now been challenged.
>They will respond, if enough people remind them of the challenge. Please
>remind them. And, when IE 7 is released, make sure this is the first thing
>you type into it:
Ei, aposto 1kg de gelo na Microsoft.