Closed Bug 1202419 Opened 9 years ago Closed 9 years ago

Ahem.ttf missing in reftests submitted to W3C

Categories

(Testing :: Reftest, defect)

defect
Not set
normal

Tracking

(firefox43 fixed)

RESOLVED FIXED
mozilla43
Tracking Status
firefox43 --- fixed

People

(Reporter: SimonSapin, Unassigned)

Details

Attachments

(1 file, 2 obsolete files)

Some files in layout/reftests/w3c-css/submitted reference layout/reftests/fonts/Ahem.ttf, which is not copied over to the W3C CSS test repository. (Some tests currently fail in Servo because of this.)

Since the W3C CSS test suite build system which copies files around (e.g. combining files from css-variables-1/ and vendor-imports/mozilla/mozilla-central-reftests/variables/ into dist/css-variables-1_dev/), I suggest adding more copies of Ahem.ttf in spec-specific directories.

The attached patch is generated by git, but I don’t know if Mercurial can import the "GIT binary patch" format. The two binary files are copies of layout/reftests/fonts/Ahem.ttf.
Attachment #8657802 - Flags: review?(dbaron)
I’ve optimistically applied this in the W3C repository: https://github.com/w3c/csswg-test/pull/848
Please let me know how if I need to reformat the patch (with binary files) so that Mercurial can read it.
Keywords: checkin-needed
(In reply to Simon Sapin (:SimonSapin) from comment #2)
> Please let me know how if I need to reformat the patch (with binary files)
> so that Mercurial can read it.

Hey Simon, yeah can you change this to a mercurial format, this would be awesome!
Flags: needinfo?(simon.sapin)
It turns out that Mercurial uses the same format for binary patches as git but here it is anyway, this time with a proper commit message.
Attachment #8657802 - Attachment is obsolete: true
Flags: needinfo?(simon.sapin)
Hey Simon,

this patch has problems to apply to mozilla-inbound cleanly:

patching file layout/reftests/w3c-css/submitted/variables/support/external-variable-font-face.css
Hunk #1 FAILED at 0
1 out of 1 hunks FAILED -- saving rejects to file layout/reftests/w3c-css/submitted/variables/support/external-variable-font-face.css.rej
patching file layout/reftests/w3c-css/submitted/variables/variable-font-face-01.html
Hunk #1 FAILED at 6
1 out of 1 hunks FAILED -- saving rejects to file layout/reftests/w3c-css/submitted/variables/variable-font-face-01.html.rej
patching file layout/reftests/w3c-css/submitted/variables/variable-font-face-02.html
Hunk #1 FAILED at 8
1 out of 1 hunks FAILED -- saving rejects to file layout/reftests/w3c-css/submitted/variables/variable-font-face-02.html.rej
patch failed, unable to continue (try -v)
patch failed, rejects left in working directory
errors during apply, please fix and refresh Include_Ahem.ttf_in_reftests_submitted_to_W3C.patch

could you take a look ? thanks!
Flags: needinfo?(simon.sapin)
I’m a bit surprised since `hg rebase` had no trouble with this, but here it is.

It a patch application considered "not clean" whenever any line in the context has changed?
Attachment #8658680 - Attachment is obsolete: true
Flags: needinfo?(simon.sapin)
https://hg.mozilla.org/mozilla-central/rev/4281bd4ca5d8
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: