Skip to content

[css-logical-1] Order of inheritance vs. mapping in logical properties #3029

@fantasai

Description

@fantasai

Example from @FremyCompany:

  <div style="margin-left: 10px; margin-inline-start: 20px; direction: rtl">
    <div style="margin-right: inherit; margin-inline-start: inherit; direction: ltr"></div>
  </div>

It's clear that margin-right inherits 20px from the computed margin-right value on the parent. What about margin-inline-start, though? Does it inherit 10px or 20px?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    FTF agenda items

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions