Bug 1102584 - patch 3 - Enable support for the actualBoundingBox* attributes of TextMetrics. r=lsalzman

This is unaffected by the differences in font metrics between platform back-ends,
so should be safe to ship without significant risk that it'll be unstable or need
to be revised in future.

Depends on D59679

Differential Revision: https://phabricator.services.mozilla.com/D59680

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Jonathan Kew 2020-01-14 03:47:09 +00:00
Родитель 7bb62c5559
Коммит 020066db8c
3 изменённых файлов: 1 добавлений и 17 удалений

Просмотреть файл

@ -2394,7 +2394,7 @@
- name: dom.textMetrics.actualBoundingBox.enabled
type: bool
value: false
value: true
mirror: always
- name: dom.textMetrics.baselines.enabled

Просмотреть файл

@ -1,4 +0,0 @@
[2d.text.measure.actualBoundingBox.html]
[Testing actualBoundingBox]
expected: FAIL

Просмотреть файл

@ -189,9 +189,6 @@ prefs: [dom.security.featurePolicy.enabled:true, dom.security.featurePolicy.expe
[Navigator interface: calling unregisterProtocolHandler(DOMString, USVString) on window.navigator with too few arguments must throw TypeError]
expected: FAIL
[TextMetrics interface: attribute actualBoundingBoxAscent]
expected: FAIL
[OffscreenCanvas interface: existence and properties of interface prototype object]
expected: FAIL
@ -330,18 +327,12 @@ prefs: [dom.security.featurePolicy.enabled:true, dom.security.featurePolicy.expe
[Stringification of window.applicationCache]
expected: FAIL
[TextMetrics interface: attribute actualBoundingBoxDescent]
expected: FAIL
[OffscreenCanvasRenderingContext2D interface: operation isPointInPath(unrestricted double, unrestricted double, CanvasFillRule)]
expected: FAIL
[VideoTrack interface: attribute language]
expected: FAIL
[TextMetrics interface: attribute actualBoundingBoxLeft]
expected: FAIL
[VideoTrackList interface: attribute onremovetrack]
expected: FAIL
@ -510,9 +501,6 @@ prefs: [dom.security.featurePolicy.enabled:true, dom.security.featurePolicy.expe
[External interface: operation IsSearchProviderInstalled()]
expected: FAIL
[TextMetrics interface: attribute actualBoundingBoxRight]
expected: FAIL
[SVGElement interface: attribute nonce]
expected: FAIL