From 28b935d9dca4bb27b8f53b4f211c004e233f52e4 Mon Sep 17 00:00:00 2001
From: Peter Bengtsson Obviously you can style the new button for opening the file picker as you wish. If your input field was created using a JavaScript library such as jQuery, you'll need to use {{ domxref("element.addEventListener()") }} to add the If your input field was created using a JavaScript library such as jQuery, you'll need to use {{ domxref("element.addEventListener()") }} to add the Um uma propriedade do manipulador de eventos da janela para eventos com o botão direito do mouse. A menos que o comportamento padrão do navegador seja bloqueado (veja exemplos abaixo sobre como fazer isso), o menu de contexto do navegador irá ser ativado (apesar do IE8 ter um bug com ele e não irá ativar o menu de contexto se o manipulador de eventos contextmenu for definido). Note que este evento irá acontecer com qualquer evento não-desabilitado do botão direito do mouse e não depende de um elemento que contenha o atributo "contextmenu". Um uma propriedade do manipulador de eventos da janela para eventos com o botão direito do mouse. A menos que o comportamento padrão do navegador seja bloqueado (veja exemplos abaixo sobre como fazer isso), o menu de contexto do navegador irá ser ativado (apesar do IE8 ter um bug com ele e não irá ativar o menu de contexto se o manipulador de eventos contextmenu for definido). Note que este evento irá acontecer com qualquer evento não-desabilitado do botão direito do mouse e não depende de um elemento que contenha o atributo "contextmenu". Firefox: não há limite no tamanho do banco de dados. A interface do usuário irá apenas pedir a permissão para armazenar conjuntos com tamanho maior que 50mb. Este limite de tamanho pode ser customizado através da preferência dom.indexedDB.warningQuota (que é definida em http://mxr.mozilla.org/mozilla-central/source/modules/libpref/src/init/all.js). Firefox: não há limite no tamanho do banco de dados. A interface do usuário irá apenas pedir a permissão para armazenar conjuntos com tamanho maior que 50mb. Este limite de tamanho pode ser customizado através da preferência dom.indexedDB.warningQuota (que é definida em http://mxr.mozilla.org/mozilla-central/source/modules/libpref/src/init/all.js). Google Chrome: veja https://developers.google.com/chrome...rage#temporary Se você estiver especificando um gradient como plano de fundo e tiver especificado um Se você estiver especificando um gradient como plano de fundo e tiver especificado um 4.0 but the implementation known bugs on Windows and Linux which can break font substitition, small-caps, letter-spacing or cause text to overlap 4.0 but the implementation known bugs on Windows and Linux which can break font substitition, small-caps, letter-spacing or cause text to overlap Blob Sallad: an interactive blob using javascript and canvas (code demos) Blob Sallad: an interactive blob using javascript and canvas (code demos) miniPaint: Image editor (source code) 3D objects demo (interactive) Blobular (interactive) Blobular (interactive) Video embedded in SVG (or use the local download) This value can be overridden by a {{htmlattrxref("formmethod", "button")}} attribute on a {{HTMLElement("button")}} or {{HTMLElement("input")}} element. O padrão HTML não fornece uma lista de formatos de imagem que devem ser suportados, portanto, cada agente de usuário oferece suporte a um conjunto diferente de formatos. Gecko suporta: Como todos os outros elementos HTML, este elemento tem os atributos globais (global attributes) Como todos os outros elementos HTML, este elemento tem os atributos globais (global attributes) {{HTMLSidebar("Global_attributes")}} Os atributos globais data-* formam uma classe de atributos conhecida como custom data attributes, a qual permite que informações proprietárias sejam trocadas via script entre o HTML e sua representação DOM . Todos esses dados personalizados estão disponíveis através da interface {{domxref("HTMLElement")}} do elemento, onde o atributo está definido. A propriedade {{domxref("HTMLElement.dataset")}} concede acesso a estes atributos .
diff --git a/files/pt-br/web/api/eventtarget/addeventlistener/index.html b/files/pt-br/web/api/eventtarget/addeventlistener/index.html
index 00d38880bf..1969b6737d 100644
--- a/files/pt-br/web/api/eventtarget/addeventlistener/index.html
+++ b/files/pt-br/web/api/eventtarget/addeventlistener/index.html
@@ -21,7 +21,7 @@ original_slug: Web/API/Element/addEventListener
EventListener
, ou simplesmente executar uma função JavaScript.useCapture
{{ optional_inline() }}true
, useCapture
indica que o usuário deseja iniciar uma captura. Depois de iniciada a captura, todos os eventos do tipo especificado serão enviados à listener
registrada antes de serem enviados à qualquer EventTarget
abaixo dela na hierarquia de DOMs. Eventos que borbulharem para cima na hierarquia não acionarão a escuta designada a usar a captura. Veja Eventos DOM Nível 3 para uma explicação detalhada. Perceba que esse parâmetro não é opcional em todos os navegadores. Se não for especificado, useCapture
é false
.true
, useCapture
indica que o usuário deseja iniciar uma captura. Depois de iniciada a captura, todos os eventos do tipo especificado serão enviados à listener
registrada antes de serem enviados à qualquer EventTarget
abaixo dela na hierarquia de DOMs. Eventos que borbulharem para cima na hierarquia não acionarão a escuta designada a usar a captura. Veja Eventos DOM Nível 3 para uma explicação detalhada. Perceba que esse parâmetro não é opcional em todos os navegadores. Se não for especificado, useCapture
é false
.wantsUntrusted
{{ Non-standard_inline() }}true
, o evento pode ser acionado por conteúdo não-confiável. Veja Interação entre páginas com e sem privilégios.
this
nos manipuladores de eventosthis
nos manipuladores de eventosEspecificação
-
diff --git a/files/pt-br/web/api/file/using_files_from_web_applications/index.html b/files/pt-br/web/api/file/using_files_from_web_applications/index.html
index 21c3712db5..0ac79aa0bc 100644
--- a/files/pt-br/web/api/file/using_files_from_web_applications/index.html
+++ b/files/pt-br/web/api/file/using_files_from_web_applications/index.html
@@ -30,7 +30,7 @@ fileSelect.addEventListener("click", function (e) {
Dynamically adding a change listener
-change
event listener, like this:change
event listener, like this:var inputElement = document.getElementById("inputField");
inputElement.addEventListener("change", handleFiles, false);
diff --git a/files/pt-br/web/api/globaleventhandlers/oncontextmenu/index.html b/files/pt-br/web/api/globaleventhandlers/oncontextmenu/index.html
index 5649c6671f..d8ddbb71f0 100644
--- a/files/pt-br/web/api/globaleventhandlers/oncontextmenu/index.html
+++ b/files/pt-br/web/api/globaleventhandlers/oncontextmenu/index.html
@@ -10,7 +10,7 @@ translation_of: Web/API/GlobalEventHandlers/oncontextmenu
---
Sintaxe
diff --git a/files/pt-br/web/api/htmlcollection/index.html b/files/pt-br/web/api/htmlcollection/index.html
index 6a887364f9..4b25a913e3 100644
--- a/files/pt-br/web/api/htmlcollection/index.html
+++ b/files/pt-br/web/api/htmlcollection/index.html
@@ -56,8 +56,8 @@ elem1 = document.forms["named.item.with.periods"];Especificações
-
Veja também
diff --git a/files/pt-br/web/api/indexeddb_api/index.html b/files/pt-br/web/api/indexeddb_api/index.html
index 06e84254f2..d0b8439834 100644
--- a/files/pt-br/web/api/indexeddb_api/index.html
+++ b/files/pt-br/web/api/indexeddb_api/index.html
@@ -71,7 +71,7 @@ translation_of: Web/API/IndexedDB_API
Utilize este atributo somente se a href atributo está presente.
diff --git a/files/pt-br/web/api/indexeddb_api/using_indexeddb/index.html b/files/pt-br/web/api/indexeddb_api/using_indexeddb/index.html
index 217fc304c5..0f337d5033 100644
--- a/files/pt-br/web/api/indexeddb_api/using_indexeddb/index.html
+++ b/files/pt-br/web/api/indexeddb_api/using_indexeddb/index.html
@@ -1268,7 +1268,7 @@ input {
Guias e tutoriais
-
diff --git a/files/pt-br/web/api/navigation_timing_api/index.html b/files/pt-br/web/api/navigation_timing_api/index.html
index d40f46ba45..6368d30364 100644
--- a/files/pt-br/web/api/navigation_timing_api/index.html
+++ b/files/pt-br/web/api/navigation_timing_api/index.html
@@ -97,9 +97,9 @@ var pageLoadTime = perfData.loadEventEnd - perfData.navigationStart;
Links
-
Compatibillidade de Navegadores
diff --git a/files/pt-br/web/css/background-size/index.html b/files/pt-br/web/css/background-size/index.html
index f912a475e0..6b3ae58435 100644
--- a/files/pt-br/web/css/background-size/index.html
+++ b/files/pt-br/web/css/background-size/index.html
@@ -175,7 +175,7 @@ background-size: 50% 25%;
Notas
-background-size
junto, é melhor não especificar um tamanho que use um único componente setado como auto ou seja especificado usando apenas um valor de largura (por exemplo, background-size: 50%
). A renderização de gradients em tais casos mudou no Firefox 8 e, no momento, geralmente é inconsistente em todos os navegadores, pois nem todos implementam a renderização em total conformidade com a especificação background-size
do CSS3 e com a especificação do CSS3 para valores de gradient.background-size
junto, é melhor não especificar um tamanho que use um único componente setado como auto ou seja especificado usando apenas um valor de largura (por exemplo, background-size: 50%
). A renderização de gradients em tais casos mudou no Firefox 8 e, no momento, geralmente é inconsistente em todos os navegadores, pois nem todos implementam a renderização em total conformidade com a especificação background-size
do CSS3 e com a especificação do CSS3 para valores de gradient..bar {
width: 50px; height: 100px;
diff --git a/files/pt-br/web/css/text-rendering/index.html b/files/pt-br/web/css/text-rendering/index.html
index a93fdf8921..1ad949b7eb 100644
--- a/files/pt-br/web/css/text-rendering/index.html
+++ b/files/pt-br/web/css/text-rendering/index.html
@@ -125,7 +125,7 @@ body { text-rendering: optimizeLegibility; }
Suporte basico para plataformas Windows e Linux
-
3.0 (1.9)
{{ CompatNo() }}
diff --git a/files/pt-br/web/css/text-shadow/index.html b/files/pt-br/web/css/text-shadow/index.html
index b6274efc13..526afcb846 100644
--- a/files/pt-br/web/css/text-shadow/index.html
+++ b/files/pt-br/web/css/text-shadow/index.html
@@ -123,7 +123,7 @@ text-shadow: unset;
diff --git a/files/pt-br/web/demos_of_open_web_technologies/index.html b/files/pt-br/web/demos_of_open_web_technologies/index.html
index c0f9775fd9..3fd3092c8f 100644
--- a/files/pt-br/web/demos_of_open_web_technologies/index.html
+++ b/files/pt-br/web/demos_of_open_web_technologies/index.html
@@ -13,19 +13,19 @@ translation_of: Web/Demos_of_open_web_technologies
{{ SpecName('CSS3 Text Decoration', '#text-shadow', 'text-shadow') }}
{{ Spec2('CSS3 Text Decoration') }}
- The CSS property
+ text-shadow
was improperly defined in CSS2 and dropped in CSS2 (Level 1). The CSS Text Module Level 3 spec improved and precised the syntax. Later it was moved to new working draft CSS Text Decoration Module Level 3.The CSS property
text-shadow
was improperly defined in CSS2 and dropped in CSS2 (Level 1). The CSS Text Module Level 3 spec improved and precised the syntax. Later it was moved to new working draft CSS Text Decoration Module Level 3.
@@ -233,7 +233,7 @@ translation_of: Web/Demos_of_open_web_technologies
@@ -89,7 +89,7 @@ translation_of: Web/HTML/Element/area
Exemplo
diff --git a/files/pt-br/web/html/element/article/index.html b/files/pt-br/web/html/element/article/index.html
index cff322b0cb..1115a8d3d6 100644
--- a/files/pt-br/web/html/element/article/index.html
+++ b/files/pt-br/web/html/element/article/index.html
@@ -37,7 +37,7 @@ translation_of: Web/HTML/Element/article
diff --git a/files/pt-br/web/html/element/audio/index.html b/files/pt-br/web/html/element/audio/index.html
index 27266724c8..da2382e5cc 100644
--- a/files/pt-br/web/html/element/audio/index.html
+++ b/files/pt-br/web/html/element/audio/index.html
@@ -27,7 +27,7 @@ translation_of: Web/HTML/Element/audio
Documento normativo
- HTML5, section 4.4.4
+ HTML5, section 4.4.4
@@ -295,7 +295,7 @@ translation_of: Web/HTML/Element/audio
Documento normativo
- HTML5, section 4.8.7
+ HTML5, section 4.8.7
nsIDOMHTMLMediaElement
video
audio
element (Especificação HTML5)audio
element (Especificação HTML5)
@@ -78,8 +78,8 @@ translation_of: Web/HTML/Element/canvas
Documento normativo
- HTML 5, section 4.8.10
+ HTML 5, section 4.8.10
{{ CompatGeckoDesktop("1.8") }}
1.0
9.0
- 9.0
- 2.0
+ 9.0
+ 2.0
@@ -115,7 +115,7 @@ translation_of: Web/HTML/Element/canvas
<canvas>
era renderizado ao invés de mostrar o conteúdo de fallback, conforme a specification.<canvas>
era renderizado ao invés de mostrar o conteúdo de fallback, conforme a specification.Veja também
@@ -123,7 +123,7 @@ translation_of: Web/HTML/Element/canvas
diff --git a/files/pt-br/web/html/element/datalist/index.html b/files/pt-br/web/html/element/datalist/index.html
index 0ae859d164..4ff74ec7f8 100644
--- a/files/pt-br/web/html/element/datalist/index.html
+++ b/files/pt-br/web/html/element/datalist/index.html
@@ -25,7 +25,7 @@ translation_of: Web/HTML/Element/datalist
diff --git a/files/pt-br/web/html/element/del/index.html b/files/pt-br/web/html/element/del/index.html
index 302c098db3..78131fe50c 100644
--- a/files/pt-br/web/html/element/del/index.html
+++ b/files/pt-br/web/html/element/del/index.html
@@ -22,7 +22,7 @@ translation_of: Web/HTML/Element/del
Documento normativo
- HTML5, section 4.10.10
+ HTML5, section 4.10.10
Examples
<p><del>This text has been deleted</del></p>
diff --git a/files/pt-br/web/html/element/details/index.html b/files/pt-br/web/html/element/details/index.html
index 17cd48edc2..6928a1209e 100644
--- a/files/pt-br/web/html/element/details/index.html
+++ b/files/pt-br/web/html/element/details/index.html
@@ -25,7 +25,7 @@ translation_of: Web/HTML/Element/details
@@ -53,7 +53,7 @@ translation_of: Web/HTML/Element/details
Documento normativo
- HTML5, section 4.11.1
+ HTML5, section 4.11.1
Demonstração
-
+
Compatibilidade com navegadores
diff --git a/files/pt-br/web/html/element/dl/index.html b/files/pt-br/web/html/element/dl/index.html
index 4294a0fda2..40bf82142c 100644
--- a/files/pt-br/web/html/element/dl/index.html
+++ b/files/pt-br/web/html/element/dl/index.html
@@ -32,7 +32,7 @@ translation_of: Web/HTML/Element/dl
diff --git a/files/pt-br/web/html/element/footer/index.html b/files/pt-br/web/html/element/footer/index.html
index d593b9c90c..c7116cd03c 100644
--- a/files/pt-br/web/html/element/footer/index.html
+++ b/files/pt-br/web/html/element/footer/index.html
@@ -36,7 +36,7 @@ translation_of: Web/HTML/Element/footer
Documentação normativa
- HTML5, section 4.5.8; HTML 4.01, section 10.3
+ HTML5, section 4.5.8; HTML 4.01, section 10.3
diff --git a/files/pt-br/web/html/element/form/index.html b/files/pt-br/web/html/element/form/index.html
index 0097e77db8..307c7672a7 100644
--- a/files/pt-br/web/html/element/form/index.html
+++ b/files/pt-br/web/html/element/form/index.html
@@ -43,7 +43,7 @@ translation_of: Web/HTML/Element/form
Documento normativo
- HTML5, section 4.4.9
+ HTML5, section 4.4.9
method
attribute is post
, this attribute is the MIME type of content that is used to submit the form to the server. Possible values are:
+ method
attribute is post
, this attribute is the MIME type of content that is used to submit the form to the server. Possible values are:
application/x-www-form-urlencoded
: The default value if the attribute is not specified.multipart/form-data
: Use this value if you are using an {{HTMLElement("input")}} element with the type
attribute set to "file".
-
post
: Corresponds to the HTTP POST method ; the data from the form is included in the body of the form and is sent to the server.get
: Corresponds to the HTTP GET method; the data from the form are appended to the action
attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.post
: Corresponds to the HTTP POST method ; the data from the form is included in the body of the form and is sent to the server.get
: Corresponds to the HTTP GET method; the data from the form are appended to the action
attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.
-
Interação com CSS
diff --git a/files/pt-br/web/html/element/ins/index.html b/files/pt-br/web/html/element/ins/index.html
index 3934fdf09e..2b9e9128e8 100644
--- a/files/pt-br/web/html/element/ins/index.html
+++ b/files/pt-br/web/html/element/ins/index.html
@@ -22,7 +22,7 @@ translation_of: Web/HTML/Element/ins
Examples
<ins>This text has been inserted</ins>
diff --git a/files/pt-br/web/html/element/legend/index.html b/files/pt-br/web/html/element/legend/index.html
index ee512bfddb..c9c4273132 100644
--- a/files/pt-br/web/html/element/legend/index.html
+++ b/files/pt-br/web/html/element/legend/index.html
@@ -62,7 +62,7 @@ translation_of: Web/HTML/Element/legend
diff --git a/files/pt-br/web/html/element/meter/index.html b/files/pt-br/web/html/element/meter/index.html
index 5e731f82cb..a71a15758f 100644
--- a/files/pt-br/web/html/element/meter/index.html
+++ b/files/pt-br/web/html/element/meter/index.html
@@ -31,7 +31,7 @@ translation_of: Web/HTML/Element/meter
{{SpecName('HTML4.01', 'forms.html#h-17.10', '<legend>')}}
{{Spec2('HTML4.01')}}
- (link)
+ (link)
diff --git a/files/pt-br/web/html/element/nav/index.html b/files/pt-br/web/html/element/nav/index.html
index 20a2e4e77c..0bbbde1333 100644
--- a/files/pt-br/web/html/element/nav/index.html
+++ b/files/pt-br/web/html/element/nav/index.html
@@ -47,7 +47,7 @@ translation_of: Web/HTML/Element/nav
Documento normativo
- HTML5, section 4.10.8
+ HTML5, section 4.10.8
diff --git a/files/pt-br/web/html/element/output/index.html b/files/pt-br/web/html/element/output/index.html
index 333a6dd671..c47fa44082 100644
--- a/files/pt-br/web/html/element/output/index.html
+++ b/files/pt-br/web/html/element/output/index.html
@@ -32,7 +32,7 @@ translation_of: Web/HTML/Element/output
Documento normativo
- HTML5, seção 4.4.3
+ HTML5, seção 4.4.3
diff --git a/files/pt-br/web/html/element/progress/index.html b/files/pt-br/web/html/element/progress/index.html
index 07ddd5419e..8de264b803 100644
--- a/files/pt-br/web/html/element/progress/index.html
+++ b/files/pt-br/web/html/element/progress/index.html
@@ -23,14 +23,14 @@ translation_of: Web/HTML/Element/progress
Documento normativo
- HTML5, section 4.10.15
+ HTML5, section 4.10.15
Documento normativo
- HTML5, seção 4.10.16
+ HTML5, seção 4.10.16
Atributos
-
diff --git a/files/pt-br/web/html/element/span/index.html b/files/pt-br/web/html/element/span/index.html
index 5033d7b052..4038b6af6c 100644
--- a/files/pt-br/web/html/element/span/index.html
+++ b/files/pt-br/web/html/element/span/index.html
@@ -36,7 +36,7 @@ translation_of: Web/HTML/Element/span
@@ -38,7 +38,7 @@ translation_of: Web/HTML/Element/source
Documento normativo
- HTML5, section 4.8.8
+ HTML5, section 4.8.8
codecs
. Veja o RFC 4281 para informações sobre como especificar codec.codecs
. Veja o RFC 4281 para informações sobre como especificar codec.
diff --git a/files/pt-br/web/html/element/summary/index.html b/files/pt-br/web/html/element/summary/index.html
index 0782bc741d..cc6fc65f80 100644
--- a/files/pt-br/web/html/element/summary/index.html
+++ b/files/pt-br/web/html/element/summary/index.html
@@ -32,7 +32,7 @@ translation_of: Web/HTML/Element/summary
Padrões de documento
- HTML5, section 4.6.24; HTML 4.01, section 7.5.4
+ HTML5, section 4.6.24; HTML 4.01, section 7.5.4
diff --git a/files/pt-br/web/html/element/table/index.html b/files/pt-br/web/html/element/table/index.html
index 3b1571c7ee..150c306db4 100644
--- a/files/pt-br/web/html/element/table/index.html
+++ b/files/pt-br/web/html/element/table/index.html
@@ -61,7 +61,7 @@ translation_of: Web/HTML/Element/table
Documentos normativos
- HTML5, section 4.11.2
+ HTML5, section 4.11.2
@@ -91,7 +91,7 @@ translation_of: Web/HTML/Element/table
Documento normativo
- HTML5, section 4.9.1 (HTML4.01, section 11.2.1)
+ HTML5, section 4.9.1 (HTML4.01, section 11.2.1)
@@ -139,7 +139,7 @@ translation_of: Web/HTML/Element/time
diff --git a/files/pt-br/web/html/element/time/index.html b/files/pt-br/web/html/element/time/index.html
index 9c613b7bb6..496f213e11 100644
--- a/files/pt-br/web/html/element/time/index.html
+++ b/files/pt-br/web/html/element/time/index.html
@@ -11,7 +11,7 @@ translation_of: Web/HTML/Element/time
Contexto de uso
@@ -35,7 +35,7 @@ translation_of: Web/HTML/Element/time
Normative document
- HTML5, section 4.6.10
+ HTML5, section 4.6.10
Veja também
-
time
element (HTML5 specification)time
element (HTML5 specification)
@@ -340,8 +340,8 @@ AddType video/ogg .ogg
Documento normativo
- HTML 5, section 4.8.6
+ HTML 5, section 4.8.6
nsIDOMHTMLMediaElement
video
element (Especificação HTML 5)video
element (Especificação HTML 5)
- O *
pode ser substituído por qualquer nome, desde que siga a regra de criação de nomes xml com as seguintes restrições:*
pode ser substituído por qualquer nome, desde que siga a regra de criação de nomes xml com as seguintes restrições:
Em HTML5, o único propósito do DOCTYPE é de ativar o full standards mode. Versões mais antigas do padrão HTML deram significado adicional ao DOCTYPE, mas nenhum navegador jamais usou o DOCTYPE para qualquer outra coisa além de alternar entre o quirks mode e o standards mode.
-Veja também uma descrição detalhada de quando diferentes navegadores escolhem diferentes modos.
+Veja também uma descrição detalhada de quando diferentes navegadores escolhem diferentes modos.
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
(antes)
No Firefox 65 e versões anteriores, esse valor pode ser modificado usando o parâmetro network.http.accept.default
. (fonte)
No Firefox 65 e versões anteriores, esse valor pode ser modificado usando o parâmetro network.http.accept.default
. (fonte)
image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/x-shockwave-flash, application/msword, */*
*/*
(desde o Firefox 47)image/png,image/*;q=0.8,*/*;q=0.5
(antes)
- image.http.accept
. fonteimage.http.accept
. fonteimage/webp,image/apng,image/*,*/*;q=0.8
*/*
image/png,image/svg+xml,image/*;q=0.8, */*;q=0.5
video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5
*/*
audio/webm,audio/ogg,audio/wav,audio/*;q=0.9,application/ogg;q=0.7,video/*;q=0.6,*/*;q=0.5
*/*
*/*
*/*
*/*
application/javascript, */*;q=0.8
text/css,*/*;q=0.1
*/*
text/css
text/css,*/*;q=0.1
To ease deployment, CSP can be deployed in "report-only" mode. The policy is not enforced, but any violations are reported to a provided URI. Additionally, a report-only header can be used to test a future revision to a policy without actually deploying it.
+To ease deployment, CSP can be deployed in "report-only" mode. The policy is not enforced, but any violations are reported to a provided URI. Additionally, a report-only header can be used to test a future revision to a policy without actually deploying it.
You can use the Content-Security-Policy-Report-Only
HTTP header to specify your policy, like this:
Note that the X-Content-Security-Policy-Report-Only
header was used before Firefox 23. If both the X-Content-Security-Policy-Report-Only
and Content-Security-Policy-Report-Only
are sent, the Content-Security-Policy-Report-Only
will be used and the X-Content-Security-Policy-Report-Only
will be ignored.
The UserCSP Addon also helps test and develop Content Security Policies for a site.
+The UserCSP Addon also helps test and develop Content Security Policies for a site.
<link rel="dns-prefetch" href="http://www.spreadfirefox.com/">-
Neste exemplo, o nome de domínio "www.spreadfirefox.com" será pré-resolvido.
+Neste exemplo, o nome de domínio "www.spreadfirefox.com" será pré-resolvido.
Da mesma forma, o elemento de link pode ser usado para resolver nomes de host sem fornecer uma URL completa, mas apenas, precedendo o nome do host com duas barras:
diff --git a/files/pt-br/web/svg/content_type/index.html b/files/pt-br/web/svg/content_type/index.html index db47a9a27e..ffe0627762 100644 --- a/files/pt-br/web/svg/content_type/index.html +++ b/files/pt-br/web/svg/content_type/index.html @@ -97,7 +97,7 @@ DIGIT ::= [0-9]The basic type <color> is a CSS2 compatible specification for a color in the sRGB color space. <color> applies to SVG's use of the {{SVGAttr("color")}} attribute and is a component of the definitions of attributes {{SVGAttr("fill")}}, {{SVGAttr("stroke")}}, {{SVGAttr("stop-color")}}, {{SVGAttr("flood-color")}} and {{SVGAttr("lighting-color")}}, which also offer optional ICC-based color specifications.
-SVG supports all of the syntax alternatives for <color> defined in CSS2 syntax and basic data types, and (depend on the implementation) in the future CSS Color Module Level 3.
+SVG supports all of the syntax alternatives for <color> defined in CSS2 syntax and basic data types, and (depend on the implementation) in the future CSS Color Module Level 3.
A <color> is either a keyword or a numerical RGB specification.
@@ -112,7 +112,7 @@ DIGIT ::= [0-9] hexdigit ::= [0-9A-Fa-f] -where color-keyword
matches (case insensitively) one of the color keywords listed in CSS Color Module Level 3, or one of the system color keywords listed in User preferences for colors (CSS2, section 18.2).
where color-keyword
matches (case insensitively) one of the color keywords listed in CSS Color Module Level 3, or one of the system color keywords listed in User preferences for colors (CSS2, section 18.2).
The corresponding SVG DOM interface definitions for <color> are defined the one defined by CSS. SVG's extension to color, including the ability to specify ICC-based colors, are represented using DOM interface {{domxref("SVGColor")}}.
Scalable Vector Graphics (Gráficos vetoriais escaláveis), SVG, é uma linguagem W3C XML para marcação de gráficos. Ela é parcialmente implementada no Firefox, Opera, Navegadores com WebKit , Internet Explorer e outros navegadores.
-Este tutorial tem como objetivo explicar as partes internas de SVG acompanhada de detalhes técnicos. Se você quiser usá-la apenas para desenhar belas imagens, você pode encontrar informações mais uteis na Página de documentação do Inkscape. Outra boa introdução ao SVG é fornecida pelo W3C' SVG Primer.
+Este tutorial tem como objetivo explicar as partes internas de SVG acompanhada de detalhes técnicos. Se você quiser usá-la apenas para desenhar belas imagens, você pode encontrar informações mais uteis na Página de documentação do Inkscape. Outra boa introdução ao SVG é fornecida pelo W3C' SVG Primer.