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

<colgroup> rendering rules should only apply if it's styled as a colgroup #1800

Open
zcorpan opened this issue Sep 20, 2016 · 0 comments
Open

Comments

@zcorpan
Copy link
Member

zcorpan commented Sep 20, 2016

From #1799

 <p>For the purposes of the CSS table model, the <code>colgroup</code> element, if it contains no
  <code>col</code> element, is expected to be treated as if it had as many such children as its
  <code data-x="attr-colgroup-span">span</code> attribute <span data-x="rules for parsing non-negative
  integers">specifies</span>.</p>

@bzbarsky

The ruby/colgroup parts are simply nonsense, imo. The HTML spec should simply define the default UA styling for those (setting the display) property and say nothing else. I guess you still have to define what span means on colgroup, but that should be restricted to cases when the colgroup is in fact styled as a colgroup, and should explicitly talk about child table-column boxes somewhere, not child elements.

If I style my <colgroup> as display: table-row-group then none of the stuff quoted above should apply, of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant