<!DOCTYPE html>
<html>
<head>
<link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
<link rel="help" href="https://drafts.csswg.org/css-box-4/#margin-trim-block">
<meta name="assert" content="Float that overconstrains a line box should be able to trim its margins and no longer overconstrain in rtl direction">
<style>
container {
    display: block;
    direction: rtl;
    border: 1px solid black;
    inline-size: 100px;
    font-family: monospace;
    font-size: 10px;
    margin-trim: in