[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 251373] HTML5: XMTML5 testcases fail
From: Gérard Talbot <browserbugs () gtalbot ! org>
Date: 2011-06-27 20:27:54
Message-ID: E1QbIPS-0007OJ-AI () bugs ! kde ! org
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=251373
Gérard Talbot <browserbugs@gtalbot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |browserbugs@gtalbot.org
--- Comment #2 from Gérard Talbot <browserbugs gtalbot org> 2011-06-27 20:27:53 ---
> Some of the XHTML5
> tests fails:
>
> #2 Body element with link attribute (text does not get color of visited link
> after clicking)
http://samples.msdn.microsoft.com/ietestcenter/html5/xhtml/body_link.xhtml
There is no initial, default (user agent style sheet) CSS rule for :visited or
a:visited in Konqueror, that is after examining html4.css . So, this may not be
a Konqueror bug. The testcase assumes and presumes that the user agent style
sheet has and uses an initial, default (user agent style sheet) CSS rule for
:visited or a:visited.
The result of Microsoft test here does not prove a flaw, a failure or an
incorrect implementation as far as rendering visited links in a color.
> #4 Colgroup element with valign attribute set to bottom
> #5 Colgroup element with valign attribute set to top
http://samples.msdn.microsoft.com/ietestcenter/html5/xhtml/colgroup_valign_bottom.xhtml
http://samples.msdn.microsoft.com/ietestcenter/html5/xhtml/colgroup_valign_top.xhtml
valign is a non-CSS presentational hint and a deprecated attribute.
"The UA *_may_* choose to honor presentational attributes in an HTML source
document."
6.4.4 Precedence of non-CSS presentational hints
http://www.w3.org/TR/CSS21/cascade.html#preshint
The thing is valign would normally be mapped to CSS vertical-align property.
But, vertical-align does not apply to colgroup elements; it should apply only
to table cell elements and inline-level elements.
http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align
So, XHTML5 or not, I'd be surprised if this test pass in HTML 4.01 transitional
anyway.
Even Microsoft CSS 2.1 test suite contribution confirms this in
http://test.csswg.org/suites/css2.1/20110323/html4/vertical-align-applies-to-005.htm
So, there is a contradiction here and there is a leniency provided in section
6.4.4 of CSS 2.1.
FWIW, Firefox 5.0 fails those 2 Colgroup element with valign attribute tests...
and probably would fail those 2 same tests written in HTML 4.01 transitional.
> #6 Style inside comments
> #7 Image element with border in % (50% testcase fails)
http://samples.msdn.microsoft.com/ietestcenter/html5/xhtml/img_border_percent.xhtml
border expressed in percentage in CSS code is invalid:
http://test.csswg.org/suites/css2.1/latest/html4/border-width-013.htm
border attribute specified with a percentage value is extremely rare, is very
likely to be inconsistently rendered in mainstream browsers, border attribute
on image is deprecated.
For all reasons given before (leniency, precedence of non-CSS hints, etc), this
barely can be considered a flaw, even a minor flaw, in the border
implementation.
> #8 Object element with border in %
http://samples.msdn.microsoft.com/ietestcenter/html5/xhtml/object_border_perc.xhtml
Same reasons.
> #9 Obect element with border in pixels
This one has merits: border in pixels on HTML object element should be rendered
... but I can not silenced the fact that the testcase uses this code:
<div valing="center">
.. which is invalid attribute specification.
regards, Gérard
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic