Skip to content

Rename *-expected.html to *-ref.html - #11004

Merged
foolip merged 1 commit into
masterfrom
expected-ref
May 15, 2018
Merged

foolip merged 1 commit into
masterfrom
expected-ref

Conversation

@foolip

@foolip foolip commented May 15, 2018 •

Copy link
Copy Markdown
Member

While there is no rule or lint for the naming, *-expected.html is the
convention in WebKit/Blink, and in WPT *-ref.html is the norm. (These
were the only *-expected.html, and there are 3000+ *-ref.html.)

While there is no rule or lint for the naming, *-expected.html is the
convention in WebKit/Blink, and in WPT *-ref.html is the norm. (These
were the only *-expected.html, and there are 3000+ *-ref.html.)

@annevk annevk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't understand the setup for css/css-fonts. What's referencing them?

@foolip

foolip commented May 15, 2018

Copy link
Copy Markdown
Member Author

@annevk is there something funny in css/css-fonts you noticed while reviewing this? I didn't touch it in this PR :)

@foolip

foolip commented May 15, 2018

Copy link
Copy Markdown
Member Author

Aha, I didn't see the whole path in the web UI. I renamed css/css-fonts/support/fonts/font-feature-settings-rendering-2-expected.html to css/css-fonts/support/fonts/font-feature-settings-rendering-2-ref.html and yet didn't change anything else about. That is suspect. (I used scripts to rename.)

@foolip

foolip commented May 15, 2018

Copy link
Copy Markdown
Member Author

It's from commit 5e10afd, but the companion font-feature-settings-rendering-2.html (also in support/fonts/) isn't a test, and obviously not a font either as one would expect. It looks quite a lot like something that would've originated from WebKit or Blink, but I can't find anything similar in either repo.

@annevk annevk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please file a follow-up on sorting out the css/css-fonts thing.

@foolip

foolip commented May 15, 2018

Copy link
Copy Markdown
Member Author

Yep, will sort it out on top of this.

@foolip
foolip merged commit 7f1de07 into master May 15, 2018
@foolip
foolip deleted the expected-ref branch May 15, 2018 10:02
foolip added a commit that referenced this pull request May 15, 2018
Both the test and its ref was in support/fonts/ which doesn't make
sense. Move the test and ref and make some changes in the direction of
fixing it. It still doesn't pass in Chrome or Firefox.

Discovered in #11004.
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.

3 participants