On Tuesday, November 21, 2017 at 8:45:45 AM UTC-8, Titus Fortner wrote:
>
> we're actually looking to relax the strict requirements in an upcoming 
> release, so this might not be an issue soon.
>
> On Nov 21, 2017 10:13 AM, "Super Kevy" <[email protected]> wrote:
>
>> Check W3Shools  https://www.w3schools.com/Tags/ref_standardattributes.asp 
>> and https://www.w3schools.com/tags/att_name.asp
>>
>> That attribute is not a default as far as I understand.  
>>
>>
>>>
Part of me worries about supporting HTML that is not within what is 
specified by the RFC's that define the HTML standards.  It seems like a 
'good thing' that we don't support (as an example) the name attribute on a 
element where that attribute is not specified as an attribute of that tag 
type. 

That said, we already see lots of technically invalid HTML, and the 
browsers are all for the most part tolerant of that sort of thing.  For 
example I've lost count of the number of times I've seen duplicated ID 
values within a page, which is technically invalid HTML, but yet you see 
it.    So given website devs are gonna do what website devs are gonna do, I 
guess it's not incumbent on us to make life difficult for the people 
testing those sites, by limiting our use of what attributes can be used to 
identify given elements on a page.

Given I don't think any developer is going to modify their bad practices 
just because we stick to the spec, then it's not really like we would be 
actively 'encouraging' the use of technically invalid HTML.   Further, 
given even things like the google homepage yield a ton of validation errors 
<https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.google.com%2F>, I'm 
starting to think any attempt on our part to enforce strict adherence to 
the HTML spec is just tilting at windmills. 

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to