Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ahem.css to many more tests #17292

Merged
merged 2 commits into from Jun 25, 2019

Conversation

gsnedders
Copy link
Member

@gsnedders gsnedders commented Jun 12, 2019

In addition to #17291, and following on from #17173. Will probably need regressions split out, as in #17205.

cc/ @LukeZielinski

@LukeZielinski
Copy link
Contributor

LukeZielinski commented Jun 13, 2019

Looks like the only new failures in this PR are the following:

/css/css-exclusions/wrap-flow-002.html
/css/css-exclusions/wrap-flow-003.html
/css/css-exclusions/wrap-flow-004.html
/css/css-exclusions/wrap-flow-005.html
/css/css-exclusions/wrap-flow-006.html
/css/css-exclusions/wrap-through-001.html
/css/css-fonts/math-script-level-and-math-style/math-script-level-002.tentative.html

All of these are non-reftests, and they probably need explicit_done and to wait for fonts.ready (like we did in https://github.com/web-platform-tests/wpt/blob/master/css/css-ui/text-overflow-023.html for example).

The remainder of the failures in this PR are already covered in #17205.

@gsnedders
Copy link
Member Author

53e692f added that to those tests, but it seems like that didn't suffice, bleh.

@gsnedders
Copy link
Member Author

OK, I've removed all the tests changed in #17205 from this PR now, and hopefully fixed the rest.

This was:

LANG=C grep -R -l -i 'font.*:.*ahem' css | xargs grep -L ahem\\.css | xargs gsed -i 's/\(^.*\)<style/\1<link rel=\"stylesheet\" type=\"text\/css\" href=\"\/fonts\/ahem.css\" \/>\n\1<style/g'

Then edited to wait for document.fonts.ready in testharness.js tests
This is:

rg --files-with-matches 'grid-descendants.css' css/css-grid/abspos/ | xargs grep -L ahem.css | xargs gsed -i'' -e 's/\(^.*\)\(<.*grid-descendants.css\)/\1<link rel=\"stylesheet\" href=\"\/fonts\/ahem.css\">\n\1\2/g'
@gsnedders
Copy link
Member Author

Okay, no regressions in Safari/Firefox/Chrome, so rebased and cleaned up history so we can land this!

Copy link
Contributor

@LukeZielinski LukeZielinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@gsnedders gsnedders merged commit daf75e3 into web-platform-tests:master Jun 25, 2019
marcoscaceres pushed a commit that referenced this pull request Jul 23, 2019
Add ahem.css to many more tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants