Add DateTime string attribute to Time

Also handle datetime content attribute when attribute is absent.

Rephrase terms used in the test: dateTime IDL property, datetime
attribute and datetime content attribute.

Remove failure expectations for time element.
This commit is contained in:
In-Ho Yi 2016-11-24 11:42:56 -08:00
parent 99c4821485
commit 25f0317a82
6 changed files with 33 additions and 247 deletions

View file

@ -1,14 +0,0 @@
[001.html]
type: testharness
[the datetime attribute should be reflected by the .dateTime property]
expected: FAIL
[the dateTime IDL property should default to an empty string]
expected: FAIL
[the datetime attribute should be reflected by the .dateTime property even if it is invalid]
expected: FAIL
[the datetime attribute should not reflect the textContent]
expected: FAIL