[TYPO3-core] RFC: #15110: Validation warnings with sprites
Steffen Ritter
info at rs-websystems.de
Sun Jul 25 18:34:13 CEST 2010
Am 14.07.2010 07:05, schrieb Georg Ringer:
> Hi,
>
> this is a SVN patch request.
>
> Type: Bugfix (tiny)
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=15110
>
> Branches: 4_4, Trunk
>
> Problem:
> Switching to sprites leads to quite a few new validation warnings.
>
> Simple reason:
> function buildSpriteHtmlIconTag(array $tagAttributes, $innerHtml =
> ' ', $tagName = 'span') {}:
>
> Default should be nbsp; but in the previous call of getSpriteIcon()
> $innerHtml is set to "":
> $innerHtml = (isset($options['html']) ? $options['html'] : '');
>
> Solution:
> Additional check should be made.
>
> How to test:
> 1. Validate the DB list view
> 2. Apply patch& revalidate
> 3. Check if everything looks normal
>
> regards
> Georg
attached is my v2, which streamlines the whole thing within the api and
adds css so that the is not selectable.
for 4.5 we should make this configurable at all.
regards
Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rfc15110_v2.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100725/f61bc83b/attachment.asc>
More information about the TYPO3-team-core
mailing list