Re: [css-backgrounds] many Microsoft border-image tests mixing HTML4 with xmlns="http://www.w3.org/1999/xhtml"

Le 2018-09-24 05:57, Ms2ger a écrit :
> Hi Gérard, all,
> On 21/09/18 21:20, Gérard Talbot wrote:
>> Greg,
>> 
>> Tests in section 6 (border-image) of backgrounds test suite:
>> 
>> http://test.csswg.org/suites/css-backgrounds-3_dev/nightly-unstable/html4/border-image-image-type-001.htm 
>> http://test.csswg.org/suites/css-backgrounds-3_dev/nightly-unstable/html4/border-image-image-type-002.htm 
>> http://test.csswg.org/suites/css-backgrounds-3_dev/nightly-unstable/html4/border-image-width-004.htm 
>> http://test.csswg.org/suites/css-backgrounds-3_dev/nightly-unstable/html4/border-image-slice-006.htm 
>> http://test.csswg.org/suites/css-backgrounds-3_dev/nightly-unstable/html4/border-image-width-001.htm 
>> http://test.csswg.org/suites/css-backgrounds-3_dev/nightly-unstable/html4/border-image-width-002.htm 
>> http://test.csswg.org/suites/css-backgrounds-3_dev/nightly-unstable/html4/border-image-width-003.htm 
>> http://test.csswg.org/suites/css-backgrounds-3_dev/nightly-unstable/html4/border-image-repeat-001.htm 
>> http://test.csswg.org/suites/css-backgrounds-3_dev/nightly-unstable/html4/border-image-repeat-002.htm 
>> http://test.csswg.org/suites/css-backgrounds-3_dev/nightly-unstable/html4/border-image-repeat-003.htm 
>> http://test.csswg.org/suites/css-backgrounds-3_dev/nightly-unstable/html4/border-image-repeat-004.htm 
>> All those Microsoft tests mix HTML4 doctype with 
>> xmlns="http://www.w3.org/1999/xhtml". Therefore those tests will not 
>> be rendered as expected, at least in Chromium 69.0.3497.92 and in 
>> Epiphany 11.0 (WebKit 605.1.15; WebKitGTK+ 2.22.0; build 
>> 3.29.92-55-gda0f38e33).
>> 
>> The tests' filenames extension use "htm" (*not* "xht") while the 
>> source code uses XHTML1. So the build system is misleaded and creates 
>> a non-interoperable HTML4 tests.
>> 
>> eg
>> 
>> https://github.com/web-platform-tests/wpt/blob/master/css/css-backgrounds/border-image-image-type-001.htm
> 
> At least in Epiphany, the problem is not related to the doctype or the
> (ignored) xmlns attribute, but is caused by the fact that these files
> are encoded in UTF-16 without a BOM or other kind of encoding
> declaration.
> 
> HTH
> Ms2ger

Thanks for your feedback on this, Ms2ger.

Greg, can you comment on all this please?

Gérard
-- 
Writing Tests
http://web-platform-tests.org/writing-tests/

General Test Guidelines
http://web-platform-tests.org/writing-tests/general-guidelines.html

Test Review Checklist
http://web-platform-tests.org/reviewing-tests/checklist.html

Test Templates
http://web-platform-tests.org/appendix/test-templates.html

Writing Reftests
http://web-platform-tests.org/writing-tests/reftests.html

Received on Monday, 24 September 2018 19:41:00 UTC