[Webkit-unassigned] [Bug 10794] New: [CSS1] Background-attachment: scroll should scroll within the containing block

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Sat Sep 9 18:40:21 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10794

           Summary: [CSS1] Background-attachment: scroll should scroll
                    within the containing block
           Product: WebKit
           Version: 420+ (nightly)
          Platform: PC
               URL: http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/Back
                    groundCenterOfBodyBugInIE7.html
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: browserbugs at gtalbot.org


According to CSS 1, section 5.3.5 

http://www.w3.org/TR/CSS1#background-attachment

and CSS 2.1, section 14.2.1

http://www.w3.org/TR/2006/WD-CSS21-20060411/colors.html#background-properties

when background-attachment is scroll, then a background-image should scroll
within its containing block, not within the viewport.

"If a background image is specified, the value of 'background-attachment'
determines if it is fixed with regard to the canvas or if it scrolls along with
the content."
http://www.w3.org/TR/2006/WD-CSS21-20060411/colors.html#background-properties

Steps to reproduce:
-------------------
1- Load the provided URL
2- resize vertically the browser window to change the vertical dimension of the
viewport.

Expected results:
-----------------
the lime squared "+" image should remain vertically in the middle of its
containining block, which is the body. The lime squared + image should not
scroll up and down.

Notes
-----
- I used Swift 0.1 to discover this bug. I do not have (nor can access) a Mac
and/or Safari 2.x
- I have searched for duplicates and couldn't find any.
- The testcase at provided URL can be improved if needed, if requested.
- I believe the original testcase coming from Ian "Hixie" Hickson.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list