- From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
- Date: Wed, 24 Feb 2010 20:46:05 +0100
- To: www-amaya-dev <www-amaya-dev@w3.org>
Here is a bug reports. I file it here for discussion. But I can also in the Amaya bug tracker, if you wish. Justification: Use case 1: Neither HTML4 nor XHTML do require whether the data="" attribute nor the type="" attribute inside <object>. Thus one should - only for that reason - be able to use <object> without any of those. The <object> container can be used for inserting e.g. a table inside a paragraph. Is valid. And displays fine - even in IE. Use case 2: If one uses <object> for an image or for an svg or whatever, then one may want to edit the content of the <object> - to provide useful fallback. So, if one simply removes data="" or the type="" (or something), then Amaya will render the content of <object> - so that you can (in theory - see below) edit the fallback in WYSIWYG mode. Bug report: 1: Select Insert->Object Goal is to only insert <object> as a container, so make sure to not select any MIME type and no file to insert. You can fill out the alternative text field, if you wish. 2: FIRST BUG: Nothing gets inserted. 3: SECOND BUG: There is no way to insert the object container only - without any image etc. 4: So, either insert an image as an <OBJECT> - or insert <OBJECT> manually, directly in the code. Thereafter, remove data="" and or type="" or make e.g. data="" point to a non existing image. Result: The content of <object> displays fine. You should now have something like <object>Lorem ipsum</object> in the code. 7: Try to edit the "Lorem ipsum" text directly in the source. Save. Result: Works fine. 8: Now, try to edit "Lorem ipsum" via WYSIWYG. And then Save. 9: THIRD BUG: You get the dialog window which offers you to insert a SVG object. -- leif halvard silli
Received on Wednesday, 24 February 2010 19:46:40 UTC