commit | 9920ac7bedf86b0d649464b342544cf77389a805 | [log] [tgz] |
---|---|---|
author | Dan Beam <dbeam@chromium.org> | Wed Jan 16 04:21:55 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 16 04:21:55 2019 |
tree | f28cfa4e992859f50ba621aa8b12d487ec5e8026 | |
parent | 4df0a1b146afe0fca54311b73fdfc97e6689fd86 [diff] |
web_dev_style: discourage CSS *-left/right properties and values Instead, suggest equivalent *-start/end values that automatically flip in RTL. For example, if the presubmit finds something along the lines of: margin-left: 5px; It'll flag it and encourage the directionally-aware: margin-inline-start: 5px; Unless annotated with: margin-left: 5px; /* csschecker-disable-line left-right */ for code that's truly direction agnostic. R=dpapad@chromium.org BUG=921226 Change-Id: If649c4eed125af4dfd5cb8b3284dc1c900230847 Reviewed-on: https://chromium-review.googlesource.com/c/1407787 Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Dan Beam <dbeam@chromium.org> Cr-Commit-Position: refs/heads/master@{#623096}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .