fune/layout/generic/test/test_bug392923.html
Ting-Yu Lin b8fee8f71c Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert
This patch is generated by the following script:

```
function remove_column_prefix() {
    echo "Renaming $1 to $2"
    find .\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.html" -or\
            -name "*.xhtml" -or\
            -name "*.xht" -or\
            -name "*.xul" -or\
            -name "*.xml" -or\
            -name "*.css"  \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}

remove_column_prefix "-moz-columns" "columns"
remove_column_prefix "-moz-column-width" "column-width"
remove_column_prefix "-moz-column-count" "column-count"
remove_column_prefix "-moz-column-fill" "column-fill"
remove_column_prefix "-moz-column-gap" "column-gap"
remove_column_prefix "-moz-column-rule" "column-rule"
remove_column_prefix "-moz-column-rule-width" "column-rule-width"
remove_column_prefix "-moz-column-rule-color" "column-rule-color"
remove_column_prefix "-moz-column-rule-style" "column-rule-style"

```

Note: after running the above script, I reverted one minor change to the
file multicol-nested-column-rule-001.xht in the theoretically read-only
directory layout/reftests/w3c-css/received/css-multicol/.

Differential Revision: https://phabricator.services.mozilla.com/D44870

--HG--
extra : moz-landing-system : lando
2019-09-05 21:37:32 +00:00

41 lines
1.3 KiB
HTML

<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=392923
-->
<head>
<title>Test for Bug 392923</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
<style>p { column-count: 2; }
</style>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=392923">Mozilla Bug 392923</a>
<div id="content">
<p>&#x5E2;&#x5D1;&#x5E8;&#x5D9;&#x5EA; Lorem ipsum dolor sit
amet, consectetuer adipiscing elit. Maecenas volutpat. Duis purus lectus,
hendrerit vitae, blandit ac, tristique quis, neque. Cras a nisl. Cum sociis
natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. In
consectetuer lorem sit amet quam facilisis mollis. Etiam dolor. Donec
elementum leo in ligula. Duis lacus diam, sodales vitae, rutrum a,
feugiat non, tortor. Maecenas cursus lobortis diam. Mauris in pede eu
purus ultricies vehicula. &#x5E2;&#x5D1;&#x5E8;&#x5D9;&#x5EA;</p>
</div>
<pre id="test">
<script class="testbody" type="text/javascript">
function test()
{
/** Test for Bug 392923 **/
ok(true, "Should not crash");
SimpleTest.finish();
}
SimpleTest.requestFlakyTimeout("untriaged");
setTimeout(test, 500);
SimpleTest.waitForExplicitFinish();
</script>
</pre>
</body>
</html>