whatwg / whatwg/html

tables should reset the concept of "align descendants"

Open
#369 10 comments 0 reactions 1 assignee View on GitHub

@zcorpan is already working on this.

Since Dec 1, 2015.

topic: rendering
Dominant language
HTML
Stars
9.4k
Forks
3.2k
Avg merge
3d 9h
Merged PRs (30d)
38

Description

https://html.spec.whatwg.org/multipage/rendering.html#align-descendants defines a concept of aligning descendants that is an effect of the align attribute on blocks, in addition to its effect on the CSS text-align property (which applies to lines).

This effect on descendants should be reset by tables. In other words, if a table doesn't have an align attribute that causes an "align descendants" behavior, the table should cause an "align descendants" to the inline-start side, rather than letting an "align descendants" from an ancestor apply to its descendants.

This behavior is interoperable between browsers. See the testcases in https://bugzilla.mozilla.org/show_bug.cgi?id=196292

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.