Bug 10356 - position: absolute/relative/fixed fail with <svg> elements
Summary: position: absolute/relative/fixed fail with <svg> elements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P4 Normal
Assignee: Dave Hyatt
URL:
Keywords:
Depends on: 5358
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-11 20:17 PDT by Eric Seidel (no email)
Modified: 2007-01-15 00:06 PST (History)
0 users

See Also:


Attachments
test positioning in xhtml (924 bytes, application/xml)
2006-08-11 20:18 PDT, Eric Seidel (no email)
no flags Details
test positioning in xhtml (1.31 KB, application/xml)
2006-08-12 01:37 PDT, Eric Seidel (no email)
no flags Details
Relative positioning test (1011 bytes, application/xhtml+xml)
2007-01-14 23:20 PST, Dave Hyatt
no flags Details
Absolute positioning test (1.10 KB, application/xhtml+xml)
2007-01-14 23:21 PST, Dave Hyatt
no flags Details
Fixed positioning test (640 bytes, application/xhtml+xml)
2007-01-14 23:26 PST, Dave Hyatt
no flags Details
Fixed positioning test (654 bytes, application/xhtml+xml)
2007-01-14 23:32 PST, Dave Hyatt
no flags Details
Patch that makes positioning work. (696 bytes, patch)
2007-01-14 23:50 PST, Dave Hyatt
eric: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2006-08-11 20:17:14 PDT
I tried to fix positioning with my patch for bug 5358, but seem to have failed.

I've attached a test case which I wrote which demonstrates the problem.
Comment 1 Eric Seidel (no email) 2006-08-11 20:18:26 PDT
Created attachment 9993 [details]
test positioning in xhtml
Comment 2 Dave Hyatt 2006-08-11 22:50:32 PDT
Should have a test for position:fixed also.
Comment 3 Eric Seidel (no email) 2006-08-12 01:37:01 PDT
Created attachment 9999 [details]
test positioning in xhtml

This one now includes a position: fixed test.  It should be noted that Firefox passes relative and fixed, opera passes all 3 tests.  We don't seem to pass any yet, but it's hard to tell if we pass relative, since the content seems to overlap a bit.
Comment 4 Dave Hyatt 2007-01-14 23:20:26 PST
Created attachment 12443 [details]
Relative positioning test
Comment 5 Dave Hyatt 2007-01-14 23:21:51 PST
Created attachment 12444 [details]
Absolute positioning test
Comment 6 Dave Hyatt 2007-01-14 23:26:58 PST
Created attachment 12445 [details]
Fixed positioning test
Comment 7 Dave Hyatt 2007-01-14 23:32:37 PST
Created attachment 12446 [details]
Fixed positioning test
Comment 8 Dave Hyatt 2007-01-14 23:50:46 PST
Created attachment 12447 [details]
Patch that makes positioning work.
Comment 9 Eric Seidel (no email) 2007-01-14 23:57:33 PST
Comment on attachment 12447 [details]
Patch that makes positioning work.

Looks great!  Congrats on your "first" SVG bug fix!
Comment 10 Dave Hyatt 2007-01-15 00:06:29 PST
Fixed in r18855.