Bug 9213 - Absolutely positioned objects with relatively positioned inline containing blocks are rendered incorrectly
Summary: Absolutely positioned objects with relatively positioned inline containing bl...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 5722 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-01 11:51 PDT by Sam Weinig
Modified: 2006-12-16 12:48 PST (History)
2 users (show)

See Also:


Attachments
patch (22.57 KB, patch)
2006-06-01 12:01 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff
patch 2 (22.58 KB, patch)
2006-06-03 14:23 PDT, Sam Weinig
hyatt: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2006-06-01 11:51:38 PDT
CSS 2.1 specifies that an absolutely positioned object may have a relatively positioned inline element as its containing block, but in such cases the equation for determining the bounds change from the ordanary.  Currently no browsers that I have tested fully implement the specified behavior.
Comment 1 Sam Weinig 2006-06-01 12:01:43 PDT
Created attachment 8648 [details]
patch
Comment 2 Dave Hyatt 2006-06-02 02:10:37 PDT
Typo in the comments in two places:

"relativly" should be "relatively"

Should we be worried about the fact that this doesn't match other browsers?
Comment 3 Joost de Valk (AlthA) 2006-06-02 02:14:32 PDT
I think we should.
Comment 4 Sam Weinig 2006-06-02 13:34:10 PDT
I would be happy to make a quirks mode variation, but I am really unsure what we want to emulate from the other browsers.  Our current behavior does not match either Firefox or Opera (the only two I have access to), and I am not sure what we would want to mimic.  I will of course fix the typos, but I would also love to know what a desired quirks mode behavior would be.
Comment 5 Sam Weinig 2006-06-03 14:23:43 PDT
Created attachment 8683 [details]
patch 2

Fixes the misspellings.
Comment 6 Dave Hyatt 2006-06-04 11:53:22 PDT
Comment on attachment 8683 [details]
patch 2

r=me
Comment 7 David Kilzer (:ddkilzer) 2006-06-04 14:57:15 PDT
(In reply to comment #6)
> (From update of attachment 8683 [details] [edit])
> r=me

There were no *-expected.txt results in this patch.  In the future, it would be helpful to have these test results included in the patch to make sure a local build is working properly before commit.  Thanks!
Comment 8 David Kilzer (:ddkilzer) 2006-06-04 15:36:54 PDT
Committed revision 14727.
Comment 9 mitz 2006-12-16 12:48:48 PST
*** Bug 5722 has been marked as a duplicate of this bug. ***