(Hidden by Administrator)
Bug 1580346 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
Steps to reproduce:
open this HTML with Firefox
```html
<!DOCTYPE html>
<html>
<head>
<style>
html{direction:rtl;}
table,td,tr {
border: 2px solid black;
}
</style>
</head>
<body>
<table>
<tr> <td>foobar</td><td>foobar</td> </tr>
<tr> <td>foobar</td><td>foobar</td> </tr>
</table>
</body>
</html>
```
Actual results:
The table borders will be calculated wrong Like in this picture
https://i.stack.imgur.com/V1Iip.jpg
Expected results:
The table borders should be calculated like if direction is ltr , like in this picture
https://i.stack.imgur.com/73r2U.jpg
chrome shows the table as expected on both directions
This is a question I posted on stackoverflow.com 3 years ago when I encountered this issue
https://stackoverflow.com/questions/38816104/why-the-table-margins-go-wrong-when-it-is-dir-rtl