mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +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
48 lines
807 B
HTML
48 lines
807 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
|
|
<style type="text/css">
|
|
|
|
.container {
|
|
position: relative;
|
|
}
|
|
#colset {
|
|
column-count: 3;
|
|
column-gap: 0;
|
|
border: silver 2pt;
|
|
border-style: none solid;
|
|
}
|
|
.b1 {
|
|
position: absolute;
|
|
height: 336pt;
|
|
margin-left: 20pt;
|
|
}
|
|
.b2 {
|
|
position: absolute;
|
|
height: 192pt;
|
|
width: 25pt;
|
|
margin-left: 50pt;
|
|
}
|
|
|
|
</style>
|
|
|
|
<script type="text/javascript">
|
|
|
|
function boom()
|
|
{
|
|
newDiv = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
|
|
newDiv.setAttribute("class", "b1");
|
|
document.getElementById("f").appendChild(newDiv);
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body onload="boom();">
|
|
|
|
<div id="colset"><div class="container"><div class="b2"></div><div id="f"></div></div></div>
|
|
|
|
</body>
|
|
</html>
|