Skip to content

Enable css-fonts WPT tests - #19930

Merged
bors-servo merged 1 commit into
servo:masterfrom
jonleighton:enable-wpt-css-fonts
Feb 1, 2018
Merged

bors-servo merged 1 commit into
servo:masterfrom
jonleighton:enable-wpt-css-fonts

Conversation

@jonleighton

@jonleighton jonleighton commented Feb 1, 2018 •

Copy link
Copy Markdown
Contributor

See #19928 (comment)

Note that some of these tests require you to install the fonts found in
tests/wpt/web-platform-tests/css/fonts.

r? @jdm


This change is Reviewable

@highfive

highfive commented Feb 1, 2018

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Feb 1, 2018
@jonleighton

Copy link
Copy Markdown
Contributor Author

As discussed in IRC, this will need the relevant fonts to be installed on the builders. Let me know if I can do anything to help on that front.

Also, I can only test this on Linux. I wonder if there might be platform differences? (The original bug I was trying to fix only occurs on Linux...)

@jdm

jdm commented Feb 1, 2018

Copy link
Copy Markdown
Member

I bet the timeouts are caused by Servo not supporting document.fonts.ready.

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit caae3eb has been approved by jdm

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit caae3eb with merge 089fb41...

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Feb 1, 2018
bors-servo pushed a commit that referenced this pull request Feb 1, 2018
Enable css-fonts WPT tests

See #19928 (comment)

Note that some of these tests require you to install the fonts found in
tests/wpt/web-platform-tests/css/fonts.

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19930)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel-css

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Feb 1, 2018
@jonleighton

Copy link
Copy Markdown
Contributor Author

Sorry, my branch was not up to date with master (updating it now). That's the cause of the font-feature-settings-serialization-001.html one (which has been added recently). I don't know the cause of the other failure though...

@jdm

jdm commented Feb 1, 2018

Copy link
Copy Markdown
Member

Yeah, it's strange that that test would not fail for you locally since there are no special fonts involved, just a feature that servo doesn't support yet.

See servo#19928 (comment)

Note that some of these tests require you to install the fonts found in
tests/wpt/web-platform-tests/css/fonts.
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Feb 1, 2018
@jonleighton

Copy link
Copy Markdown
Contributor Author

@jdm I think this should merge now. font-variant-ligatures-11.html was passing for me because on my system, all of the special glyphs were rendering as a square "glyph not found" box, and therefore the test matched the ref. I manually added a metadata file to mark it failing.

@jdm

jdm commented Feb 1, 2018

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit f578ec9 has been approved by jdm

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Feb 1, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit f578ec9 with merge ac9b1cf...

bors-servo pushed a commit that referenced this pull request Feb 1, 2018
Enable css-fonts WPT tests

See #19928 (comment)

Note that some of these tests require you to install the fonts found in
tests/wpt/web-platform-tests/css/fonts.

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19930)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev
Approved by: jdm
Pushing ac9b1cf to master...

@bors-servo
bors-servo merged commit f578ec9 into servo:master Feb 1, 2018
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Feb 1, 2018
@jonleighton

Copy link
Copy Markdown
Contributor Author

FWIW the reason we didn't run into missing font issues is due to web-platform-tests/wpt#9374

@jdm

jdm commented Feb 3, 2018

Copy link
Copy Markdown
Member

Nice find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants