mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Support <div align="..."> and <center> in block layout (#31423)
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]: https://github.com/whatwg/html/issues/10149
This commit is contained in:
parent
e5598590ba
commit
a97a04d84c
3 changed files with 75 additions and 22 deletions
|
@ -1,2 +0,0 @@
|
|||
[div-align.html]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue