Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!-- This is an autogen file. Run support/generate_object_view_box_tests.py to update -->
<!DOCTYPE html>
<html>
<title>CSS object-view-box with vertical writing mode</title>
<link rel="author" href="mailto:khushalsagar@chromium.org">
<link rel="match" href="object-view-box-writing-mode-canvas-ref.html">
<script src="support/testHelper.js"></script>
<body>
<style>
html {
writing-mode: vertical-lr;
}
.view_box_subset {
object-view-box: inset(25px 0px 0px 0px);
object-fit: fill;
background-color: black;
}
</style>
<canvas class="view_box_subset"></canvas>
</body>
<script>
populateElements("");
</script>