Bug 10356

Summary: position: absolute/relative/fixed fail with <svg> elements
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: SVGAssignee: Dave Hyatt <hyatt>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P4    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on: 5358    
Bug Blocks:    
Attachments:
Description Flags
test positioning in xhtml
none
test positioning in xhtml
none
Relative positioning test
none
Absolute positioning test
none
Fixed positioning test
none
Fixed positioning test
none
Patch that makes positioning work. eric: review+

Eric Seidel (no email)
Reported 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.
Attachments
test positioning in xhtml (924 bytes, application/xml)
2006-08-11 20:18 PDT, Eric Seidel (no email)
no flags
test positioning in xhtml (1.31 KB, application/xml)
2006-08-12 01:37 PDT, Eric Seidel (no email)
no flags
Relative positioning test (1011 bytes, application/xhtml+xml)
2007-01-14 23:20 PST, Dave Hyatt
no flags
Absolute positioning test (1.10 KB, application/xhtml+xml)
2007-01-14 23:21 PST, Dave Hyatt
no flags
Fixed positioning test (640 bytes, application/xhtml+xml)
2007-01-14 23:26 PST, Dave Hyatt
no flags
Fixed positioning test (654 bytes, application/xhtml+xml)
2007-01-14 23:32 PST, Dave Hyatt
no flags
Patch that makes positioning work. (696 bytes, patch)
2007-01-14 23:50 PST, Dave Hyatt
eric: review+
Eric Seidel (no email)
Comment 1 2006-08-11 20:18:26 PDT
Created attachment 9993 [details] test positioning in xhtml
Dave Hyatt
Comment 2 2006-08-11 22:50:32 PDT
Should have a test for position:fixed also.
Eric Seidel (no email)
Comment 3 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.
Dave Hyatt
Comment 4 2007-01-14 23:20:26 PST
Created attachment 12443 [details] Relative positioning test
Dave Hyatt
Comment 5 2007-01-14 23:21:51 PST
Created attachment 12444 [details] Absolute positioning test
Dave Hyatt
Comment 6 2007-01-14 23:26:58 PST
Created attachment 12445 [details] Fixed positioning test
Dave Hyatt
Comment 7 2007-01-14 23:32:37 PST
Created attachment 12446 [details] Fixed positioning test
Dave Hyatt
Comment 8 2007-01-14 23:50:46 PST
Created attachment 12447 [details] Patch that makes positioning work.
Eric Seidel (no email)
Comment 9 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!
Dave Hyatt
Comment 10 2007-01-15 00:06:29 PST
Fixed in r18855.
Note You need to log in before you can comment on or make changes to this bug.