mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
b8fee8f71c
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
44 lines
737 B
HTML
44 lines
737 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<style type="text/css">
|
|
.multicol {
|
|
margin: 1em;
|
|
border: solid silver;
|
|
width: 300px;
|
|
column-width: 100px;
|
|
column-gap: 0;
|
|
height: 100px;
|
|
}
|
|
|
|
.float {
|
|
float: right;
|
|
width: 15px;
|
|
background: aqua;
|
|
height: 250px;
|
|
}
|
|
.L {
|
|
float: left;
|
|
}
|
|
|
|
.container {
|
|
width: 100%;
|
|
}
|
|
|
|
.clear {
|
|
border-bottom: solid orange;
|
|
background: red;
|
|
}
|
|
</style>
|
|
|
|
<p>The orange line should be halfway down the third column
|
|
(immediately after the end of the aqua lines).
|
|
|
|
<div class="multicol">
|
|
<div class="container">
|
|
<div class="float L"></div>
|
|
<div class="float R"></div>
|
|
<br clear="all">
|
|
</div>
|
|
<div class="clear">
|
|
</div>
|
|
</div>
|