Bug 164867 - CSS 2.1 Conformance Test Suite - wrong CSS from XHTML
Summary: CSS 2.1 Conformance Test Suite - wrong CSS from XHTML
Status: REOPENED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.8.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: reproducible, testcase
Depends on:
Blocks:
 
Reported: 2008-06-24 21:58 UTC by Michał Kudła
Modified: 2012-06-21 18:04 UTC (History)
2 users (show)

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 Michał Kudła 2008-06-24 21:58:50 UTC
Version:           4.00.83 (KDE 4.0.83 (KDE 4.1 Beta2) (using 4.00.83 (KDE 4.0.83 (KDE 4.1 Beta2), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24-16-generic

Under page with application/xhtml+xml content-type
(http://www.w3.org/Style/CSS/Test/CSS2.1/current/xhtml1/by-section.xht)
CSS Style is not applied to list (table)
But, under page with text/html
(http://www.w3.org/Style/CSS/Test/CSS2.1/current/html4/by-section.htm)
page looks OK.
Comment 1 Dario Andres 2008-07-25 04:08:42 UTC
Using KDE 4.1.00 (KDE 4.0.99 (4.1 RC1+)) (KDEmod) in ArchLinux: I can reproduce this behaviour
Comment 2 Dario Andres 2008-07-30 18:15:12 UTC
Using KDE 4.1.00 (KDE 4.1 final) (KDEmod) in ArchLinux i686 : I can reproduce this behaviour 
Comment 3 Dario Andres 2008-08-19 18:06:41 UTC
I can also reproduce this behaviour using:
Version 4.1.62 (KDE 4.1.62 (KDE 4.2 >= 20080814))
kdelibs4.2 svn rev.849324
kdebase4.2 svn rev.849337
ArchLinux 2.6.25-zen2-20080814 i686 
Comment 4 Dario Andres 2008-12-10 23:45:38 UTC
I can still reproduce this behaviour using:
Qt: 4.4.3
KDE: 4.1.82 (KDE 4.1.82 (KDE 4.2 >= 20081204))
kdelibs svn rev. 895490 / kdebase svn rev. 895490
Comment 5 Michał Kudła 2010-04-09 16:30:36 UTC
kde 4.4.2, QT 4.6.2
OK.
Comment 6 Gérard Talbot (no longer involved) 2010-04-09 18:09:54 UTC
Updated URLs
------------

CSS2.1 Test Suite By Chapter (served with application/xhtml+xml content-type)
http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/xhtml1/toc.xht

CSS2.1 Test Suite By Chapter (served with text/xml content-type)
http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/toc.html

CSS code (declarations, rules) is not applied consistently to testcases served with application/xhtml+xml content-type. Some exact same (identical) testcases are rendered differently

4 examples:

http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/xhtml1/list-style-019.xht

versus

http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/list-style-019.htm



http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/xhtml1/c45-bg-canvas-000.xht

versus

http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/c45-bg-canvas-000.htm



http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/xhtml1/margin-collapse-clear-014.xht

versus

http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/margin-collapse-clear-014.htm



http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/xhtml1/margin-collapse-clear-015.xht

versus

http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/margin-collapse-clear-015.htm


Over here, I am using KDE 4.2, Qt 4.6.2, Linux 2.6.31-19-generic and I think this bug should be REOPENED, otherwise at least reinvestigated.

regards, Gérard
Comment 7 Gérard Talbot (no longer involved) 2010-04-09 18:11:21 UTC
Sorry, I meant to say that I am using KDE 4.4.2 and not KDE 4.2.

Gérard
Comment 8 Gérard Talbot (no longer involved) 2012-06-21 17:59:09 UTC
CSS code (declarations, rules) is not applied consistently to testcases served with application/xhtml+xml content-type. Some exact same (identical) testcases are rendered differently

4 examples:

http://test.csswg.org/suites/css2.1/latest/xhtml1/list-style-019.xht

versus

http://test.csswg.org/suites/css2.1/latest/html4/list-style-019.htm



http://test.csswg.org/suites/css2.1/latest/xhtml1/c45-bg-canvas-000.xht

versus

http://test.csswg.org/suites/css2.1/latest/html4/c45-bg-canvas-000.htm



http://test.csswg.org/suites/css2.1/latest/xhtml1/margin-collapse-clear-014.xht

versus

http://test.csswg.org/suites/css2.1/latest/html4/margin-collapse-clear-014.htm



http://test.csswg.org/suites/css2.1/latest/xhtml1/margin-collapse-clear-015.xht

versus

http://test.csswg.org/suites/css2.1/latest/html4/margin-collapse-clear-015.htm


I am using
KDE Platform Version: 4.8.4
Konqueror version: 4.8.4 (with KHTML rendering engine)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-25-generic-pae i686 (32bits)
Distribution: Kubuntu 12.04 LTS
here.

REOPENING
Comment 9 Gérard Talbot (no longer involved) 2012-06-21 18:04:54 UTC
The rendering mode of testcases served with application/xhtml+xml content-type is "Almost standard" and not "Strict".

Load any of the 4 examples with the .xht extension and then do:
View/View Document Information Ctrl+I/ Rendering mode:

Gérard