Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.1.3, 3.2
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_31_STABLE, MOODLE_32_STABLE
-
wip-mdl-57380
-
Description
With old chrome 51.0 Atto adds a span in list, so don't expect <ul><li>. Following behat is failing.
001 Scenario: Make a list from some text # /var/www/html/moodle/lib/editor/atto/plugins/orderedlist/tests/behat/orderedlist.feature:6
|
Then I should see "<ol><li>Have you heard the news everyone's talking" # /var/www/html/moodle/lib/editor/atto/plugins/orderedlist/tests/behat/orderedlist.feature:19
|
"<ol><li>Have you heard the news everyone's talking" text was not found in the page (Behat\Mink\Exception\ExpectationException)
|
|
002 Scenario: Make a list from some text # /var/www/html/moodle/lib/editor/atto/plugins/unorderedlist/tests/behat/unorderedlist.feature:6
|
Then I should see "<ul><li>Things, dogs, clogs" # /var/www/html/moodle/lib/editor/atto/plugins/unorderedlist/tests/behat/unorderedlist.feature:19
|
"<ul><li>Things, dogs, clogs" text was not found in the page (Behat\Mink\Exception\ExpectationException)
|
On chrome 51.0 if you test above it adds a span and create list as
<ol><li><span style="font-size: 1rem; line-height: 1.25;">Things, dogs, clogs, they're awesome</span><br></li><li><span style="font-size: 1rem; line-height: 1.25;">Rocks, clocks, and socks, they're awesome</span><br></li><li><span style="font-size: 1rem; line-height: 1.25;">Figs, and wigs, and twigs, that's awesome</span><br></li><li><span style="font-size: 1rem; line-height: 1.25;">Everything you see or think or say is awesome</span><br></li></ol>