Issues

ZF-3406: HeadStyle view helper: allow multiple media descriptors

Issue Type: Improvement Created: 2008-06-07T06:11:05.000+0000 Last Updated: 2008-12-21T06:37:16.000+0000 Status: Resolved Fix version(s): - 1.7.2 (23/Dec/08)

Reporter: Bert Van Hauwaert (becoded) Assignee: Jon Whitcraft (sidhighwind) Tags: - Zend_View

Related issues: Attachments:

Description

There is a check on the given media attribute to see if it is valid. (file HeadStyle.php, on line 317 - 321) The check only verifies single values. It should need to support multiple values.

eg. //Works $this->headStyle()->captureStart("APPEND", array("media" => "screen")); //Result

//Doesn't work $this->headStyle()->captureStart("APPEND", array("media" => "screen, projection")); $this->headStyle()->captureStart("APPEND", array("media" => array("screen", "projection")));

//Expected result

Reference media descriptors - http://w3.org/TR/REC-html40/… - http://w3.org/TR/REC-html40/… media = media-descriptors. This attribute specifies the intended destination medium for style information. It may be a single media descriptor or a comma-separated list. The default value for this attribute is "screen".

Comments

Posted by Matthew Weier O'Phinney (matthew) on 2008-12-10T17:15:01.000+0000

Assigning to Jon Whitcraft.

Posted by Jon Whitcraft (sidhighwind) on 2008-12-11T18:52:23.000+0000

This was fixed with r13182

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts