From 1dc3d721e3b43d4ddaa52e0c3f6ffb81ec2088ed Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Mon, 2 Aug 2021 18:03:13 -0400 Subject: remove link 'title' attributes that's just the 'href' (pt-br, part 5) (#1849) --- files/pt-br/glossary/fuzzing/index.html | 6 +++--- files/pt-br/glossary/json/index.html | 2 +- files/pt-br/glossary/speculative_parsing/index.html | 2 +- files/pt-br/glossary/xhtml/index.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'files/pt-br/glossary') diff --git a/files/pt-br/glossary/fuzzing/index.html b/files/pt-br/glossary/fuzzing/index.html index 3c57581b4e..9593eb3c29 100644 --- a/files/pt-br/glossary/fuzzing/index.html +++ b/files/pt-br/glossary/fuzzing/index.html @@ -14,7 +14,7 @@ original_slug: Glossario/Fuzzing

O Fuzzing é uma técnica para testar o software usando ferramentas automáticas para fornecer entradas inválidas ou inesperadas para um programa ou função em um programa, logo verificando os resultados para ver se o programa falha ou age de forma inapropriada. Essa é uma forma importante para garantir que o software está estável, confiável e seguro, e nós usamos muito o fuzzing no Mozilla.

diff --git a/files/pt-br/glossary/json/index.html b/files/pt-br/glossary/json/index.html index b28fbbcbd9..2f6f6af92b 100644 --- a/files/pt-br/glossary/json/index.html +++ b/files/pt-br/glossary/json/index.html @@ -66,7 +66,7 @@ original_slug: JSON

Ferramentas

diff --git a/files/pt-br/glossary/speculative_parsing/index.html b/files/pt-br/glossary/speculative_parsing/index.html index 3a6c4495ff..12e4125574 100644 --- a/files/pt-br/glossary/speculative_parsing/index.html +++ b/files/pt-br/glossary/speculative_parsing/index.html @@ -18,7 +18,7 @@ original_slug: Web/HTML/Optimizing_your_pages_for_speculative_parsing
  • Don't write an unfinished token. <script>document.write("<div></div");</script> is bad.
  • Don't finish your writing with a carriage return. <script>document.write("Hello World!\r");</script> is bad. <script>document.write("Hello World!\n");</script> is OK.
  • Note that writing balanced tags may cause other tags to be inferred in a way that makes the write unbalanced. E.g. <script>document.write("<div></div>");</script> inside the head element will be interpreted as <script>document.write("</head><body><div></div>");</script> which is unbalanced.
  • -
  • Don't let the semicolon of a named character reference be the last thing that is written. Due to a bug in Firefox 4 though 10 (fixed in Firefox 11), <script>document.write("foo&nbsp;");</script> causes a speculation failure. However, <script>document.write("&nbsp;foo");</script> is OK.
  • +
  • Don't let the semicolon of a named character reference be the last thing that is written. Due to a bug in Firefox 4 though 10 (fixed in Firefox 11), <script>document.write("foo&nbsp;");</script> causes a speculation failure. However, <script>document.write("&nbsp;foo");</script> is OK.
  • Don't format part of a table. <table><script>document.write("<tr><td>Hello World!</td></tr>");</script></table> is bad. However, <script>document.write("<table><tr><td>Hello World!</td></tr></table>");</script> is OK.
  • TODO: document.write inside other formatting elements.
  • diff --git a/files/pt-br/glossary/xhtml/index.html b/files/pt-br/glossary/xhtml/index.html index dbef6b8ffc..862d654582 100644 --- a/files/pt-br/glossary/xhtml/index.html +++ b/files/pt-br/glossary/xhtml/index.html @@ -46,7 +46,7 @@ Content-Type: application/xhtml+xml

    Tipo MIME contra DOCTYPE

    -

    Antes do HTML5, as duas sintaxes eram definidas por duas especificações diferentes: HTML 4.01 e XHTML 1.0. O padrão XHTML1 afirma que você poderia usar XHTML declarando um DOCTYPE especial. Porém, isso nunca foi implementado por nenhum navegador,e tem sido trocado pelo padrão HTML5. Se sua página é enviada como text/html, você não pode usar XHTML.

    +

    Antes do HTML5, as duas sintaxes eram definidas por duas especificações diferentes: HTML 4.01 e XHTML 1.0. O padrão XHTML1 afirma que você poderia usar XHTML declarando um DOCTYPE especial. Porém, isso nunca foi implementado por nenhum navegador,e tem sido trocado pelo padrão HTML5. Se sua página é enviada como text/html, você não pode usar XHTML.

    Observe que o tipo MIME deve ser declarado no Content-Type HTTP header. Se você apenas inseriu a meta tag no HTML como <meta http-equiv=…>, ele será ignorado e tratado como text/html.

    -- cgit v1.2.3-54-g00ecf