[Webkit-unassigned] [Bug 127242] Unwanted spans inserted in contentEditable elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 2 18:43:03 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=127242

Ahmad Saleem <ahmad.saleem792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ahmad.saleem792 at gmail.com

--- Comment #2 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
*** STEP 1 ****

> Safari 16.1


            <ul>
                <li>list item 1</li>
                <li>list item 2</li>
                <li>list item 3</li>
            <li><span style="color: rgb(136, 136, 136); font-size: 16px; font-family: Arial, Helvetica, sans-serif;">Paragraph 1</span><br></li><li><span style="color: rgb(136, 136, 136); font-size: 16px; font-family: Arial, Helvetica, sans-serif;">Paragraph 2</span><br></li><li><span style="color: rgb(136, 136, 136); font-size: 16px; font-family: Arial, Helvetica, sans-serif;">Paragraph 3</span><br></li></ul>

> Chrome Canary 110

<ul>
                <li>list item 1</li>
                <li>list item 2</li>
                <li>list item 3</li>
<li>Paragraph 1</li><li>Paragraph 2</li><li><span class="special">Paragraph 3</span></li></ul>

> Firefox Nightly 109

ul>
                <li>list item 1</li>
                <li>list item 2</li>
                <li>list item 3</li>
            </ul>
            <ul><li>Paragraph 1</li><li>    
            <br></li><li>Paragraph 2</li><li>
            <br></li><li><span class="special">Paragraph 3</span></li></ul>

__________

STEP 1 - Chrome and Firefox are matching each other except Firefox is adding <br> extra, which don't make any sense visually as well.

_____________

*** STEP 2 ****

> Safari 16.1


            <ul>
                <li>list item 1</li>
                <li>list item 2</li>
                <li>list item 3</li>
            </ul>
            <p><ol><li><span style="font-size: 16px; font-family: Arial, Helvetica, sans-serif;">Paragraph 1</span><br></li><li><span style="font-size: 16px; font-family: Arial, Helvetica, sans-serif;">Paragraph 2</span><br></li><li><span style="font-size: 16px; font-family: Arial, Helvetica, sans-serif;">Paragraph 3</span><br></li></ol></p>

> Chrome Canary 110

<ul>
                <li>list item 1</li>
                <li>list item 2</li>
                <li>list item 3</li>
            </ul>
            <p><ol><li>Paragraph 1</li><li>Paragraph 2</li><li><span class="special">Paragraph 3</span><br></li></ol></p>

> Firefox Nightly 108


            <ul>
                <li>list item 1</li>
                <li>list item 2</li>
                <li>list item 3</li>
            </ul>
            <ol><li>Paragraph 1</li><li>    
            <br></li><li>Paragraph 2</li><li>
            <br></li><li><span class="special">Paragraph 3</span></li></ol>

_____________

STEP 2 - Chrome and Firefox are matching each other except Firefox is adding <br> extra, which don't make any sense visually as well.

_____________

*** STEP 3 ****

> Safari 16.1

  <ul>
                <li>list item 1</li>
                <li>list item 2</li>
                <li>list item 3</li>
            </ul>
            <p>Paragraph 1</p>    
            <p>Paragraph 2</p>
            <p><ol><li><span style="font-size: 16px; font-family: Arial, Helvetica, sans-serif;">Paragraph 3</span><br></li></ol></p>

> Chrome Canary 110

<ul>
                <li>list item 1</li>
                <li>list item 2</li>
                <li>list item 3</li>
            </ul>
            <p>Paragraph 1</p>    
            <p>Paragraph 2</p>
            <p><ol><li><span class="special">Paragraph 3</span><br></li></ol></p>

> Firefox Nightly 109:

    <ul>
                <li>list item 1</li>
                <li>list item 2</li>
                <li>list item 3</li>
            </ul>
            <p>Paragraph 1</p>    
            <p>Paragraph 2</p>
            <ol><li><span class="special">Paragraph 3</span></li></ol>
______

STEP 2 - Chrome and Firefox are matching each other except Firefox is not adding <p> extra to last one.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221203/84c603bd/attachment-0001.htm>


More information about the webkit-unassigned mailing list