Commit f03f8851 authored by Esmael El-Moslimany's avatar Esmael El-Moslimany Committed by Commit Bot

WebUI Discards: set the hard-coded "dir" attribute on body

The "dir" attribute for <html> is not being respected when the browser
is using an RTL language.

Bug: 1049541
Change-Id: I6530cba90b05a18be277937644c6188237b813dd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2042433Reviewed-by: default avatarSigurður Ásgeirsson <siggi@chromium.org>
Commit-Queue: Esmael Elmoslimany <aee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#744815}
parent 1a51c144
...@@ -30,7 +30,7 @@ general use and is not localized.--> ...@@ -30,7 +30,7 @@ general use and is not localized.-->
} }
</style> </style>
</head> </head>
<body> <body dir="ltr">
<discards-main></discards-main> <discards-main></discards-main>
<script type="module" src="discards_main.js"></script> <script type="module" src="discards_main.js"></script>
</body> </body>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment