Skip to content

Commit

Permalink
chore(pt-br): remove {{ObsoleteGeneric}} macros (mdn#10757)
Browse files Browse the repository at this point in the history
Co-authored-by: Josiel Rocha <[email protected]>
  • Loading branch information
yin1999 and josielrocha authored Jan 8, 2023
1 parent 848d0f0 commit aba908d
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 23 deletions.
2 changes: 1 addition & 1 deletion files/pt-br/web/html/element/br/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Não use \<br> para aumentar o espaço entre as linhas de texto; para isso use a

Este elemento inclue os [Atributos globais](/pt-BR/docs/HTML/Global_attributes).

- {{htmlattrdef("clear")}} {{deprecatedGeneric('inline','HTML4.01')}} {{obsoleteGeneric('inline','HTML5')}}
- {{htmlattrdef("clear")}} {{Deprecated_Inline}}

- : Indica onde começar a próxima linha depois da quebra.

Expand Down
10 changes: 5 additions & 5 deletions files/pt-br/web/html/element/hr/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ O **elemento HTML `<hr>`** representa uma quebra temática entre elementos de n

Este elemento inclui os [atributos globais](/pt-BR/docs/HTML/Global_attributes).

- {{htmlattrdef("align")}} {{deprecatedGeneric("inline","HTML4.01")}} {{obsoleteGeneric("inline","HTML5")}}
- {{htmlattrdef("align")}} {{deprecated_inline}} {{Non-standard_Inline}}
- : Define a regra de alinhamento na página. Se nenhum valor for especificado, o valor padrão é `left`.
- {{htmlattrdef("color")}} {{Non-standard_inline}}
- {{htmlattrdef("color")}} {{Deprecated_Inline}} {{Non-standard_inline}}
- : Denife a regra da cor através do nome da cor ou um valor hexadecimal.
- {{htmlattrdef("noshade")}} {{deprecatedGeneric("inline","HTML4.01")}} {{obsoleteGeneric("inline","HTML5")}}
- {{htmlattrdef("noshade")}} {{deprecated_inline}} {{Non-standard_Inline}}
- : Deine a regra para não ter sombreamento.
- {{htmlattrdef("size")}} {{deprecatedGeneric("inline","HTML4.01")}} {{obsoleteGeneric("inline","HTML5")}}
- {{htmlattrdef("size")}} {{deprecated_inline}} {{Non-standard_Inline}}
- : Denife a altura, em pixels.
- {{htmlattrdef("width")}} {{deprecatedGeneric("inline","HTML4.01")}} {{obsoleteGeneric("inline","HTML5")}}
- {{htmlattrdef("width")}} {{deprecated_inline}} {{Non-standard_Inline}}
- : Define a regra de comprimento na página através de um valor em pixel ou porcentagem.

## Exemplo
Expand Down
4 changes: 2 additions & 2 deletions files/pt-br/web/html/element/html/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ O elemento **HTML \<html> **(ou _HTML root element_) representa a raiz de um HTM

Esse elemento inclui os [atributos globais](/pt-BR/docs/HTML/Global_attributes).

- {{htmlattrdef("manifest")}} {{HTMLVersionInline(5)}}
- {{htmlattrdef("manifest")}} {{deprecated_inline}} {{Non-standard_Inline}}
- : Especifica a URI de um recurso manifest indicando os recursos que devem ser carregados na memória local. Veja [Recursos offline em Firefox](/pt-BR/docs/HTML/Using_the_application_cache) para detalhes.
- {{htmlattrdef("version")}} {{deprecatedGeneric('inline','HTML4.01')}} {{obsoleteGeneric('inline','HTML5')}}
- {{htmlattrdef("version")}} {{deprecated_inline}}
- : Especifica a versão da definição de tipo de documento HTML que governa o documento atual. Esse atributo não é necessário, porque é redundante com a informação de versão na declaração de tipo de documento.

## Exemplo
Expand Down
22 changes: 11 additions & 11 deletions files/pt-br/web/html/element/img/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ O **elemento** **HTML `<img>` **(or _HTML Image Element_) representa a inserçã

Este Elemeto inlcui o [atributo global](/pt-BR/docs/Web/HTML/Global_attributes).

- {{htmlattrdef("align")}} {{deprecatedGeneric('inline','HTML4.01')}}, {{obsoleteGeneric('inline','HTML5')}} Use the {{cssxref('vertical-align')}} CSS property
- : The alignment of the image with respect to its surrounding context.
- {{htmlattrdef("align")}} {{deprecated_inline}}
- : The alignment of the image with respect to its surrounding context. Use the {{cssxref('vertical-align')}} CSS property.
- {{htmlattrdef("alt")}}

- : Este atributo define um texto alternativo que descreve a imagem. Os Usuários irão ver o texto se a URL da imagem estiver errado, a imagem não está em um dos [formatos suportados](#supported_image_formats) ou até a imagem ser baixada .

> **Note:** **Usage note:** Omitting this attribute indicates that the image _is_ a key part of the content, but no textual equivalent is available. Setting this attribute to the empty string indicates that this image is _not_ a key part of the content; non-visual browsers may omit it from rendering.
- {{htmlattrdef("border")}} {{deprecatedGeneric('inline','HTML4.01')}}, {{obsoleteGeneric('inline','HTML5')}}
- {{htmlattrdef("border")}} {{deprecated_inline}}
- : The width of a border around the image.
- {{htmlattrdef("crossorigin")}} {{HTMLVersionInline(5)}}
- {{htmlattrdef("crossorigin")}}

- : This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. [CORS-enabled images](/pt-BR/docs/CORS_Enabled_Image) can be reused in the {{HTMLElement("canvas")}} element without being _tainted_. The allowed values are:

Expand All @@ -52,21 +52,21 @@ Este Elemeto inlcui o [atributo global](/pt-BR/docs/Web/HTML/Global_attributes).

- {{htmlattrdef("height")}}
- : The height of the image in {{HTMLVersionInline(5)}} CSS pixels, or {{HTMLVersionInline(4)}} in pixels or as a percentage.
- {{htmlattrdef("hspace")}} {{deprecatedGeneric('inline','HTML4.01')}}, {{obsoleteGeneric('inline','HTML5')}}
- {{htmlattrdef("hspace")}} {{deprecated_inline}}
- : The number of pixels of white space to insert to the left and right of the image.
- {{htmlattrdef("ismap")}}

- : This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.

> **Note:** **Usage note:** This attribute is allowed only if the `<img>` element is a descendant of an {{htmlelement("a")}} element with a valid {{htmlattrxref("href","a")}} attribute.
- {{htmlattrdef("longdesc")}}{{HTMLVersionInline(4)}} only
- : The URL of a description of the image to be displayed, which supplements the **alt** text. In {{HTMLVersionInline(5)}}, use a regular {{HTMLElement("a")}} element to link to the description.
- {{htmlattrdef("name")}} {{deprecatedGeneric('inline','HTML4.01')}}, {{obsoleteGeneric('inline','HTML5')}}
- : A name for the element. It is supported in {{HTMLVersionInline(4)}} only for backward compatibility. Use the **id** attribute instead.
- {{htmlattrdef("longdesc")}} {{deprecated_inline}}
- : A link to a more detailed description of the image. Possible values are a {{glossary("URL")}} or an element {{htmlattrxref("id")}}.
- {{htmlattrdef("name")}} {{deprecated_inline}}
- : A name for the element. Use the {{htmlattrxref("id")}} attribute instead.
- {{htmlattrdef("src")}}
- : Image URL, this attribute is obligatory for the `<img>` element. On browsers supporting **srcset**, **src** is ignored if this one is provided.
- {{htmlattrdef("srcset")}}{{HTMLVersionInline(5)}}
- {{htmlattrdef("srcset")}}

- : A list of one or more strings separated by commas indicating a set of possible images for the user agent to use. Each string is composed of:

Expand All @@ -85,7 +85,7 @@ Este Elemeto inlcui o [atributo global](/pt-BR/docs/Web/HTML/Global_attributes).

> **Note:** **Usage note:** You cannot use this attribute if the `<img>` element is a descendant of an {{htmlelement("a")}} or {{HTMLElement("button")}} element.
- {{htmlattrdef("vspace")}} {{deprecatedGeneric('inline','HTML4.01')}}, {{obsoleteGeneric('inline','HTML5')}}
- {{htmlattrdef("vspace")}} {{deprecated_inline}}
- : The number of pixels of white space to insert above and below the image.

## Formato de imagens suportadas
Expand Down
4 changes: 0 additions & 4 deletions files/pt-br/web/html/element/input/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ Este elemento inclui os [atributos globais](/pt-BR/docs/HTML/Atributos_globais).
- `video/*` representando arquivos de vídeo {{HTMLVersionInline("5")}}
- `image/*` representando arquivos de imagem {{HTMLVersionInline("5")}}

- {{htmlattrdef("accesskey")}} {{HTMLVersionInline(4)}} only, {{obsoleteGeneric("inline", "HTML5")}}
- : Um único caractere que o usuário pode pressionar para mudar o foco de entrada de dados para este controle. Este atributo é global no HTML5.
- {{htmlattrdef("mozactionhint")}} {{non-standard_inline}}
- : Especifica uma "dica de ação" usada para determinar como rotular a tecla Enter em dispositivos móveis com teclados virtuais. Os valores suportados são `go`, `done`, `next`, `search` e `send`; estes valores são automaticamente mapeados para o texto apropriado (maiúsculas e minúsculas não são diferenciadas).
- {{htmlattrdef("autocapitalize")}} {{non-standard_inline}}
Expand Down Expand Up @@ -205,8 +203,6 @@ Este elemento inclui os [atributos globais](/pt-BR/docs/HTML/Atributos_globais).
- : Trabalha junto com os atributos **min** e **max** para limitar os incrementos em que valores numéricos ou datas podem ser alterados. Seu valor pode ser `any` ou um número de ponto flutuante positivo. Se o valor não for `any`, o controle aceita somente valores múltiplos valor do incremento maiores que o mínimo.
- {{htmlattrdef("tabindex")}} element-specific in {{HTMLVersionInline(4)}}, global in {{HTMLVersionInline("5")}}
- : A posição do elemento na ordem de navegação pela tecla Tab no documento atual.
- {{htmlattrdef("usemap")}} {{HTMLVersionInline(4)}} only, {{obsoleteGeneric("inline", "HTML5")}}
- : O nome de um elemento {{HTMLElement("map")}} para ser usado como um mapa de imagem.
- {{htmlattrdef("value")}}
- : O valor inicial do controle. Este atributo é opcional exceto quando o valor do atributo **type** for `radio` ou `checkbox`.
Note que, quando a página é recarregada, Gecko and IE [ignorarão o valor especificado no código HTML](https://bugzilla.mozilla.org/show_bug.cgi?id=46845#c186) se o valor tiver sido alterado antes do recarregamento.
Expand Down

0 comments on commit aba908d

Please sign in to comment.