Bug 235517 - [CSS 2.1 Conformance] A block box within an inline box must also be affected by relative positioning
Summary: [CSS 2.1 Conformance] A block box within an inline box must also be affected ...
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: reproducible, testcase
Depends on:
Blocks:
 
Reported: 2010-04-27 04:17 UTC by Gérard Talbot (no longer involved)
Modified: 2012-01-13 05:57 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 04:17:19 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

Testcase
--------

http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/inline-box-002.htm

Actual results in Konqueror 4.4.2
---------------------------------
The orange box is within the yellow box, toward the top of the yellow box.

Expected results
----------------
The orange box should be between the two blue boxes.

Notes
-----
Firefox 3.5.9, Firefox 3.6.3, IE8 pass this testcase.

regards, Gérard
Comment 1 Gérard Talbot (no longer involved) 2010-04-28 03:55:42 UTC
Reference
---------

"
When an inline box contains a block box, the inline box (and its inline ancestors within the same line box) are broken around the block. The line boxes before the break and after the break are enclosed in anonymous boxes, and the block box becomes a sibling of those anonymous boxes. When such an inline box is affected by relative positioning, the relative positioning also affects the block box.
"
CSS 2.1, section 9.2.1.1 Anonymous block boxes
http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level

regards, Gérard
Comment 2 Gérard Talbot (no longer involved) 2012-01-13 05:56:46 UTC
Testcase
--------

http://test.csswg.org/suites/css2.1/latest/html4/inline-box-002.htm