Changes between Initial Version and Version 2 of Ticket #667


Ignore:
Timestamp:
Oct 3, 2007, 3:27:01 PM (12 years ago)
Author:
Frederico Caldeira Knabben
Comment:

Reformatted description for readability.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #667

    • Property Reporter changed from Martin Kou to anonymous
  • Ticket #667 – Description

    initial v2  
    1 BUG in combination of a hyperlink and a predefined style
    2 
    31Following situation:
    42
    53Prerequisites
    6 - developer runtime (uncompiled scripts)
    7 - fckstyles.xml
     4 * developer runtime (uncompiled scripts)
     5 * fckstyles.xml
     6
     7{{{
    88<Style name="Fat link" element="a">
    9 <Attribute name="class"
    10 value="aBold" />
     9    <Attribute name="class" value="aBold" />
    1110</Style>
     11}}}
    1212
    13 a) there is nothing more in the editor then 2 plain words
    14 without any formatting
    15 b) select one word and create a hyperlink using
    16 toolbar "Insert/Edit link"
    17 c) enter some target as usual, the hyperlink is created
    18 d) now while the text is still selected choose the "Fat
    19 link" from the toolbar style pulldown menu
     13 1. there is nothing more in the editor then 2 plain words without any formatting
     14 2. select one word and create a hyperlink using toolbar "Insert/Edit link"
     15 3. enter some target as usual, the hyperlink is created
     16 4. now while the text is still selected choose the "Fat link" from the toolbar style pulldown menu
    2017
    21 IE behavior
     18'''IE behavior'''
    2219
    2320crashes with
    2421
     22{{{
    2523Unknown runtime error
    2624Line 28 in fckstyledef_ie.js > e.innerHTML =
    2725oRange.htmlText ;
    2826May be it is a IE bug...
     27}}}
    2928
    30 FF behaviour
     29'''FF behaviour'''
    3130
    3231Firefox has 2 conditions
    3332
    34 1 - if the text is still selected it messes up the code
     33 1. if the text is still selected it messes up the code
     34
     35{{{
    3536New document -> New <a class="aBold"><a
    3637href="bala.ccc/">document</a></a><a
    3738href="bala.ccc/" />
     39}}}
    3840
    39 2 - if the word has been re-selected it is ok (problem
    40 with selection cache?)
     41 2. if the word has been re-selected it is ok (problem with selection cache?)
    4142
    42 In both browsers if the style choise is done first, there
    43 are no problems.
     43In both browsers if the style choise is done first, there are no problems.
    4444
    45 This problem is not as big in new documents as in old
    46 stuff where hyperlinks exist and have to be "re-styled"
    47 od modified.
     45This problem is not as big in new documents as in old stuff where hyperlinks exist and have to be "re-styled" or modified.
    4846
    4947Best regards
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy