Bug 235523 - [CSS 2.1 Conformance] Relatively positioned content inside container with overflow auto or scroll causing overflow should create active scrollbar(s)
Summary: [CSS 2.1 Conformance] Relatively positioned content inside container with ove...
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.7.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: accessibility, reproducible, testcase
Depends on:
Blocks:
 
Reported: 2010-04-27 05:52 UTC by Gérard Talbot (no longer involved)
Modified: 2012-01-13 06:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gérard Talbot (no longer involved) 2010-04-27 05:52:56 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

Testcases
---------

A)
http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/position-relative-034.htm

and

B)
http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/position-relative-036.htm

Actual results in Konqueror 4.4.2
---------------------------------
A) There is no horizontal scrollbar present, so the content is not reachable, scrollable.

B) There is an inactive (disabled) horizontal scrollbar, so the content is not reachable, scrollable.

Expected results
----------------
A) There should be an active (enabled) horizontal scrollbar allowing the user to reach, access, view, read the content.

B) There should be an active (enabled) horizontal scrollbar allowing the user to reach, access, view, read the content.

Reference
---------
"
 (...) if relative positioning causes an 'overflow:auto' or 'overflow:scroll' box to have overflow, [then] the UA must allow the user to access this content (at its offset position), which, through the creation of scrollbars, may affect layout.
"
http://www.w3.org/TR/CSS21/visuren.html#relative-positioning

Notes
-----
Firefox 3.5.9, Firefox 3.6.3, IE8, Opera 10.10 and Opera 10.51 pass those 2 testcases.

regards, Gérard
Comment 1 Gérard Talbot (no longer involved) 2011-05-31 14:34:12 UTC
2 additional testcases:

Relatively positioned child inside a parent container with overflow set to scroll
http://test.csswg.org/suites/css2.1/20110323/html4/overflow-003.htm (RC6)

Relatively positioned child inside a parent container with overflow set to auto
http://test.csswg.org/suites/css2.1/20110323/html4/overflow-004.htm (RC6)

Konqueror 4.6.3 fail both testcases.

Firefox 4.0.1, Opera 11.11, Chrome 11.0.696.71 pass both testcases.

Gérard
Comment 2 Gérard Talbot (no longer involved) 2011-05-31 14:40:07 UTC
3rd additional testcase:

Relatively positioned child inside a parent container with overflow set to
scroll via inherit
http://test.csswg.org/suites/css2.1/20110323/html4/overflow-005.htm (RC6)

Konqueror 4.6.3 fail this testcase.

Firefox 4.0.1, Opera 11.11, Chrome 11.0.696.71 pass such testcase.

Gérard
Comment 3 Gérard Talbot (no longer involved) 2012-01-13 06:20:15 UTC
Latest version of testcases
---------------------------

A)
http://test.csswg.org/suites/css2.1/latest/html4/position-relative-034.htm

and

B)
http://test.csswg.org/suites/css2.1/latest/html4/position-relative-036.htm

Konqueror 4.7.4 (KHTML rendering engine) fails those position-relative-034 and position-relative-036 tests. 

I get expected results now for overflow-003, 004 and 005 tests.

CONFIRMING