hramenko / thtmlviewer

Automatically exported from code.google.com/p/thtmlviewer
Other
0 stars 0 forks source link

absolute position with right anchor does not work #372

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
> Which steps will reproduce the problem?
1. Load the html page

<html>
<body>
  <div style="position: absolute; right: 0px; top: 0px;">right</div>
</body>
</html>

> What is the expected output?
The text "right" is displayed and anchored on the right side.

> What do you see instead?
The text "right" is displayed on the left side.

> Which version of the product are you using? Which compiler version are you 
using? On which operating system?
svn revision 475. Delphi 2009, Windows 7 Pro.

> Please provide any additional information:
The attached patch handles the case where position=absolute, left=auto and 
right<>auto.

Original issue reported on code.google.com by Andreas....@gmail.com on 15 Aug 2014 at 7:26

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks also for this patch.

r482 applies it.

Original comment by OrphanCat on 18 Aug 2014 at 10:45