Bug 40789
| Summary: | WebKit fails common vertical-centering technique, CSS WG agrees WebKit is wrong here | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Beth Dakin <bdakin> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | ahmad.saleem792, ap, bdakin, mitz, rniwa, simon.fraser |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | OS X 10.5 | ||
Beth Dakin
Title says it all.
Test case: http://test.csswg.org/source/contributors/microsoft/incoming/top-with-negative-top-001.xht
Original question: http://lists.w3.org/Archives/Public/www-style/2009Jun/0056.html
Issue as tracked by WG: http://wiki.csswg.org/spec/css2.1#issue-134
It was decided that the correct behavior would be for the Orange band to be *totally* centered based on the middle of the div, not based on the top as it is in firefox.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
Maybe related to bug 14762, according to mitz.
Ahmad Saleem
I took the test case from the linked W3 archive and changed it to following JSFiddle:
Link - https://jsfiddle.net/uew2op4f/show
All browsers including Safari 15.5 on macOS 12.4 are rendering "this is some text" in same way and there is no difference in position etc.
I think this was fixed along the way and this can be marked as "RESOLVED CONFIGURATION CHANGED". Thanks!