mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add the 'direction' property and fix one RTL layout corner case.
This commit is contained in:
parent
43beda87b2
commit
f4ed464149
5 changed files with 54 additions and 7 deletions
15
src/test/ref/overconstrained_block.html
Normal file
15
src/test/ref/overconstrained_block.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Block with over-contrained margins+borders+padding+width = containing block width</title>
|
||||
<style>
|
||||
body { width: 300px; margin: 0 }
|
||||
p { background: green; width: 200px; height: 100px; margin: 20px 70px }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p style="margin: 20px 70px"></p>
|
||||
<p style="margin: 20px 70px; direction: rtl"></p>
|
||||
<p style="margin: 20px 120px"></p>
|
||||
<p style="margin: 20px 120px; direction: rtl"></p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue