From: Luca Padovani Date: Wed, 24 Mar 2004 08:19:28 +0000 (+0000) Subject: * added embedding test (HTML) X-Git-Tag: v0_0_4~1 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=78cf601fd8b8dbb386b0db315dcbfdbe8256c15f;p=helm.git * added embedding test (HTML) * new things to do --- diff --git a/helm/gtkmathview-bonobo/TODO b/helm/gtkmathview-bonobo/TODO index 164380a5c..8f1032a0c 100644 --- a/helm/gtkmathview-bonobo/TODO +++ b/helm/gtkmathview-bonobo/TODO @@ -9,3 +9,13 @@ * try to implement size negotiations with the plugin that sends javascript to the browser. +* access object's attribute and children. Jean claims he does + this already, but the code seems to access GLib properties only, + no external params + +* implement a size negotiation mechanism from the plugin using + javascript. The plugin understands its ID from the object element, + calculates the size and sends a URL with a javascript call to a function + that sets width, height attributes of the object element + + diff --git a/helm/gtkmathview-bonobo/test/embedding.html b/helm/gtkmathview-bonobo/test/embedding.html new file mode 100644 index 000000000..674012ff4 --- /dev/null +++ b/helm/gtkmathview-bonobo/test/embedding.html @@ -0,0 +1,41 @@ + + + + + + + + + +

GtkMathView-Bonobo test page

+ + The embedded object should display a mathematical formula. +
+ + + + + x + 2 + + = + click for the answer + + + +
+ +
+ + + + + diff --git a/helm/gtkmathview-bonobo/test/embedding.xml b/helm/gtkmathview-bonobo/test/embedding.xml index b0d12e52d..57fe49a87 100644 --- a/helm/gtkmathview-bonobo/test/embedding.xml +++ b/helm/gtkmathview-bonobo/test/embedding.xml @@ -1,7 +1,19 @@ - + + + @@ -10,21 +22,22 @@ The embedded object should display a mathematical formula.
- - No viewer capable of displaying the test document installed. - - - - x - 2 - - = - click for the answer - - + + + + x + 2 + + = + click for the answer + - +
+ Size +
+ +