Mercurial > MadButterfly
annotate inkscape/firefox/content/MadBuilderOverlay.js @ 882:d9d55bb50679 abs_n_rel_center
Parse color and stroke width of tspan object correctly.
Color and stroke width may inherited from parent node, a text. We can
not use loadSVG._set_paint() that only parse current node.
loadSVG._set_paint_style() are used to used inherited style by passing
an aggreagated style.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sat, 25 Sep 2010 20:31:53 +0800 |
parents | 63aaf96209cd |
children |
rev | line source |
---|---|
339
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
1 function start_madbuilder() { |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
2 var url = "chrome://MadBuilder/content/madbuilder.html"; |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
3 var browser = document.getElementById("content"); |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
4 |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
5 browser.loadURI(url, null, null, true); |
63aaf96209cd
* Move location of files so that we can produce XPI file from them.
wycc
parents:
diff
changeset
|
6 } |