Boris Zbarsky wrote:
Laurent Jouanneau wrote:
- it's impossible to put the caret inside an empty element, even if it has a size (with a width and/or height css property for example)

Is this still an issue on trunk?  Seems to work ok over here.

I just verified in my xmleditor by removing my hack and i confirm, it works ! yeaaaaah ! cool :-)

But i have to double click on empty tag to put the caret inside it, is it normal ? Is there a parameter somewhere to say "put the caret after a single click" ? unless this is my code which causes this behavior...


- spaces at the end of a content are ignored by the layout

This is required for HTML, so if you're aiming at a wysiwyg editor..... Note that the built-in editor in Gecko handles this by converting spaces to  .

I saw it, but i would like to avoid doing this sort of convertion. (note : my xml editor is a component based on nsEditor, so it is also a "built-in" editor in gecko, and i will propose patches later ;-) )


See also https://bugzilla.mozilla.org/show_bug.cgi?id=336408 -- that might cover your issue.

That's right, this cover my issue.



What do you think about them ? Do you know if this issues can be solved easily with the new layout engine ?

None of these issues have to do with the reflow branch, if that's what you meant....

Ok, but i thought that the reflow branch permits to fix old layout/css bugs more easily.

Thanks

Laurent
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to