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

HTML: Test rendering of ol, ul, menu, li, dir, dl, dt, dd #28040

Merged
merged 3 commits into from
Apr 28, 2021

Conversation

zcorpan
Copy link
Member

@zcorpan zcorpan commented Mar 11, 2021

@zcorpan zcorpan requested a review from domenic March 11, 2021 22:49
@github-actions github-actions bot temporarily deployed to wpt-preview-28040 March 11, 2021 22:50 Inactive
Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

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

Nice to see this framework panning out. Some interesting divergences between browsers here!

return startTags + (ancestors.length ? ` (in ${ancestors.join('')})` : '');
}

function contextAttrs(attributes) {
Copy link
Member

Choose a reason for hiding this comment

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

Maybe avoid outputting data-skip attributes?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done!

annevk pushed a commit to whatwg/html that referenced this pull request Apr 28, 2021
Map `<ol start reversed>` and `<li value>` to `counter-reset` and `counter-set` properties as presentational hints. For reversed lists, use the CSS `reversed()` function added in w3c/csswg-drafts#6096.

Tests: web-platform-tests/wpt#28040 & web-platform-tests/wpt#28453.

Helps with #4808.

Co-authored-by: Simon Pieters <zcorpan@gmail.com>
@zcorpan zcorpan merged commit bde70ed into master Apr 28, 2021
@zcorpan zcorpan deleted the bocoup/html-ol-rendering branch April 28, 2021 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants