gecko-dev/layout/reftests/bugs/508816-2-ref.html

20 строки
601 B
HTML
Исходник Обычный вид История

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body { padding-right: 100px; }
div.x1 { border: 1px solid purple; overflow-x: scroll; overflow-y: hidden; width: 300px; margin: 0 50px 0 0; padding: 0; }
div.x2 { height: 50px; }
span { display: inline-block; height: 50px; margin: 0; }
</style>
</head>
<body dir="rtl">
<div class="x1">
Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam This patch was generated by the command: find * -type f -exec sed -i -f ../mozpropsub {} \; in the root of the repository, with the file ../mozpropsub containing: s/-moz-padding-end\>/padding-inline-end/g s/-moz-padding-start\>/padding-inline-start/g s/-moz-margin-end\>/margin-inline-end/g s/-moz-margin-start\>/margin-inline-start/g s/-moz-border-end\>/border-inline-end/g s/-moz-border-end-color\>/border-inline-end-color/g s/-moz-border-end-style\>/border-inline-end-style/g s/-moz-border-end-width\>/border-inline-end-width/g s/-moz-border-start\>/border-inline-start/g s/-moz-border-start-color\>/border-inline-start-color/g s/-moz-border-start-style\>/border-inline-start-style/g s/-moz-border-start-width\>/border-inline-start-width/g s/\<MozPaddingEnd\>/paddingInlineEnd/g s/\<MozPaddingStart\>/paddingInlineStart/g s/\<MozMarginEnd\>/marginInlineEnd/g s/\<MozMarginStart\>/marginInlineStart/g s/\<MozBorderEnd\>/borderInlineEnd/g s/\<MozBorderEndColor\>/borderInlineEndColor/g s/\<MozBorderEndStyle\>/borderInlineEndStyle/g s/\<MozBorderEndWidth\>/borderInlineEndWidth/g s/\<MozBorderStart\>/borderInlineStart/g s/\<MozBorderStartColor\>/borderInlineStartColor/g s/\<MozBorderStartStyle\>/borderInlineStartStyle/g s/\<MozBorderStartWidth\>/borderInlineStartWidth/g The diffs for the following files: layout/style/nsCSSPropAliasList.h layout/style/test/property_database.js layout/style/test/test_value_computation.html were then manually removed from the patch. MozReview-Commit-ID: 8fbYnlZcn9U
2016-05-14 10:00:18 +03:00
<span style="background: green; width: 50px; position: fixed; margin-inline-start: -50px"></span>
<div class="x2">
<span style="background: yellow; width: 400px; overflow: hidden"></span>
</div>
</div>
</body>
</html>