Acid2

1 view
Skip to first unread message

Irapuan Martinez

unread,
Apr 13, 2005, 12:38:30 AM4/13/05
to ar...@googlegroups.com
Á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.

Sérgio Rodrigues Giraldo

unread,
Apr 13, 2005, 9:39:32 AM4/13/05
to ar...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Opera tem isto há muuuuito tempo. Divirta-se aqui :

http://simon.incutio.com/archive/2003/08/11/selfContained
http://ln.hixie.ch/?start=1037700423&count=1
http://ln.hixie.ch/?start=1060613891&count=1

On 13/4/2005 01:38, Irapuan Martinez wrote :
|
<snip>
|
| 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.
|
|
<snip>
|
- --
Sérgio Rodrigues Giraldo <ser...@imovelweb.com.br> <http://www.imovelweb.com.br>
+55(11)3242-5600 Ramal 2033
- --
OpenPGP public key : http://pgp.mit.edu:11371/pks/lookup?search=0x025F8160&op=index
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFCXSEUm24ckgJfgWARAh50AJ9Eu2xCT+csasfc+z5JnMt+4xqqlACgm3i7
00Eu7nirURtbryckB6SwWk0=
=SOvf
-----END PGP SIGNATURE-----

Jonas Raoni Soares Silva

unread,
Apr 13, 2005, 12:36:16 PM4/13/05
to ar...@googlegroups.com
On 4/13/05, Sérgio Rodrigues Giraldo <ser...@imovelweb.com.br> wrote:
> Opera tem isto há muuuuito tempo. Divirta-se aqui :
> http://simon.incutio.com/archive/2003/08/11/selfContained
> http://ln.hixie.ch/?start=1037700423&count=1
> http://ln.hixie.ch/?start=1060613891&count=1

legal esse negócio, mas a única vantagem q eu vi é q vc pode anexar
coisas permanentemente as páginas (eh, naum funfou no ie hehe), fora
isso, aumenta demais o tamanho do conteúdo se for algo binário como
imagem ou flash...


--
"ME ALIMENTE [http://br-linux.org/noticias/002750.html] hehe"
"Invente, Tente!!! Faça um código eficiente" (Jonas Raoni haha)

Jonas Raoni Soares Silva
---------------------------
Desenvolvedor de aplicações
jonasraoni at gmail dot com
http://www.joninhas.ath.cx:666

Aldemir Vieira

unread,
May 18, 2005, 11:50:48 PM5/18/05
to ar...@googlegroups.com
Sarafi já resolveu:

http://weblogs.mozillazine.org/hyatt/archives/2005_04.html

2005/4/13, Irapuan Martinez < i...@hypergraph.com.br>:



--
Atc,
Aldemir Vieira
[LutandoPorWaSP.BlogSpot.Com]
[As partes que não continham texto foram removidas, uma questão de simplicidade]
Reply all
Reply to author
Forward
0 new messages