Summary: | Changing style element media attribute dynamically doesn't work (embedded s5 css not rendering as slides) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jens Petersen <juhpetersen> | ||||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED CONFIGURATION CHANGED | ||||||||
Severity: | Normal | CC: | ap, bfulgham, hyatt, koivisto, mitz, ntim, pangle, simon.fraser | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=38113 | ||||||||
Attachments: |
|
Description
Jens Petersen
2009-06-03 18:55:06 PDT
Created attachment 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 Created attachment 52878 [details]
reduced test case
Safari, Chrome, and Firefox show the same rendering behavior for this test case. I do not believe any further compatibility issue remains. Not sure if my reduced test case captured the whole issue. Clearly, we enable the inline stylesheet, but would we load an external stylesheet dynamically? |