Template talk:WPBannerMeta

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Council
WikiProject icon This template relates to the WikiProject Council, a collaborative effort regarding WikiProjects in general. If you would like to participate, please visit the project discussion page.
 



Protected edit request on 11 December 2014[edit]

Please replace Template:WPBannerMeta/core with Template:WPBannerMeta/core/sandbox to bring up to HTML5 standards. Thanks you. — {{U|Technical 13}} (etc) 16:13, 11 December 2014 (UTC)

@Technical 13: You don't need to change "0" to "0px" or "0em" to produce valid HTML5; this syntax is already valid. See for example this validation output which doesn't pick up any of the zeroes. — Mr. Stradivarius ♪ talk ♪ 22:05, 11 December 2014 (UTC)
I'm aware of that Mr. Stradivarius, I make those changes to improve readability and ensure consistency. I guess it is just a personal preference to have perfectly clean code (yes, I try to be a perfectionist sometimes, and realize I most often fail. So, I try - try again and maybe I eventually get it perfect). — {{U|Technical 13}} (etc) 22:20, 11 December 2014 (UTC)
See http://www.w3.org/TR/CSS21/syndata.html#value-def-length - "after a zero length, the unit identifier is optional". Changing a perfectly-valid dimensionless zero to a dimensioned zero (0px, 0em etc.) under the umbrella of "HTML 5 compliance" is deceitful. Please stick to the changes that are demonstrably necessary according to the HTML 5 specification. --Redrose64 (talk) 20:20, 13 December 2014 (UTC)
Yes check.svg Done with this. -- WOSlinker (talk) 20:32, 13 December 2014 (UTC)