Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Commit

Permalink
[css-flexbox] Fix css-flexbox-row-*
Browse files Browse the repository at this point in the history
The test was implicitly assuming that each line is 1.5em high.  Make that
explicit by setting line-height: 1.5em in the reference + tests.
  • Loading branch information
cbiesinger committed Sep 24, 2015
1 parent f3b6516 commit 4af9369
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions css-flexbox-1/css-flexbox-row-ref.html
Expand Up @@ -13,6 +13,7 @@
background: green;
height: 3em;
width: 3em;
line-height: 1.5em;
}
</style>
</head>
Expand Down
1 change: 1 addition & 0 deletions css-flexbox-1/css-flexbox-row-reverse-wrap-reverse.html
Expand Up @@ -26,6 +26,7 @@
background: green;
height: 3em;
width: 1.5em;
line-height: 1.5em;

/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
Expand Down
1 change: 1 addition & 0 deletions css-flexbox-1/css-flexbox-row-reverse-wrap.html
Expand Up @@ -26,6 +26,7 @@
background: green;
height: 3em;
width: 1.5em;
line-height: 1.5em;

/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
Expand Down
1 change: 1 addition & 0 deletions css-flexbox-1/css-flexbox-row-reverse.html
Expand Up @@ -24,6 +24,7 @@
background: green;
height: 3em;
width: 3em;
line-height: 1.5em;

/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
Expand Down
1 change: 1 addition & 0 deletions css-flexbox-1/css-flexbox-row-wrap-reverse.html
Expand Up @@ -26,6 +26,7 @@
background: green;
height: 3em;
width: 1.5em;
line-height: 1.5em;

/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
Expand Down
1 change: 1 addition & 0 deletions css-flexbox-1/css-flexbox-row-wrap.html
Expand Up @@ -26,6 +26,7 @@
background: green;
height: 3em;
width: 1.5em;
line-height: 1.5em;

/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
Expand Down
1 change: 1 addition & 0 deletions css-flexbox-1/css-flexbox-row.html
Expand Up @@ -24,6 +24,7 @@
background: green;
height: 3em;
width: 3em;
line-height: 1.5em;

/* make sure UA that doesn't support writing mode and flexbox fails. */
float: right;
Expand Down

0 comments on commit 4af9369

Please sign in to comment.