Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 25612 by figaro1111: WebKit render bug: Absolutely positioned  
inline elements within a container that horizontally centers
http://code.google.com/p/chromium/issues/detail?id=25612

Chrome Version       : 4.0.223.9
Other browsers tested:
      Safari 4: FAIL
   Firefox 3.x: OK
          IE 7: OK
          IE 8: OK

What steps will reproduce the problem?
1. Go to http://htmledit.squarefree.com
2. Paste the following html in the textarea:
<center style="background: lightblue; width: 200px; height: 20px;">
<span style="position:absolute;">inline</span>
</center>

What is the expected result?
The span element should be centered regardless of the position:absolute;
rule, because there are no left or top rules.

What happens instead?
The element does not get centered but rather stays to the left.


I'm not certain if this is the standard behavior defined by any standards
body (W3C), but in every other browser I test this on behaves the way I
described in the "What is the expected result?" part of this issue. This is
an issue with WebKit. Hopefully this can be resolved soon, and both Chrome
and Safari get an updated version of WebKit.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to