KEMBAR78
HTML: Test rendering of ol, ul, menu, li, dir, dl, dt, dd by zcorpan · Pull Request #28040 · web-platform-tests/wpt · GitHub
Skip to content

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