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

[css-multicol] Initial values and inheritance #13651

Merged
merged 2 commits into from Oct 23, 2018

Conversation

ewilligers
Copy link
Contributor

<meta charset="utf-8">
<title>Inheritance of CSS Multi-column Layout properties</title>
<link rel="help" href="https://drafts.csswg.org/css-multicol/#property-index">
<meta name="assert" content="Properties not not inherit.">
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<meta name="assert" content="Properties not not inherit.">
<meta name="assert" content="Properties should not inherit.">

const mediumWidth = getComputedStyle(reference).borderTopWidth; // e.g. 3px
reference.style.display = 'none';

assert_not_inherited('column-count', 'auto', '2');
Copy link
Contributor

Choose a reason for hiding this comment

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

These are generally hard to read. Probably because I'm not used to these functions. How about documenting the functions in /css/support/inheritance-testcommon.js ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Comments added.

@ewilligers ewilligers merged commit 56f025c into web-platform-tests:master Oct 23, 2018
@ewilligers ewilligers deleted the multicol-inheritance branch October 23, 2018 07:52
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