You are here: Foswiki>Tasks Web>Item11608 (05 Mar 2012, GeorgeClark)Edit Attach

Item11608: Recent HTML::Tidy and Alien::Tidyp reject empty <style> tags

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: UnitTestContrib
Branches: Release01x01 trunk
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
ArthurClemens reports this is due to lines:

(03:19:36 PM) ArthurClemens: <style type="text/css" media="all">
(03:19:37 PM) ArthurClemens: %IF{ "$ FOSWIKI_LAYOUT_URL" then="@import url('%FOSWIKI_LAYOUT_URL%');"}%
(03:19:37 PM) ArthurClemens: %IF{ "$ FOSWIKI_STYLE_URL"  then="@import url('%FOSWIKI_STYLE_URL%');"}%
(03:19:37 PM) ArthurClemens: %IF{ "$ FOSWIKI_COLORS_URL" then="@import url('%FOSWIKI_COLORS_URL%');"}%
(03:19:37 PM) ArthurClemens: </style>

(03:23:11 PM) ArthurClemens: IE6 (perhaps 7) had a max limit of tags in head
(03:23:45 PM) ArthurClemens: so separate <style> tags were bad practice
(03:24:20 PM) ArthurClemens: 31 was the limit

Update test to remove the warnings for empty Style tags.

-- GeorgeClark - 05 Mar 2012

 

ItemTemplate edit

Summary Recent HTML::Tidy and Alien::Tidyp reject empty <style> tags
ReportedBy GeorgeClark
Codebase 1.1.4, trunk
SVN Range
AppliesTo Engine
Component UnitTestContrib
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:984d7431869d distro:8935b1ac5a74
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches Release01x01 trunk
trunkCheckins distro:984d7431869d
Release01x01Checkins distro:8935b1ac5a74
Topic revision: r3 - 05 Mar 2012, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy