[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 251373] HTML5: XMTML5 testcases fail
From:       Gérard Talbot  <browserbugs () gtalbot ! org>
Date:       2011-06-27 20:57:14
Message-ID: E1QbIrq-0007ef-3r () bugs ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=251373





--- Comment #3 from Gérard Talbot <browserbugs gtalbot org>  2011-06-27 20:57:13 ---
Regarding border expressed in percentage (%) for <img> and <object> elements,
it is not only deprecated but it also assumes pixel unit only in HTML 4 spec!

"
border = pixels [CN]
    Deprecated. This attribute specifies the width of an IMG or OBJECT border,
in pixels. The default value for this attribute depends on the user agent. 
"
http://www.w3.org/TR/html4/struct/objects.html#adef-border-IMG

So, I'm quite surprised that it would be considered a valid test for XHTML5.

-----------

The verb modifier "may" has a precise meaning in the spec (HTML4: 
http://www.w3.org/TR/html4/conform.html and CSS 2.1:
http://www.w3.org/TR/CSS21/conform.html#defs ).

"
5. MAY   This word, or the adjective "OPTIONAL", mean that an item is
   truly optional. (...)
"
http://www.ietf.org/rfc/rfc2119.txt

Basically, "may" means if you support it, fine, ok; basically it means "you do
not have to but it's okay if you support it". 

But if you do not support a "may" sentence, do not comply a "may" sentence, the
user agent can still achieve a complete, perfect compliance with the spec
nonetheless.

-------------

As far as HTML5 specification goes so far:

- border on <img> is allowed but discouraged in favor of CSS
http://dev.w3.org/html5/html4-differences/#changed-attributes

- border on <object> element no longer exists
http://dev.w3.org/html5/html4-differences/#absent-attributes

So even #9 
http://samples.msdn.microsoft.com/ietestcenter/html5/xhtml/object_border_pixel.xhtml
is questionable, debattable as a valid test for XHTML5.

- There is no word none whatsoever with regards to rendering and implementing
percentage value on border attribute for both of these elements.

HTML5 differences from HTML4
W3C Working Draft 24 May 2011
http://dev.w3.org/html5/html4-differences/

Gérard

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic