mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
This commit is contained in:
parent
fb4f421c8b
commit
296fa2512b
21852 changed files with 2080936 additions and 892894 deletions
|
@ -5,11 +5,12 @@
|
|||
--><!-- Testcase for how we compute the baseline of a horizontal flex container
|
||||
with no flex items. This is the main-axis baseline. The spec says this
|
||||
about this case:
|
||||
https://drafts.csswg.org/css-flexbox/#flex-baselines
|
||||
"Otherwise, the flex container has no first/last main-axis baseline set,
|
||||
and one is synthesized if needed according to the rules of its alignment context."
|
||||
|
||||
The flex container's main-axis baseline is synthesized
|
||||
from ... the flex container's content box.
|
||||
|
||||
I'm taking that to mean the baseline is the bottom of the content box.
|
||||
The alignment context in this case is inline-level so the margin-box
|
||||
should be used to synthesize the baseline.
|
||||
--><html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<title>CSS Test: Testing the baseline of an empty horizontal flex container</title>
|
||||
<link href="mailto:dholbert@mozilla.com" rel="author" title="Daniel Holbert" />
|
||||
|
@ -38,6 +39,7 @@
|
|||
<div style="padding: 10px" class="flexContainer"></div>
|
||||
<div style="border-width: 3px" class="flexContainer"></div>
|
||||
<div style="border-bottom-width: 4px" class="flexContainer"></div>
|
||||
<div style="border-bottom-width: 4px; margin: 2px" class="flexContainer"></div>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue