[Mozile] Mozile & images
Athanaël Guitard
a.guitard at free.fr
Wed Jan 10 06:50:57 PST 2007
Max d'Ayala a écrit :
> When images are simple inline images I can select one by placing the
> caret before it, then pressing shift and the right arrow key. In your
> example I think Mozile has difficulty selecting the image because it is
> floated. Mozile doesn't take floats into account and just steps through
> everything in source code order. Hence, the rendered image doesn't
> appear next to the text it is adjacent to in the source code.
>
Ok, I think so, but it was working, it woul'd be possible to make it
work again, no ?
> As to why the selection behaviour has changed in Firefox 2, I don't have
> the answer to that. Maybe there is a new or changed preference setting
> that affects how images are selected. Any suggestions welcome.
>
It's possible... I tryed to re-instal an old firefox, 1.5.xx with
corresponding mozile to find a working couple, but I don't manage to
find one...
Maybe I'll search through about:config...
> Are you using your own javascript commands to set the image properties,
> I couldn't see how you intended to do that.
>
No, I have predefined templates and my customers can chose witch one to
use...
> Max
>
>
> Athanaël Guitard wrote:
>
>> Hello Max,
>>
>>> This code works for me when edited from my local computer. I can delete
>>> the image ok and insert the image again.
>>>
>>>
>> Yes me too...
>>
>>> Is the image url meant to have a // after the domain name? This is the
>>> only odd thing I can see. http://www.payscevennes.fr//img/photos/1156779389_chartes.jpg
>>>
>>>
>> Yes this is a problem but witch won't cause a real problem... I
>> corrected it but nothing change...
>>
>>> It can be difficult to select an image position with the mouse, you have
>>> to click just off the side of the image. I can't remember if it worked
>>> in earlier versions by clicking on the image. Alternatively you can use
>>> the keyboard navigation arrows to get to the image by clicking on text
>>> near it. Possibly there is a selection or focus issue because surely
>>> clicking on an image should move the cursor there. Is this what you mean?
>>>
>>>
>> I can add images, erase images using the keyboard, but when clicking
>> on an image nothing marks that it's selected and the caret stays at
>> his place... There is no box around the image and it does'nt become
>> selected.
>> As it's impossible to select an image it's impossible to applicate it
>> a style (left align, ...) to an image...
>>
>> Test : http://www.athanael.com/test_mozile/TEST.php
>> id : max
>> pass : dayala
>>
>> ...
>>
>>> Max
>>>
>>> Athanaël Guitard wrote:
>>>
>>>
>>>> Thanks Max,
>>>>
>>>> I looked the points you gave me but I hav to sleep...I'll certainly be
>>>> back tomorrow with more infos and certainly an accessible demo...
>>>>
>>>> I use, and my customers do so, Firefox 2.0 with any Mozile (>0.6.27) on
>>>> windows XP...
>>>>
>>>> I can see the editable area, the caret is blinking well, but impossible
>>>> to catch any image...
>>>>
>>>> I use :
>>>>
>>>> #div44{
>>>> -moz-user-modify: read-write;
>>>> -moz-user-input: enabled;
>>>> -moz-user-select: text;
>>>> -moz-user-focus: normal;
>>>> border: 1px dashed #f00;
>>>> }
>>>>
>>>> <div id="div44" class="editor">
>>>> <div class="bloc4">
>>>> <br><br>
>>>> <div class="bordure">
>>>> <div id="panneau">
>>>> <h2>Plus d'infos</h2>
>>>> <p class="aleft"><a
>>>> href="http://www.payscevennes.fr/telechargements/documents/1155915925_scot.pdf" <http://www.payscevennes.fr/telechargements/documents/1155915925_scot.pdf>>Téléchargez
>>>> le PDF ici</a><br></p>
>>>> </div>
>>>> <img src="http://www.payscevennes.fr//img/photos/1156779389_chartes.jpg" <http://www.payscevennes.fr//img/photos/1156779389_chartes.jpg>
>>>> alt="Pays Cévennes" title="Pays Cévennes" height="320" width="260">
>>>> <h3>Schéma de Cohérence Territoriale</h3>
>>>> <div>
>>>> <br><br>Le Schéma de Cohérence Territoriale, dit SCOT, est un nouveau
>>>> cadre pour planifier le développement des territoires.<br> (...)
>>>> Le SCOT s’efforce donc de tendre vers plus de cohérence, plus de
>>>> concertation et un développement durable.
>>>> </div>
>>>> </div>
>>>> </div>
>>>> </div>
>>>>
>>>> I only tried editing HTML docs...
>>>>
>>>> Once more thanks for your attention...
>>>>
>>>> Athanaël
>>>>
>>>>
>>>>
>>>>> Hello Athanaël.
>>>>>
>>>>> I haven't noticed any problems but it may be an OS related issue.
>>>>>
>>>>> There are a few test files here that might help you narrow down the problem:
>>>>> http://www.dayala.co.uk/mozile/test/Mode/index.html
>>>>>
>>>>> I'm using Firefox 2.0 onWindows 98 with Mozile 0.6.31. As far as I can
>>>>> tell the basic caret movement through images is working, and editing and
>>>>> deleting images is working for me. There are a few obscure bugs in the
>>>>> eDOM related to images but you are not likely to run into them if you
>>>>> are just inserting the odd image here and there.
>>>>>
>>>>> I suggest you repeat your tests with the latest version, then let me
>>>>> know the OS you are using along with more details of the problems. Are
>>>>> there any errors being generated in the Firefox Error Console? Are the
>>>>> problems common across all modes of operation: HTML, XHTML and XML.
>>>>> Also it can help if you can put a test file online or email me a copy.
>>>>>
>>>>>
>>>>> What changed a while ago that might be a problem is how the
>>>>> -moz-user-select property works:
>>>>>
>>>>> .divEdit {
>>>>> -moz-user-modify: read-write; -moz-user-input: enabled;
>>>>> -moz-user-select: text;
>>>>> /*-moz-user-select: normal; doesn't work in Firefox1.5*/
>>>>> }
>>>>>
>>>>> My knowledge on what -moz-user-select currently does is a bit hazy.
>>>>>
>>>>> Max
>>>>>
>>>>>
>>>>> Athanaël Guitard wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I use since a few years Mozile with Firefox, and since a few month
>>>>>> it's impossible to use it correctly with images... It's impossible to
>>>>>> select an image in the editable area...
>>>>>>
>>>>>> Is it a known problem ? Is there a solution ?
>>>>>>
>>>>>> This problem seams to exists since Firefox 2.xx (Mozile > 0.6.28 I think)
>>>>>>
>>>>>> Thank for your enlightenment
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>> _______________________________________________
>>>> Mozile mailing list
>>>> Mozile at mozdev.org <mailto:Mozile at mozdev.org>
>>>> http://mozdev.org/mailman/listinfo/mozile
>>>>
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> Mozile mailing list
>>> Mozile at mozdev.org <mailto:Mozile at mozdev.org>
>>> http://mozdev.org/mailman/listinfo/mozile
>>>
>>>
>>>
>>>
>>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Mozile mailing list
>> Mozile at mozdev.org
>> http://mozdev.org/mailman/listinfo/mozile
>>
>>
> _______________________________________________
> Mozile mailing list
> Mozile at mozdev.org
> http://mozdev.org/mailman/listinfo/mozile
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/mozile/attachments/20070110/1065b974/attachment.html
More information about the Mozile
mailing list