Closed GoogleCodeExporter closed 9 years ago
Original comment by eclecticgeek
on 2 Nov 2011 at 2:35
Original comment by eclecticgeek
on 2 Nov 2011 at 2:36
This issue was closed by revision r452.
Original comment by fabien.menager
on 14 Jan 2012 at 3:05
Beat me to it! I had a solution sitting on my server, but hadn't tested it
fully yet. For reference:
case "media":
$acceptedmedia = self::$ACCEPTED_GENERIC_MEDIA_TYPES;
if ( defined("DOMPDF_DEFAULT_MEDIA_TYPE") ) {
$acceptedmedia[] = DOMPDF_DEFAULT_MEDIA_TYPE;
} else {
$acceptedmedia[] = self::$ACCEPTED_DEFAULT_MEDIA_TYPE;
}
$specifiedmedia = explode(',', $match[3]);
foreach ($specifiedmedia as $media) {
if ( in_array(mb_strtolower(trim($media)), $acceptedmedia ) ) {
$this->_parse_sections($match[5]);
break;
}
}
break;
Original comment by eclecticgeek
on 15 Jan 2012 at 2:51
Hehe :)
Do you think it would be worth supporting @media features ?
http://www.w3.org/TR/css3-mediaqueries/#media1
Original comment by fabien.menager
on 15 Jan 2012 at 11:01
Certainly! The technique has really taken off lately. Plus the media queries
seem like they shouldn't be too difficult to implement.
Original comment by eclecticgeek
on 16 Jan 2012 at 12:48
Original comment by eclecticgeek
on 30 May 2013 at 5:16
Original issue reported on code.google.com by
indrek.k...@gmail.com
on 31 Oct 2011 at 2:31