1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
---
title: Firefox 70 para programadores
slug: Mozilla/Firefox/Releases/70
tags:
- '70'
- Firefox
- Lançamento
- Mozilla
translation_of: Mozilla/Firefox/Releases/70
---
<p>{{FirefoxSidebar}}{{Draft}}</p>
<p class="summary">Este artigo fornece informaçaõ acerca das alterações no Firefox 70 que irão afetar od programadores. O Firefox 70 é a <a href="https://www.mozilla.org/en-US/firefox/channel/desktop/#beta">versão Beta atual do Firefox</a>, e irá ser distribuida no dia <a href="https://wiki.mozilla.org/RapidRelease/Calendar#Future_branch_dates" rel="noopener">22 de outubro de 2019</a>.</p>
<h2 id="Alterações_para_os_programadores_da_Web">Alterações para os programadores da Web</h2>
<h3 id="Ferramentas_do_programador">Ferramentas do programador</h3>
<ul>
<li>An icon will be displayed next to invalid or unsupported <a href="/en-US/docs/Tools/Page_Inspector/How_to/Examine_and_edit_CSS#Examine_CSS_rules">CSS rules</a> in the Rules pane of the Page Inspector ({{bug(1306054)}}).</li>
</ul>
<h4 id="Removals">Removals</h4>
<h3 id="HTML">HTML</h3>
<p><em>No changes.</em></p>
<h4 id="Removals_2"> Removals</h4>
<h3 id="CSS">CSS</h3>
<ul>
<li>Opacity values like for {{cssxref("opacity")}} or {{SVGAttr("stop-opacity")}} can now be percentages ({{Bug(1562086)}}).</li>
<li>{{cssxref("grid-auto-columns")}} and {{cssxref("grid-auto-rows")}} now accept multiple track-size values ({{Bug(1339672)}}).</li>
<li>A number of text-related CSS properties have been enabled by default ({{bug(1573631)}}):
<ul>
<li>{{cssxref("text-decoration-thickness")}}.</li>
<li>{{cssxref("text-underline-offset")}}.</li>
<li>{{cssxref("text-decoration-skip-ink")}}. The default value is <code>auto</code>, which means that by default underlines and overlines are now interrupted where they would otherwise cross over a {{Glossary("glyph")}}.</li>
</ul>
</li>
<li>The {{cssxref("display")}} property now accepts two keywords for the inner and the outer display type ({{Bug(1038294)}}, {{Bug(1105868)}} and {{Bug(1557825)}}).</li>
<li>The {{cssxref("font-size")}} property now accepts the new keyword <code>xxx-large</code>. ({{Bug(1553545)}}).</li>
<li>The {{cssxref(":visited")}} pseudo-class no longer matches {{htmlelement("link")}} elements, for logic and performance reasons ({{bug(1572246)}}; see <span class="F0XO1GC-mb-Z" id="t-t"><a href="https://groups.google.com/forum/#!msg/mozilla.dev.platform/1NP6oJzK6zg/ftAz_TajAAAJ">Intent to ship: Make <link> elements always unvisited</a> and </span><a href="https://github.com/w3c/csswg-drafts/issues/3817">[selectors] :link and <link></a> for more reasoning as to why).</li>
<li>We now support an <code>auto</code> value for the {{cssxref("quotes")}} property ({{bug(1421938)}}).</li>
<li>Stylesheets contained in {{htmlelement("style")}} elements are now cached for reuse, to improve performance ({{bug(1480146)}}). Note that this currently doesn't include stylesheets that contain <code>@import</code> rules.</li>
<li>The <code><ratio></code> type now accepts <code><number></code> / <code><number></code> or a single <code><number></code> as a value. ({{bug(1565562)}}).</li>
</ul>
<h4 id="Removals_3">Removals</h4>
<ul>
<li>Retiring support for 3-valued <position> (excluding background)({{Bug(1559276)}}). <a href="https://www.fxsitecompat.dev/en-CA/docs/2019/3-valued-css-position-is-no-longer-supported-except-for-background-position/">See site compat note</a>.</li>
<li><code>none</code> is now invalid in {{cssxref("counter")}} / {{cssxref("counters")}} — a change which makes the Level 3 spec match CSS 2.1 {{Bug(1576821)}}).</li>
</ul>
<h3 id="SVG">SVG</h3>
<p><em>No changes.</em></p>
<h4 id="Removals_4">Removals</h4>
<h3 id="JavaScript">JavaScript</h3>
<ul>
<li>Add support for numeric separators. {{Bug(1435818)}}.</li>
</ul>
<h4 id="Removals_5">Removals</h4>
<h3 id="APIs">APIs</h3>
<ul>
<li>The {{domxref("History.back","back()")}}, {{domxref("History.forward","forward()")}}, and {{domxref("History.go","go()")}} methods are now asynchronous. Add a listener to the <code>{{domxref("Document/defaultView/popstate_event", "popstate")}}</code> event to get notification that navigation has completed {{Bug(1563587)}}.</li>
</ul>
<h4 id="Novas_APIs">Novas APIs</h4>
<h4 id="DOM">DOM</h4>
<ul>
<li>Add {{DOMxRef("DOMMatrix")}}, {{DOMxRef("DOMPoint")}}, etc. support in web workers ({{bug(1420580)}}).</li>
</ul>
<h4 id="Eventos_DOM">Eventos DOM</h4>
<h4 id="Service_workers">Service workers</h4>
<h4 id="Media_Web_Audio_and_WebRTC">Media, Web Audio, and WebRTC</h4>
<h4 id="Canvas_and_WebGL">Canvas and WebGL</h4>
<ul>
<li>We now support {{domxref("CanvasRenderingContext2D.getTransform()")}}, and the newer variant of {{domxref("CanvasRenderingContext2D.setTransform()")}} that accepts a matrix object as a parameter rather than multiple parameters representing the individual components of the matrix ({{bug(928150)}}).</li>
</ul>
<h4 id="Removals_6">Removals</h4>
<h3 id="Segurança">Segurança</h3>
<p><em>No changes.</em></p>
<h4 id="Removals_7">Removals</h4>
<h3 id="Plug-ins">Plug-ins</h3>
<p><em>No changes.</em></p>
<h4 id="Removals_8">Removals</h4>
<h3 id="Outros">Outros</h3>
<p><em>No changes.</em></p>
<h4 id="Removals_9">Removals</h4>
<h2 id="Alterações_para_os_programadores_de_extras_add-on">Alterações para os programadores de extras (add-on)</h2>
<h3 id="Alterações_de_API">Alterações de API</h3>
<p><em>Sem alterações.</em></p>
<h4 id="Removals_10">Removals</h4>
<h3 id="Alfetarções_de_Manifest">Alfetarções de Manifest</h3>
<p><em>Sem alterações.</em></p>
<h4 id="Removals_11">Removals</h4>
<h2 id="Consultar_também">Consultar também:</h2>
<ul>
<li><a href="https://www.fxsitecompat.com/en-CA/versions/70/">SCompatibilidade de Site para o Firefox 70</a></li>
</ul>
<h2 id="Versões_antigas">Versões antigas</h2>
<p>{{Firefox_for_developers(69)}}</p>
|