Skip to content

Commit

Permalink
[css-writing-modes] Fix writing mode test (web-platform-tests#18525)
Browse files Browse the repository at this point in the history
Don't depend on the height of the content area of a inline, it's not
defined. Turn it into an inline block instead.
  • Loading branch information
frivoal authored and natechapin committed Aug 23, 2019
1 parent 1e4ed6e commit 05830d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<div style="position:relative; writing-mode:vertical-rl; width:100px; height:100px; background:green;">
<div style="position:absolute; right:0; top:0; width:0.5em; height:1em; background:red;"></div>
<div style="width:200px;">
<span style="position:relative; color:green; background:green;">XXX</span>
<span style="position:relative; color:green; background:green; display: inline-block">XXX</span>
</div>
</div>

0 comments on commit 05830d5

Please sign in to comment.