|Summary:||Changing style element media attribute dynamically doesn't work (embedded s5 css not rendering as slides)|
|Product:||WebKit||Reporter:||Jens Petersen <email@example.com>|
|Severity:||Normal||CC:||firstname.lastname@example.org, email@example.com, firstname.lastname@example.org|
|Version:||528+ (Nightly build)|
I will attached a testcase below. When I view an html file with embedded s5 slides under webkit, the slide mode is not rendered as slides but a large overview rendering toggling mode to overview and back to slide mode shows the text from each individual slide gradually moving further down the window as one goes though them. The same file renders fine in Firefox/gecko. I am actually testing on Linux but I am not sure this is OK specific. It could also be a problem with the generate html but it is ok in mozilla.
Created an attachment (id=30938) [details] test.html This was generated with pandoc-1.2: $ cat > test.txt <<EOF % Test slides % Some One % 2009-06-04 # Slide 1 - morning # Slide 2 - afternoon EOF $ pandoc -t s5 -s test.txt > test.html Normal non-embedded s5 slides render ok.
For the record I also opened a bug for this against pandoc http://code.google.com/p/pandoc/issues/detail?id=145 since I am not sure if this is an html issue or a rendering issue.
I investigated a bit more and the funny is: with <link rel="stylesheet" href="ui/default/slides.css" type="text/css" media="projection" id="slideProj" /> the rendering works but not <style type="text/css" media="projection"> : : </style> Guess a smaller testcase is needed? Google Chrome 5.0.366.2 (Official Build 43280) dev WebKit 533.4