Closed Bug 1442527 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 9744 - [css-text] Fix tests that rely on the specific width of glyphs

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 9744 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/9744
Details from upstream follow.

Koji Ishii wrote:
>  [css-text] Fix tests that rely on the specific width of glyphs
>  
>  The following 2 tests:
>  * external/wpt/css/css-text/i18n/css3-text-line-break-opclns-004.html
>  * external/wpt/css/css-text/i18n/css3-text-line-break-opclns-011.html
>  
>  are failing on specific configurations because they assume some
>  characters are installed on the test machine, and they have specific
>  widths, but that is not the case on our try-bots.
>  
>  This patch uses a reference element to measure the desired width and
>  set to the test/ref boxes.
>  
>  Bug: 817804
>  Change-Id: I17a1b7d1b34b209303f8b6684644cff3d7ce62a0
>  Reviewed-on: https://chromium-review.googlesource.com/945429
>  WPT-Export-Revision: 2f9f34036b2e07327fc12674b4f8a7deac12ff30
Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/825426053dab
[wpt PR 9744] - [css-text] Fix tests that rely on the specific width of glyphs, a=testonly
https://hg.mozilla.org/mozilla-central/rev/825426053dab
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.