Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support <div align="..."> and <center> in block layout
As per HTML [1], <div align="..."> and <center> should align descendants to the left/center/right. This is similar to having 'auto' margins [2], but without changing their used values [3]. [1]: https://html.spec.whatwg.org/multipage/rendering.html#flow-content-3 [2]: https://html.spec.whatwg.org/multipage/rendering.html#align-descendants [3]: whatwg/html#10149
- Loading branch information
1 parent
0d4e474
commit 2039603
Showing
3 changed files
with
66 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
tests/wpt/meta/html/rendering/non-replaced-elements/flow-content-0/div-align.html.ini
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.