img_border_percent , object_border_perc and object_border_pixel testcases

Hello,


http://w3c-test.org/html/tests/approved/xhtml5/img_border_percent.xhtml

http://w3c-test.org/html/tests/approved/xhtml5/object_border_perc.xhtml


HTML5 img and object elements do not have border as content attribute. In
HTML4, border on those elements was deprecated and only involved pixel
value, not percentage.

"
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

border on <img> is allowed but discouraged in favor of CSS
http://dev.w3.org/html5/html4-differences/#changed-attributes
Nowhere percentage is said to be allowed or optional.


Please explain why img_border_percent and object_border_perc testcases are
valid. Please elaborate on explanations, quotes from spec, etc..

The object_border_perc testcase even uses <div  valing="center"> .
---------

http://w3c-test.org/html/tests/approved/xhtml5/object_border_pixel.xhtml


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

<object> element does not have a border attribute in HTML5:
http://www.w3.org/TR/html5/the-iframe-element.html#the-object-element

border on <object> element was deprecated in HTML 4.01
"
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, the logical question would be how far back should backward
compatibility go in HTML5?

Please explain why such object_border_pixel testcase is a valid. Please
elaborate on explanations, quotes from spec, etc..

That testcase even uses <div  valing="center"> .

---------

All those testcases have no link to their authors. Is that normal? I mean,
submitted testcases do not have to indicate their author or sources?

All those testcases have no assertion, no explanation for the rendering.
If border="50%" is to be parsed and have a rendering effect with a border,
then shouldn't the testcase have an assertion defining and explaining with
regards to which element (containing block or element itself?) is such
percentage applied on?

There are problems with other testcases too.
There are testcases which seem to me to be questionable, debattable or
having problems.

---------

I wish to submit 2 testcases. Is there a webpage somewhere explaining
steps to follow, guidelines, etc?

Gérard Talbot

Received on Thursday, 29 September 2011 18:37:00 UTC