[wp-trac] [WordPress Trac] #37004: Html5 / W3C Validation
WordPress Trac
noreply at wordpress.org
Mon May 8 10:27:08 UTC 2017
#37004: Html5 / W3C Validation
-------------------------------------------------+-------------------------
Reporter: arena | Owner: mihai2u
Type: defect (bug) | Status: assigned
Priority: low | Milestone: 4.8
Component: Administration | Version:
Severity: trivial | Resolution:
Keywords: good-first-bug has-screenshots has- | Focuses:
patch | administration
-------------------------------------------------+-------------------------
Comment (by mihai2u):
@afercia
The colspan attributes I removed were always dynamically populated by JS.
The colSpanChange() function looks at elements with a "colspanchange"
class from what I saw in the code and adds the colspan attribute and value
automatically.
The JS does not require the attribute to be present (with an empty or
placeholder value), because the attribute gets created with the JS call to
set the attribute to a particular value. I verified that the areas where
the placeholder colspan was removed from HTML still function well with
javascript populating the correct values according to which page / browser
size the element appears on.
Regarding your reference to #40610 - this offers the same patch in the
same fashion as that ticket there - the removal of the same attribute.
If you'd like me to remove it from this ticket and allow the patch to come
through #40610 instead, just ask and I'll accommodate. Browser-based input
attribute validation has always been sketchy at best.
Looking forward to getting a checkmark on this ticket, standing by to
further support it to completion.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37004#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list