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 break-inside: avoid to the content in the second column #24848

Merged
merged 1 commit into from Aug 10, 2020
Merged

Add break-inside: avoid to the content in the second column #24848

merged 1 commit into from Aug 10, 2020

Conversation

aethanyc
Copy link
Contributor

@aethanyc aethanyc commented Aug 2, 2020

Per https://drafts.csswg.org/css-break/#possible-breaks, UAs may
consider any elements with overflow: hidden monolithic.

Firefox can break between Column2 and Column2 line2 in the
reference. Add break-inside: avoid to prevent that to match the test
behavior.

Per https://drafts.csswg.org/css-break/#possible-breaks, UAs may
consider any elements with `overflow: hidden` monolithic.

Firefox can break between `Column2` and `Column2 line2` in the
reference. Add `break-inside: avoid` to prevent that to match the test
behavior.
Copy link
Contributor

@mstensho mstensho left a comment

Choose a reason for hiding this comment

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

I guess this happens because Firefox doesn't honor orphans and widows, but the fix is reasonable, given what the test is supposed to test.

@aethanyc
Copy link
Contributor Author

aethanyc commented Aug 3, 2020

Indeed, Firefox doesn't honor orphans and widows. Thanks for the review!

@emilio emilio merged commit 0b37206 into web-platform-tests:master Aug 10, 2020
@aethanyc aethanyc deleted the fix-multicol-overflow-clip-auto-sized-ref branch August 14, 2020 22:06
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