A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Lint_errors/misc-tidy-replacement-issues below:

Help:Lint errors/misc-tidy-replacement-issues - MediaWiki

This category is used for minor issues we might discover until we decide it needs its own category. As of August 2018, this category contains one error called "div-span-flip".

Some pages have changed appearance because Tidy used to exchange div and span HTML (phab:T11737). That said, it appears a number of pages listed on there have no real visible rendering impact despite the presence of style and class attributes on the span tag.

Same as Help:Extension:Linter/html5-misnesting

Why does this happen?[edit]

Tidy exchanged div and span HTML elements so the div wasn't placed inside span. <span><div>Text here</div></span> was changed to <div><span>Text here</span></div>.

This matters only when the span tag had style or class attributes. With Tidy, the style and class attributes had an effect. But, since Remex no longer flips these tags around, the style and class attributes on the span no longer take effect. So, in some cases, this causes visible rendering differences. Linter flags instances only where the span tag had such attributes, but even so, in many cases, there may not be any visible rendering differences.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4