View Single Post
Old 01-23-2015, 03:38 PM   #3
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,165
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by iliakan View Post
For example, the HTML:
Code:
<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <style>

.link {
  fill: none;
  stroke: #BEC3C7;
  stroke-width: 1px;
}

.domtree {
  border: 1px solid #f5f2f0;
  border-radius: 4px;
}
</style>
</head>
<body>  
  See the bug:
<div class="domtree"><svg height="350" width="690"><path d="M7,0L7,30L40.333333333333336,30" class="link"></path></svg></div>
</body></html>
After conversion to EPUB looses the .link style.

I mean, literally looses it, the converter cuts it out (not in stylesheet any more), so the SVG is not styled correctly.

What can I do with it?
From what I can find Epub does not support "stroke".

bernie.
gbm is offline   Reply With Quote